Meh and/or Gah...

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
User avatar
thalamus
Baaaaaaa!
Baaaaaaa!
Posts: 5325
Joined: Mon Jun 30, 2003 10:15 am 0
Yahoo Messenger: thelizard_uk@yahoo.com
Location: Canada
Contact:

Meh and/or Gah...

Post by thalamus »

I'm trying to compile HL2 code (using the Source SDK) and for some reason, the solutions aren't building properly using my (free) MS C++ 2005 Express program.

Valve suggest MS Visual Studio 2003 will do the trick, but I can't find a way to buy this online quickly.

Any suggestions would be extremely useful - I'm new to both Source and C++, so everything is a mystery at the mo...

Edit: As it turns out, they're "working" on getting HL2 compiling with the Express editions. What's the difference, though? Why won't a CPP file compile in one program but will in another?
"We don't have a great war in our generation, or a great depression, but we do, we have a great war of the spirit. We have a great revolution against the culture. The great depression is ourlives. We have a spiritual depression." - Tyler Durden
StepFather
Baa!
Baa!
Posts: 47
Joined: Sun Oct 30, 2005 5:57 pm 0
Location: SPACE

Re: Meh and/or Gah...

Post by StepFather »

thalamus wrote:I'm trying to compile HL2 code (using the Source SDK) and for some reason, the solutions aren't building properly using my (free) MS C++ 2005 Express program.

Valve suggest MS Visual Studio 2003 will do the trick, but I can't find a way to buy this online quickly.

Any suggestions would be extremely useful - I'm new to both Source and C++, so everything is a mystery at the mo...

Edit: As it turns out, they're "working" on getting HL2 compiling with the Express editions. What's the difference, though? Why won't a CPP file compile in one program but will in another?
If you need a cheap MS VS 2003 how about this one? Just randomly searched for it; it's the version I am using and it's awesome in my opinion!:
http://cgi.ebay.com/MS-Deluxe-Learning- ... dZViewItem
User avatar
ravuya
Baaaaaa!
Baaaaaa!
Posts: 4801
Joined: Fri Sep 12, 2003 4:17 am 0
XBL Gamertag: ravuya
PSN: ravuya
Yahoo Messenger: mr_seigen
Location: Inside your computer
Contact:

Re: Meh and/or Gah...

Post by ravuya »

thalamus wrote:Edit: As it turns out, they're "working" on getting HL2 compiling with the Express editions. What's the difference, though? Why won't a CPP file compile in one program but will in another?
Apparently, they made a couple of changes in the C++ compiler for VS2005.
User avatar
Flabio
Baaaaaaa!
Baaaaaaa!
Posts: 8717
Joined: Wed Mar 03, 2004 12:37 pm 0
Location: Guildford

Re: Meh and/or Gah...

Post by Flabio »

thalamus wrote:Why won't a CPP file compile in one program but will in another?
If the earlier one is less strict in enforcing the C++ standard, it will let things past that the newer one won't.

There were similar issues moving from the previous devstudio to 2003.

Mainly in the way in which the compiler dealt with templates.
Post Reply