Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: VS2008 link problems: ContainerBase

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: VS2008 link problems: ContainerBase


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Re: VS2008 link problems: ContainerBase
  • Date: Fri, 02 May 2008 18:15:21 +0200

Hi Wesley,

I am not aware of a dependence of CGAL itself. Some demos use
boost program_options to deal with input from the command line.

andreas


Wesley Smith wrote:
What libs from Boost are required to be compiled? I couldn't find
anything related to ContainerBase in the Boost libs. I don't want to
compile the entire thing since it's so massive. I guess what I'm
asking is what libs do you link against in your VC2008 projects?

thanks again,
wes

On Fri, May 2, 2008 at 6:26 AM, Ophir Setter
<>
wrote:
Did you compile boost for vc 9.0? I got the _Container_base error using
boost not compile in vc 9.0 and not because of CGAL. Anyway, I now run CGAL
and boost on VC9 with no problems.



On Fri, May 2, 2008 at 10:56 AM, Wesley Smith
<>
wrote:

Hi Ophir,
Many Thanks! I'll try this out and get back to the list. I had
though I had compiled CGAL with vc9, but I also have previous version
of vc on my system, so it's entirely possible that the build process
used on of those instead. Hopefully that's the case.

wes




On Fri, May 2, 2008 at 12:34 AM, Ophir Setter
<>
wrote:
There is a need to compile all the libraries in vc 9.0
I've done this already. Check out:

http://acg.cs.tau.ac.il/cgal-at-tau/installing-cgal-and-related-programs-on-windows/
You'll be the beta user of this page and libraries.
Don't forget to get vc 9.0 boost.

I hope that this will solve your problems,
Ophir



On 5/1/08, Wesley Smith
<>
wrote:


Alright,
I'm still having massive issues with CGAL under VS2008. I tried
compiling:
C:\Program Files\CGAL-3.3.1\examples\Triangulation_3\simple.cpp

I get these errors:

1>Linking...

1>cgal-vc80-mt-gd.lib(MP_Float.obj) : error LNK2019: unresolved
external symbol "__declspec(dllimport) public: void __thiscall
std::_Container_base::_Orphan_all(void)const "
(__imp_?_Orphan_all@_Container_base@std@@QBEXXZ)
referenced in
function "public: class std::vector<short,class std::allocator<short>
& __thiscall std::vector<short,class std::allocator<short>
::operator=(class std::vector<short,class std::allocator<short> >
const &)"
(??4?$vector@FV?$allocator@F@std@@@std@@QAEAAV01@ABV01@@Z)
1>cgal-vc80-mt-gd.lib(MP_Float.obj) : error LNK2019: unresolved
external symbol "__declspec(dllimport) public: __thiscall
std::_Container_base::~_Container_base(void)"
(__imp_??1_Container_base@std@@QAE@XZ)
referenced in function "public:
__thiscall std::_Vector_val<short,class std::allocator<short>
::~_Vector_val<short,class std::allocator<short> >(void)"
(??1?$_Vector_val@FV?$allocator@F@std@@@std@@QAE@XZ)
1>cgal-vc80-mt-gd.lib(MP_Float.obj) : error LNK2019: unresolved
external symbol "__declspec(dllimport) public: __thiscall
std::_Container_base::_Container_base(void)"
(__imp_??0_Container_base@std@@QAE@XZ)
referenced in function
"protected: __thiscall std::_Vector_val<short,class
std::allocator<short> >::_Vector_val<short,class std::allocator<short>
(class std::allocator<short>)"
(??0?$_Vector_val@FV?$allocator@F@std@@@std@@IAE@V?$allocator@F@1@@Z)

1>C:\luaAV\trunk\modules\space\windows\Debug\test_cgal.exe : fatal
error LNK1120: 3 unresolved externals


These are my linker libs:
"C:\Program Files\CGAL-3.3.1\lib\CGALcore++-vc80-mt-gd.lib"
"C:\Program Files\CGAL-3.3.1\lib\cgal-vc80-mt-gd.lib"
"C:\Program Files\CGAL-3.3.1\auxiliary\gmp\lib\gmp-vc80-mt-gd.lib"
"C:\Program Files\CGAL-3.3.1\auxiliary\gmp\lib\mpfr-vc80-mt-gd.lib"
"C:\Program Files\CGAL-3.3.1\auxiliary\taucs\lib\liblapack.lib"


I can't think of anything I'm missing. Has no one come across this
symbol before???

thanks,
wes

--

You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss


--



You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss






Archive powered by MHonArc 2.6.16.

Top of Page