Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Another boring linking question

Subject: CGAL users discussion list

List archive

[cgal-discuss] Another boring linking question


Chronological Thread 
  • From: Rhys D <>
  • To:
  • Subject: [cgal-discuss] Another boring linking question
  • Date: Wed, 23 Jan 2013 16:01:14 +1300

Hi,

I have just started with CGAL and can't get any of the demos to compile.

I am using Boost 1.51

Here is the verbose VC++ error
You can see that it is searching in what seems to me to be the correct lib file but is still failing.

My environment:

Windows 7 x64
Visual Studio 2010
Boost 1.51 - 64 downloaded from here: http://www.boostpro.com/download/
CGAL-4.1

I have reinstalled everything from scratch but still keep coming up against the same error.
I am building Release x64. at all steps I have chosen 

Any ideas?

Rhys.

==============================

1>      Searching C:\dev\CGAL-4.1-static\CGAL-4.1\build\lib\Release\CGAL-vc100-mt-4.1.lib:
1>      Searching C:\dev\boost_1_51\lib\libboost_thread-vc100-mt-1_51.lib:
1>      Searching C:\dev\boost_1_51\lib\libboost_system-vc100-mt-1_51.lib:
1>      Searching C:\dev\boost_1_51\lib\libboost_date_time-vc100-mt-1_51.lib:
1>      Searching C:\dev\boost_1_51\lib\libboost_chrono-vc100-mt-1_51.lib:
1>      Searching C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64\MSVCRT.lib:
1>      Searching C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64\OLDNAMES.lib:
1>  
1>  Finished searching libraries
1>  
1>  Finished pass 1
1>  
1>nntest.obj : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAAEBVerror_category@12@XZ)
1>nntest.obj : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ)
1>C:\dev\tests\cgal_nn_test\nntest\x64\Release\nntest.exe : fatal error LNK1120: 2 unresolved externals
1>

================================



Archive powered by MHonArc 2.6.18.

Top of Page