Talk:Compiling under VS2008: Difference between revisions
Line 32: | Line 32: | ||
I got this error | I got this error | ||
C:\vs9\vc\include\intrin.h(847) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed | C:\vs9\vc\include\intrin.h(847) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed | ||
C:\vs9\vc\include\intrin.h(847) : see declaration of '_interlockedbittestandset' | C:\vs9\vc\include\intrin.h(847) : see declaration of '_interlockedbittestandset' | ||
C:\vs9\vc\include\intrin.h(848) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed | C:\vs9\vc\include\intrin.h(848) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed | ||
C:\vs9\vc\include\intrin.h(848) : see declaration of '_interlockedbittestandreset' | C:\vs9\vc\include\intrin.h(848) : see declaration of '_interlockedbittestandreset' | ||
*I second this. I got it when trying to compile Orange Box code. It's very annoying >:(. Please find a way to fix it. --[[User:Kohan|Kohan]] 13:51, 15 Mar 2008 (PDT) | *I second this. I got it when trying to compile Orange Box code. It's very annoying >:(. Please find a way to fix it. --[[User:Kohan|Kohan]] 13:51, 15 Mar 2008 (PDT) |
Revision as of 08:43, 19 March 2008
No need for the document to be signed. Conclusion has been removed due to irrelevance. - jsynnott
Compiling in Debug mode
I always thought you shouldn't ever compile in Debug? Did someone fiddle with the text? —Unsigned comment added by Fabbecool (talk • contribs) Always sign your posts with four tildes (~~~~)
- I extracted your own fiddle (the above) from the article and moved it here. The wiki markup for comments is "<!-- comment -->"; starting a line with "//" doesn't hide it. --Tourorist 07:45, 13 Feb 2008 (PST)
Trade of words?
If you are using the Orange box source code, you will need to copy Game_HL2MP-2005.sln, game\client\server_hl2mp-2005.vcproj and game\server\client_hl2mp-2005.vcproj and change the 2005 to 2008. --Durub 20:23, 16 Feb 2008 (PST)
- At 15:57, 19 Feb 2008 (PST) Csteinhoff suggested:
If you are using the Orange box source code, you will need to copy Game_HL2MP-2005.sln, game\client\client_hl2mp-2005.vcproj and game\server\server_hl2mp-2005.vcproj and change the 2005 to 2008.
--Etset 16:44, 19 Feb 2008 (PST)
Check out this Bug
If you use Visual Studio Express 2008 you will need to check out this bug report......
http://developer.valvesoftware.com/cgi-bin/bugzilla/show_bug.cgi?id=214
I contains a fix that you will need to finish the client compile. --Csteinhoff 19:13, 20 Feb 2008 (PST)
- This bug exists for me, but the fix does not work. It generates 2520 errors. To fix the errors, you must remove this from the "Configuration Properties/Linker/Command Line" tab for Client_HL2:
/FORCE:MULTIPLE /NODEFAULTLIB:LIBCMT
Kflorence 13:43, 26 Feb 2008 (PST)
Compiler Error C2733
I got this error
C:\vs9\vc\include\intrin.h(847) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed C:\vs9\vc\include\intrin.h(847) : see declaration of '_interlockedbittestandset' C:\vs9\vc\include\intrin.h(848) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed C:\vs9\vc\include\intrin.h(848) : see declaration of '_interlockedbittestandreset'
- I second this. I got it when trying to compile Orange Box code. It's very annoying >:(. Please find a way to fix it. --Kohan 13:51, 15 Mar 2008 (PDT)
fixed.... Just comment lines
__MACHINEI(unsigned char _interlockedbittestandset(long volatile *a, long b))
__MACHINEI(unsigned char _interlockedbittestandreset(long volatile *a, long b))
in C:\vs9\vc\include\intrin.h and remove
/FORCE:MULTIPLE /NODEFAULTLIB:LIBCMT