|
|
|
|||||
|
vc 6 link error
I get this error:
LINK : fatal error LNK1104: cannot open file "stlport_vc6_static.lib" when I try to make a simple DLL with Visual C++ 6.0. I followed the installation directions for Tools->Options->Directories. I added /libpath to the project link options. I added ice.lib to the Object/Library Modules of Project Settings. What am I missing? Thanks, Mark
__________________
Mark E. Wilson Lead Programmer/Analyst Omega EP Project Laboratory for Laser Energetics (www.lle.rochester.edu) University of Rochester Rochester, NY 14623 |
|
|||||
|
I made the build verbose, and got:
Linking... Start Pass1 Processed /DEFAULTLIB:stlport_vc6_static.lib Processed /DEFAULTLIB:LIBCMTD Processed /DEFAULTLIB:OLDNAMES
__________________
Mark E. Wilson Lead Programmer/Analyst Omega EP Project Laboratory for Laser Energetics (www.lle.rochester.edu) University of Rochester Rochester, NY 14623 |
|
|||||
|
That worked. Thanks!
__________________
Mark E. Wilson Lead Programmer/Analyst Omega EP Project Laboratory for Laser Energetics (www.lle.rochester.edu) University of Rochester Rochester, NY 14623 |
|
|||||
|
Sigh... Now I get:
c:\ice-3.1.0-vc60\include\stlport\stl\debug\_debug.h(166) : warning C4005: '_STLP_DEBUG_CHECK' : macro redefinition c:\ice-3.1.0-vc60\include\stlport\stl\_config.h(375) : see previous definition of '_STLP_DEBUG_CHECK' c:\ice-3.1.0-vc60\include\stlport\stl\debug\_debug.h(167) : warning C4005: '_STLP_DEBUG_DO' : macro redefinition c:\ice-3.1.0-vc60\include\stlport\stl\_config.h(376) : see previous definition of '_STLP_DEBUG_DO' c:\ice-3.1.0-vc60\include\stlport\stl\debug\_vector.h(277) : error C2953: 'vector' : template class has already been defined c:\ice-3.1.0-vc60\include\stlport\stl\debug\_vector.h(277) : see declaration of 'vector' c:\ice-3.1.0-vc60\include\iceutil\mutex.h(141) : error C2065: 'TryEnterCriticalSection' : undeclared identifier c:\ice-3.1.0-vc60\include\ice\proxy.h(443) : error C2027: use of undefined type 'Object' c:\ice-3.1.0-vc60\include\ice\objectf.h(18) : see declaration of 'Object' c:\ice-3.1.0-vc60\include\ice\proxy.h(443) : error C2039: 'ice_facet' : is not a member of 'ProxyHandle<class Ice::Object>' Error executing cl.exe. I set Tools->Options->Directories->Include so that the Ice stl include directory is first... Sorry for the questions, I'm a vi and make Unix guy forced to work temporarily in the Windows world (gak). Is there a guide at www.zeroc.com for building Windows apps? Thanks, Mark
__________________
Mark E. Wilson Lead Programmer/Analyst Omega EP Project Laboratory for Laser Energetics (www.lle.rochester.edu) University of Rochester Rochester, NY 14623 |
|
||||||
|
Perhaps it's an include order problem? If you do a search for "_STLP_DEBUG_CHECK" in this message board you get a few hits where people have had similar or related problems.
With respect to a guide for creating Windows apps, I recommend looking at the Ice MFC demo. You might also consider checking out the "Integrating Ice with a GUI" articles in the ZeroC newsletter. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Purify Link error | joel vennin | Help Center | 5 | 08-07-2006 05:36 AM |
| Ice Php 1.0.2 link error | fengxb | Help Center | 12 | 03-09-2004 01:08 AM |
| dynamic link error | diddek | Bug Reports | 2 | 02-18-2004 04:16 PM |
| link error: error LNK2001: unresolved external symbol __imp___assert | gmueckl | Help Center | 2 | 09-03-2003 03:49 AM |
| link error with stl | simpley | Help Center | 11 | 09-02-2003 06:58 PM |