Archived
This forum has been archived. Please start a new discussion on GitHub.
how can i compile ice file in vc6 IDE ?
i have created a console project ,and followed the Printer example, i add all those files into my console project, but when i compile the compile, many error occured
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(187) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(187) : see declaration of 'InterlockedIncrement'
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(188) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(188) : see declaration of 'InterlockedDecrement'
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(189) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(189) : see declaration of 'InterlockedExchange'
c:\ice-3.0.0-vc60\include\ice\proxy.h(400) : error C2027: use of undefined type 'Object'
could anyone tell me how to compile it under vc6 ide, or i could only compile in command line?
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(187) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(187) : see declaration of 'InterlockedIncrement'
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(188) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(188) : see declaration of 'InterlockedDecrement'
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(189) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(189) : see declaration of 'InterlockedExchange'
c:\ice-3.0.0-vc60\include\ice\proxy.h(400) : error C2027: use of undefined type 'Object'
could anyone tell me how to compile it under vc6 ide, or i could only compile in command line?
0
Comments
-
Please see http://www.zeroc.com/vbulletin/showthread.php?t=1697 for information on our support policy.
Benoit.0 -
thanks,
it can compile now after i add _STLP_NEW_PLATFORM_SDK definition in my project setting
i'm using vc6 + sp6, winxp0