Subject: CGAL users discussion list
List archive
- From: Laurent Saboret <>
- To:
- Subject: Re: [cgal-discuss] some problems using poisson_reconstruction_example.cpp
- Date: Mon, 21 Nov 2011 09:53:49 +0100
Hi Adam,
The errors below mean that you must compile the application and all libraries
linked with it with the same runtime.
As far as I know, the Release target should use the Multithreaded Dynamic Dll
runtime (/MD) and the Debug target Debug Multithreaded Dynamic Dll runtime
(/MDd).
If you use CMake, the generated VisualC++ solutions will use the proper
runtimes. If you don't, you will have to set manually the runtime.
I recommend you to download TAUCS using CGAL Windows installer. This version
of the library is compiled with the proper runtime for CGAL.
Best regards,
Laurent Saboret
Le 18/11/2011 18:49, Adam Hopkins a écrit :
Hi CGAL users:
I am trying to run the example:
examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp
and I have the following compiled error (there are many, but I only will
include here some of them):
1> LIBCMT.LIB (crt0init.obj): error LNK2005: already defined in MSVCRTD.lib
___xc_z (cinitexe.obj)
1> LIBCMT.LIB (mlock.obj): error LNK2005: already defined in MSVCRTD.lib
__unlock (MSVCR100D.dll)
1> LIBCMT.LIB (mlock.obj): error LNK2005: already defined in MSVCRTD.lib
__lock (MSVCR100D.dll)
1> LIBCMT.LIB (winxfltr.obj): error LNK2005: already defined in MSVCRTD.lib
__XcptFilter (MSVCR100D.dll)
1> LIBCMT.LIB (crt0.obj): error LNK2005: already defined in MSVCRTD.lib
_mainCRTStartup (crtexe.obj)
1> LIBCMT.LIB (errmode.obj): error LNK2005: already defined in MSVCRTD.lib
___set_app_type (MSVCR100D.dll)
1> LINK: warning LNK4098: predeterminada'MSVCRTD library 'conflicts with
other libraries, library use / NODEFAULTLIB: library
1> LINK: warning LNK4098: predeterminada'LIBCMT library 'conflicts with other
libraries, library use / NODEFAULTLIB: library
I have change all the compiler options related with multithread process and
nothing at all. I also have installed and compiled the taucs library.
On the other hand, When I have varied the compiler options mentioned above I
have the following error:
LINK: fatal error LNK1104: can not open file 'CGAL_Core-VC100-mt-sgd.lib'
Please, some help
Adam.
- [cgal-discuss] some problems using poisson_reconstruction_example.cpp, Adam Hopkins, 11/18/2011
- Re: [cgal-discuss] some problems using poisson_reconstruction_example.cpp, Laurent Saboret, 11/21/2011
Archive powered by MHonArc 2.6.16.