compiling problems
Moderator: Moderators
-
- Posts: 5
- Joined: 2003-02-22 23:05
compiling problems
when i try to compile i get these errors everytime.
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(116) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(116) : see declaration of 'InterlockedIncrement'
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(117) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(117) : see declaration of 'InterlockedDecrement'
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(118) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(118) : see declaration of 'InterlockedExchange'
Error executing cl.exe.
DCPlusPlus.exe - 3 error(s), 0 warning(s)
i have no idea what they mean or how to get around them.
i am using
stlport-4.5.3-dcpp
DCPlusPlus-wtl7.0
DCPlusPlus-0.232-src
i am using the latest core sdk from microsoft and VC++ to compile.
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(116) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(116) : see declaration of 'InterlockedIncrement'
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(117) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(117) : see declaration of 'InterlockedDecrement'
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(118) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
h:\dc++ code\stlport-4.5.3-dcpp\stlport\stl\_threads.h(118) : see declaration of 'InterlockedExchange'
Error executing cl.exe.
DCPlusPlus.exe - 3 error(s), 0 warning(s)
i have no idea what they mean or how to get around them.
i am using
stlport-4.5.3-dcpp
DCPlusPlus-wtl7.0
DCPlusPlus-0.232-src
i am using the latest core sdk from microsoft and VC++ to compile.
-
- Posts: 5
- Joined: 2003-02-22 23:05
Look here for info about this problem and how to fix it.
Sarf
---
And the Lord spake unto Elvis, "Thou hast spoken against me Elvis, and I curse thee to have thy blue suede shoes trod upon for all time..."
Sarf
---
And the Lord spake unto Elvis, "Thou hast spoken against me Elvis, and I curse thee to have thy blue suede shoes trod upon for all time..."
-
- Posts: 5
- Joined: 2003-02-22 23:05
OK, then. This is how you do it (quickie version, not too much explaining).
Find the "include file"-directory list box in the GUI of your IDE.
Make sure to move the STLport directory so that it is FIRST in the listbox.
Make sure to mvoe the WTL directory so that it is SECOND in the listbox.
Putting the SDK directory THIRD would be a good choice.
Press OK, and try to compile.
Sarf
---
Never trust a cop with a rubber glove.
Find the "include file"-directory list box in the GUI of your IDE.
Make sure to move the STLport directory so that it is FIRST in the listbox.
Make sure to mvoe the WTL directory so that it is SECOND in the listbox.
Putting the SDK directory THIRD would be a good choice.
Press OK, and try to compile.
Sarf
---
Never trust a cop with a rubber glove.
-
- Posts: 5
- Joined: 2003-02-22 23:05
After you have moved the include paths around always do a make clean befor you try to compile it again else the moved include paths will only effect the files that have not yet been succesfully compiled. And i think the stl port have a new namedecoration to the std components than VC++ default uses. I experienced this when i recompiled my librarys and tryed take em with me to school....
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
They've gotta have the SDK somewhere for non IE browsers to download, or for admins to download and redistribute to all the programmers in the company... but I had no luck in finding it. Firing up IE and letting something auto-install is not my preferred modus operandi. (But they also missed the memo where they have pass all changes by me )Atomic Jo wrote:http://www.microsoft.com/msdownload/pla ... sdkupdate/