Boost logo

Boost Users :

From: Tjernstrom, Staffan (stjernstrom_at_[hidden])
Date: 2008-07-15 19:23:18


Folks,
 
Hopefully this is me having finger trouble, but I can't seem to get around the problem.
 
Boost 1.35 installed using the binary installer, all the vc8 flavours installed.
 
What happens is that I try to compile / link any of the unit test examples in Visual Studio 2005 Pro, for example the code at
 
http://www.boost.org/doc/libs/test/example/unit_test_example_05.cpp
 
I keep getting the LNK1561: entry point must be defined error. I know that it's looking for, and picking up, the libboost_unit_test_framework-vc80-mt-1_35.lib as if I remove the /LIBPATH from the link command options it compains that it cannot find that library.
 
I have my project settings set as follows:
 
Compiler:
/O2 /GL /I "C:\Program Files (x86)\boost\boost_1_35_0" /D "_MBCS" /FD /EHa /MD /Fo"Release\\" /Fd"Release\vc80.pdb" /W3 /nologo /c /Wp64 /Zi /TP /errorReport:prompt
 
Linker:
/OUT:"D:\staffan\Documents\Visual Studio 2005\Projects\CeT3x\test\AllUnitTests\Release\test_XOLibrary.exe" /NOLOGO /LIBPATH:"C:\Program Files (x86)\boost\boost_1_35_0\lib" /MANIFEST /MANIFESTFILE:"Release\test_XOLibrary.exe.intermediate.manifest" /DEBUG /PDB:"d:\staffan\Documents\Visual Studio 2005\Projects\CeT3x\test\AllUnitTests\release\test_XOLibrary.pdb" /OPT:REF /OPT:ICF /LTCG /MACHINE:X86 /ERRORREPORT:PROMPT kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
 
Any thoughts anyone?

Rgds

Staffan Tj.

Staffan Tjernström | Sr. Software Engineer - Market Data Systems | www.esignal.com <http://www.esignal.com/>
eSignal, Interactive Data Desktop Solutions (NYSE: IDC)
3955 Point Eden Way | Hayward, CA 94545-3720 | 510.723.1723 | FAX: 510.266.6100

 

DISCLAIMER: This message (including any files transmitted with it) may contain confidential and / or proprietary information, is the property of Interactive Data Corporation and / or its subsidiaries and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient's disclosure, copying, distribution or use of this message, or any attachments, is prohibited and may be unlawful.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net