Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] linker error in cgal example

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] linker error in cgal example


Chronological Thread 
  • From: tina rumi <>
  • To:
  • Subject: Re: [cgal-discuss] linker error in cgal example
  • Date: Fri, 11 Dec 2009 11:35:47 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QQ6agB6ArVmLGBh+Z/GYz0DmBW4aia6wBYe9aWXlEd2nQ9dx2RgmA941ZRO/0jMZt2 uadV2P5SP369qC7j3CEB9kZLyCRoLS5xrOJE7J2dYtyHNgmJ7ZfJC2GrOai+F2qausJH H2S70pdcu5pAYchLPsScITnS3vDizYqaQwhkM=

Hi Laurent,

Thanks for the tips. I recompile it with both CMake-generated and my project. Warning is gone but error is still there. I attached the new log.

Thank you,
Tina


2009/12/11 Laurent Saboret <>
Hi Tina,

Your problem is probably:
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
which indicates that you are trying to link your application with libraries compiled with a different runtime.

Please recompile your code (the application and any library you might use):
- with "Multi-threaded Debug DLL (/MDd)" for the Debug target and "Multi-threaded DLL (/MD)" for the Release target (as suggested by Pierre)
- without linking explicitly with GMP library in the project properties (CGAL should pick the proper libraries automatically)
- with CGAL_LIB_DIAGNOSTIC (as suggested by Laurent R.)

Note that the 2 first points are the default in CMake-generated VC++ projects.

If it still doesn't work, please post the new compilation log.

Best regards,

Laurent Saboret


tina rumi wrote:
Hi Laurent,
Thanks for the reply. I am using Microsoft Visual Studio 2008 version 9 and windows XP 64 . I am not sure that include service pack. I just installed it from CD.
I recompile it with the CGAL_LIB_DIAGNOSTIC and attached the log to this e-mail.

Thank you,
Tina


On Thu, Dec 10, 2009 at 6:11 PM, Laurent Rineau (GeometryFactory) <> wrote:
Le jeudi 10 décembre 2009 19:00:53, tina rumi a écrit :
> Hi Laurent,
>
> Thank you for your reply. I tried with the cmake too but still same errors.
> I even addressed all the lib files in my code individually and still have
> same error. I am guessing the problem is not finding library. maybe I am
> missing some of  the lib file.  I have following files :
>
> "C:\CGAL\CGAL-3.5\auxiliary\gmp\lib" :
> gmp-vc90-mt.lib
> gmp-vc90-mt-gd.lib
> gmp-vc90-mt-s.lib
> gmp-vc90-mt-sgd.lib
> mpfr-vc90-mt.lib
> mpfr-vc90-mt-gd.lib
> mpfr-vc90-mt-s.lib
> mpfr-vc90-mt-sgd.lib
>
> gmp-vc90-mt.dll
> gmp-vc90-mt-gd.dll
> mpfr-vc90-mt.dll
> mpfr-vc90-mt-gd.dll
>
> and in "C:\CGAL\CGAL-3.5\auxiliary\gmp\include" :
> gmp.h
> mpfr.h
>
> Is there any file missing? I really appreciate your help, I don't know what
> else should I do.

There is something strange. We need more information to understand. What
version of the MSVS C++ Compiler do you use? Have you installed MSVS service
packs?

Can you retry to compile the same program with the cpp macro
CGAL_LIB_DIAGNOSTIC defined, and give use the full compilation log (that should
then display the list of auto-linked CGAL libraries).

Same question for Pierre, who also seems to have problems with Visual and GMP.

--
Laurent Rineau, PhD
Release Manager of the CGAL Project       http://www.cgal.org/
R&D
Engineer at GeometryFactory           http://www.geometryfactory.com/

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





Build Log
  

Rebuild started: Project: cloud_points, Configuration: Debug|Win32

Command Lines
  
Creating temporary file "f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00000511723792.rsp" with contents

[

/Od /I "C:\Program Files (x86)\boost\boost_1_40" /I "C:\CGAL\CGAL-3.5\include" /I "C:\CGAL\CGAL-3.5\auxiliary\gmp\include" /I "C:\Qt\2009.04\qt\include\QtCore" /I "C:\Qt\2009.04\qt\include\QtGui" /I "C:\Qt\2009.04\qt\include" /I "C:\Qt\2009.04\qt\include\ActiveQt" /I "debug" /I "." /I "C:\Qt\2009.04\qt\mkspecs\win32-msvc2005" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /D "_AFXDLL" /Gm /EHsc /RTC1 /MD /Yu"stdafx.h" /Fp"Debug\cloud_points.pch" /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP .\cloud_points.cpp

]

Creating command line "cl.exe @f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00000511723792.rsp /nologo /errorReport:prompt"

Creating temporary file "f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00000611723792.rsp" with contents

[

/Od /I "C:\Program Files (x86)\boost\boost_1_40" /I "C:\CGAL\CGAL-3.5\include" /I "C:\CGAL\CGAL-3.5\auxiliary\gmp\include" /I "C:\Qt\2009.04\qt\include\QtCore" /I "C:\Qt\2009.04\qt\include\QtGui" /I "C:\Qt\2009.04\qt\include" /I "C:\Qt\2009.04\qt\include\ActiveQt" /I "debug" /I "." /I "C:\Qt\2009.04\qt\mkspecs\win32-msvc2005" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /D "_AFXDLL" /Gm /EHsc /RTC1 /MD /Yc"stdafx.h" /Fp"Debug\cloud_points.pch" /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP .\stdafx.cpp

]

Creating command line "cl.exe @f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00000611723792.rsp /nologo /errorReport:prompt"

Creating temporary file "f:\fingerprint\codes\cloud_points\cloud_points\Debug\TMP00000711723792.tmp" with contents

[

1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ".\\Debug\\cloud_points.exe.embed.manifest"

]

Creating command line "rc.exe /fo".\Debug\cloud_points.exe.embed.manifest.res" f:\fingerprint\codes\cloud_points\cloud_points\Debug\TMP00000711723792.tmp"

Creating temporary file "f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00000811723792.rsp" with contents

[

/OUT:"F:\fingerprint\codes\cloud_points\Debug\cloud_points.exe" /INCREMENTAL /MANIFEST /MANIFESTFILE:"Debug\cloud_points.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"F:\fingerprint\codes\cloud_points\Debug\cloud_points.pdb" /SUBSYSTEM:CONSOLE /DYNAMICBASE /NXCOMPAT /MACHINE:X86 C:\Qt\2009.04\qt\lib\qtmaind.lib C:\Qt\2009.04\qt\lib\QtGuid4.lib C:\Qt\2009.04\qt\lib\QtCored4.lib psapi.lib C:\CGAL\CGAL-3.5\auxiliary\gmp\lib\gmp-vc90-mt.lib C:\CGAL\CGAL-3.5\auxiliary\gmp\lib\gmp-vc90-mt-gd.lib C:\CGAL\CGAL-3.5\auxiliary\gmp\lib\gmp-vc90-mt-s.lib C:\CGAL\CGAL-3.5\auxiliary\gmp\lib\gmp-vc90-mt-sgd.lib C:\CGAL\CGAL-3.5\auxiliary\gmp\lib\mpfr-vc90-mt.lib C:\CGAL\CGAL-3.5\auxiliary\gmp\lib\mpfr-vc90-mt-gd.lib C:\CGAL\CGAL-3.5\auxiliary\gmp\lib\mpfr-vc90-mt-s.lib C:\CGAL\CGAL-3.5\auxiliary\gmp\lib\mpfr-vc90-mt-sgd.lib


".\Debug\cloud_points.obj"


".\Debug\stdafx.obj"


".\Debug\cloud_points.exe.embed.manifest.res"

]

Creating command line "link.exe @f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00000811723792.rsp /NOLOGO /ERRORREPORT:PROMPT"

Output Window
  
Compiling...

stdafx.cpp

Compiling...

cloud_points.cpp

Linking to lib file: CGAL-vc90-mt-gd.lib

Linking to lib file: gmp-vc90-mt-gd.lib

Linking to lib file: mpfr-vc90-mt-gd.lib

Linking to lib file: libtaucs-vc90-mt-gd.lib

Linking to lib file: libmetis-vc90-mt-gd.lib

Linking to lib file: liblapack.lib

Linking to lib file: libf77blas.lib

Linking to lib file: libcblas.lib

Linking to lib file: libatlas.lib

Linking to lib file: vcf2c-vc90-mt-gd.lib

c:\cgal\cgal-3.5\include\cgal\win32_exception.h(77) : warning C4535: calling _set_se_translator() requires /EHa

c:\cgal\cgal-3.5\include\cgal\taucs_solver.h(227) : warning C4996: 'tempnam': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _tempnam. See online help for details.

        c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdio.h(713) : see declaration of 'tempnam'

        c:\cgal\cgal-3.5\include\cgal\taucs_solver.h(190) : while compiling class template member function 'bool CGAL::Taucs_solver::factorize_ooc(void)'

        with

        [

            T=double

        ]

        c:\cgal\cgal-3.5\include\cgal\poisson_reconstruction_function.h(325) : see reference to class template instantiation 'CGAL::Taucs_solver' being compiled

        with

        [

            T=double

        ]

        c:\cgal\cgal-3.5\include\cgal\poisson_reconstruction_function.h(300) : while compiling class template member function 'bool CGAL::Poisson_reconstruction_function::solve_poisson(double)'

        with

        [

            Gt=Kernel

        ]

        f:\fingerprint\codes\cloud_points\cloud_points\cloud_points.cpp(209) : see reference to class template instantiation 'CGAL::Poisson_reconstruction_function' being compiled

        with

        [

            Gt=Kernel

        ]

c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(119) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'

        c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2550) : see declaration of 'std::copy'

        c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(115) : while compiling class template member function 'CGAL::Kd_tree_rectangle::Kd_tree_rectangle(const CGAL::Kd_tree_rectangle &)'

        with

        [

            SearchTraits=Tree_traits

        ]

        c:\cgal\cgal-3.5\include\cgal\kd_tree.h(254) : see reference to class template instantiation 'CGAL::Kd_tree_rectangle' being compiled

        with

        [

            SearchTraits=Tree_traits

        ]

        c:\cgal\cgal-3.5\include\cgal\kd_tree.h(252) : while compiling class template member function 'CGAL::Kd_tree::~Kd_tree(void)'

        with

        [

            SearchTraits=Tree_traits,

            Splitter_=CGAL::Sliding_midpoint,

            UseExtendedNode=CGAL::Tag_true

        ]

        c:\cgal\cgal-3.5\include\cgal\orthogonal_k_neighbor_search.h(52) : see reference to class template instantiation 'CGAL::Kd_tree' being compiled

        with

        [

            SearchTraits=Tree_traits,

            Splitter_=CGAL::Sliding_midpoint,

            UseExtendedNode=CGAL::Tag_true

        ]

        c:\cgal\cgal-3.5\include\cgal\compute_average_spacing.h(129) : see reference to class template instantiation 'CGAL::Orthogonal_k_neighbor_search' being compiled

        with

        [

            SearchTraits=Tree_traits

        ]

        c:\cgal\cgal-3.5\include\cgal\compute_average_spacing.h(183) : see reference to function template instantiation 'double CGAL::compute_average_spacing>(InputIterator,InputIterator,PointPMap,unsigned int,const Kernel &)' being compiled

        with

        [

            InputIterator=std::_Vector_iterator>,

            PointPMap=CGAL::Dereference_property_map>,

            CK=CGAL::Simple_cartesian,

            Kernel=CGAL::Filtered_kernel>

        ]

        c:\cgal\cgal-3.5\include\cgal\compute_average_spacing.h(199) : see reference to function template instantiation 'double CGAL::compute_average_spacing>(InputIterator,InputIterator,PointPMap,unsigned int)' being compiled

        with

        [

            InputIterator=std::_Vector_iterator>,

            T=CGAL::Point_with_normal_3,

            PointPMap=CGAL::Dereference_property_map>

        ]

        f:\fingerprint\codes\cloud_points\cloud_points\cloud_points.cpp(218) : see reference to function template instantiation 'double CGAL::compute_average_spacing<_Ty,_Alloc>>(InputIterator,InputIterator,unsigned int)' being compiled

        with

        [

            _Ty=Point_with_normal,

            _Alloc=std::allocator,

            InputIterator=std::_Vector_iterator>

        ]

c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(120) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'

        c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2550) : see declaration of 'std::copy'

c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d\min_sphere_of_spheres_d_pair.h(112) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data

        c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d\min_sphere_of_spheres_d_impl.h(178) : see reference to function template instantiation 'T CGAL::inner_product_n<3,float,const double*,const double*,std::plus<_Ty>,CGAL::Min_sphere_of_spheres_d_impl::Subtract_and_square>(InputIterator1,InputIterator2,T,BinaryOperation1,BinaryOperation2)' being compiled

        with

        [

            T=float,

            _Ty=double,

            FT=double,

            InputIterator1=const double *,

            InputIterator2=const double *,

            BinaryOperation1=std::plus,

            BinaryOperation2=CGAL::Min_sphere_of_spheres_d_impl::Subtract_and_square

        ]

        c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d\min_sphere_of_spheres_d_impl.h(164) : while compiling class template member function 'bool CGAL::Min_sphere_of_spheres_d::find_farthest(int,int,int &,CGAL::Tag_false,CGAL::Tag_false)'

        with

        [

            Traits=Traits

        ]

        c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d.h(183) : while compiling class template member function 'void CGAL::Min_sphere_of_spheres_d::prepare(int)'

        with

        [

            Traits=Traits

        ]

        c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d.h(206) : while compiling class template member function 'bool CGAL::Min_sphere_of_spheres_d::is_empty(void)'

        with

        [

            Traits=Traits

        ]

        c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d.h(214) : while compiling class template member function 'const double &CGAL::Min_sphere_of_spheres_d::radius(void)'

        with

        [

            Traits=Traits

        ]

        c:\cgal\cgal-3.5\include\cgal\reconstruction_triangulation_3.h(348) : see reference to class template instantiation 'CGAL::Min_sphere_of_spheres_d' being compiled

        with

        [

            Traits=Traits

        ]

        c:\cgal\cgal-3.5\include\cgal\reconstruction_triangulation_3.h(337) : while compiling class template member function 'CGAL::Sphere_3 CGAL::Reconstruction_triangulation_3::input_points_bounding_sphere(void) const'

        with

        [

            R_=CGAL::Filtered_kernel>,

            BaseGt=CGAL::Robust_circumcenter_filtered_traits_3

        ]

        c:\cgal\cgal-3.5\include\cgal\poisson_reconstruction_function.h(82) : see reference to class template instantiation 'CGAL::Reconstruction_triangulation_3' being compiled

        with

        [

            BaseGt=CGAL::Robust_circumcenter_filtered_traits_3

        ]

c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(245) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'

        c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2550) : see declaration of 'std::copy'

        c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(242) : while compiling class template member function 'CGAL::Kd_tree_rectangle &CGAL::Kd_tree_rectangle::operator =(const CGAL::Kd_tree_rectangle &)'

        with

        [

            SearchTraits=Tree_traits

        ]

c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(246) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'

        c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2550) : see declaration of 'std::copy'

Compiling manifest to resources...

Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

Copyright (C) Microsoft Corporation.  All rights reserved.

Linking...

LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library

cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_clear referenced in function "public: __thiscall CGAL::Gmpq_rep::~Gmpq_rep(void)public: __thiscall CGAL::Gmpq::Gmpq(double)public: __thiscall CGAL::Gmpq_rep::Gmpq_rep(void)public: class CGAL::Gmpq & __thiscall CGAL::Gmpq::operator*=(class CGAL::Gmpq const &)bool __cdecl CGAL::operator==(class CGAL::Gmpq const &,int)public: struct std::pair __thiscall CGAL::Real_embeddable_traits::To_interval::operator()(class CGAL::Gmpq const &)const public: struct std::pair __thiscall CGAL::Real_embeddable_traits::To_interval::operator()(class CGAL::Gmpq const &)const public: struct std::pair __thiscall CGAL::Real_embeddable_traits::To_interval::operator()(class CGAL::Gmpq const &)const public: struct std::pair __thiscall CGAL::Real_embeddable_traits::To_interval::operator()(class CGAL::Gmpq const &)const public: class CGAL::Gmpq & __thiscall CGAL::Gmpq::operator+=(class CGAL::Gmpq const &)public: class CGAL::Gmpq & __thiscall CGAL::Gmpq::operator-=(class CGAL::Gmpq const &)public: __thiscall CGAL::Gmpq::Gmpq(int)public: class CGAL::Gmpq & __thiscall CGAL::Gmpq::operator/=(class CGAL::Gmpq const &)bool __cdecl CGAL::operator<(class CGAL::Gmpq const &,class CGAL::Gmpq const &)bool __cdecl CGAL::operator==(class CGAL::Gmpq const &,class CGAL::Gmpq const &)" (??8CGAL@@YA_NABVGmpq@0@0@Z)

cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_set referenced in function ___gmpq_neg

F:\fingerprint\codes\cloud_points\Debug\cloud_points.exe : fatal error LNK1120: 16 unresolved externals

Results
  



cloud_points - 17 error(s), 8 warning(s)



Ce courrier électronique et toutes les pièces éventuellement jointes qu’il contient sont CONFIDENTIELS et destinés exclusivement à l’usage de leur destinataire. Si une erreur de transmission ou une adresse erronée a mal dirigée ce courrier, merci d’en informer l’expéditeur en lui faisant une réponse par courrier électronique dès réception. Si vous n’êtes pas le destinataire de ce courrier, vous ne devez pas l’utiliser, le conserver, en faire état, le distribuer, le copier, l’imprimer ou en révéler le contenu à une tierce partie.
Ce courrier électronique est à usage strictement informatif et ne saurait engager de quelque manière que ce soit INFOTERRA France SAS, ni ses filiales.

This e-mail and any attachments hereto are CONFIDENTIAL and intended solely for the use of the addressee. If you have received this e-mail in error please send it back to the person that sent it to you.
If you have received it in error, please notify the sender by return email. If you are not the addressee of this email, you must not use, keep, disseminate, copy, print or otherwise deal with it.
This email is for information only and will not bind INFOTERRA France SAS in any contract or obligation, nor its subsidiaries.



Build Log
  

Rebuild started: Project: cloud_points, Configuration: Debug|Win32

Command Lines
  
Creating temporary file "f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00000D11723200.rsp" with contents
[
/Od /I "C:\Qt\2009.04\qt\include\QtCore" /I "C:\Qt\2009.04\qt\include\QtGui" /I "C:\Qt\2009.04\qt\include" /I "C:\Qt\2009.04\qt\include\ActiveQt" /I "debug" /I "." /I "C:\Qt\2009.04\qt\mkspecs\win32-msvc2005" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /D "_AFXDLL" /Gm /EHsc /RTC1 /MDd /Yu"stdafx.h" /Fp"Debug\cloud_points.pch" /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP .\cloud_points.cpp
]
Creating command line "cl.exe @f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00000D11723200.rsp /nologo /errorReport:prompt"
Creating temporary file "f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00000E11723200.rsp" with contents
[
/Od /I "C:\Qt\2009.04\qt\include\QtCore" /I "C:\Qt\2009.04\qt\include\QtGui" /I "C:\Qt\2009.04\qt\include" /I "C:\Qt\2009.04\qt\include\ActiveQt" /I "debug" /I "." /I "C:\Qt\2009.04\qt\mkspecs\win32-msvc2005" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /D "_AFXDLL" /Gm /EHsc /RTC1 /MDd /Yc"stdafx.h" /Fp"Debug\cloud_points.pch" /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP .\stdafx.cpp
]
Creating command line "cl.exe @f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00000E11723200.rsp /nologo /errorReport:prompt"
Creating temporary file "f:\fingerprint\codes\cloud_points\cloud_points\Debug\TMP00000F11723200.tmp" with contents
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ".\\Debug\\cloud_points.exe.embed.manifest"
]
Creating command line "rc.exe /fo".\Debug\cloud_points.exe.embed.manifest.res" f:\fingerprint\codes\cloud_points\cloud_points\Debug\TMP00000F11723200.tmp"
Creating temporary file "f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00001011723200.rsp" with contents
[
/OUT:"F:\fingerprint\codes\cloud_points\Debug\cloud_points.exe" /INCREMENTAL /MANIFEST /MANIFESTFILE:"Debug\cloud_points.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"F:\fingerprint\codes\cloud_points\Debug\cloud_points.pdb" /SUBSYSTEM:CONSOLE /DYNAMICBASE /NXCOMPAT /MACHINE:X86 C:\Qt\2009.04\qt\lib\qtmaind.lib C:\Qt\2009.04\qt\lib\QtGuid4.lib C:\Qt\2009.04\qt\lib\QtCored4.lib psapi.lib

".\Debug\cloud_points.obj"

".\Debug\stdafx.obj"

".\Debug\cloud_points.exe.embed.manifest.res"
]
Creating command line "link.exe @f:\fingerprint\codes\cloud_points\cloud_points\Debug\RSP00001011723200.rsp /NOLOGO /ERRORREPORT:PROMPT"
Output Window
  
Compiling...
stdafx.cpp
Compiling...
cloud_points.cpp
Linking to lib file: CGAL-vc90-mt-gd.lib
Linking to lib file: gmp-vc90-mt-gd.lib
Linking to lib file: mpfr-vc90-mt-gd.lib
Linking to lib file: libtaucs-vc90-mt-gd.lib
Linking to lib file: libmetis-vc90-mt-gd.lib
Linking to lib file: liblapack.lib
Linking to lib file: libf77blas.lib
Linking to lib file: libcblas.lib
Linking to lib file: libatlas.lib
Linking to lib file: vcf2c-vc90-mt-gd.lib
c:\cgal\cgal-3.5\include\cgal\win32_exception.h(77) : warning C4535: calling _set_se_translator() requires /EHa
c:\cgal\cgal-3.5\include\cgal\taucs_solver.h(227) : warning C4996: 'tempnam': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _tempnam. See online help for details.
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdio.h(713) : see declaration of 'tempnam'
        c:\cgal\cgal-3.5\include\cgal\taucs_solver.h(190) : while compiling class template member function 'bool CGAL::Taucs_solver::factorize_ooc(void)'
        with
        [
            T=double
        ]
        c:\cgal\cgal-3.5\include\cgal\poisson_reconstruction_function.h(325) : see reference to class template instantiation 'CGAL::Taucs_solver' being compiled
        with
        [
            T=double
        ]
        c:\cgal\cgal-3.5\include\cgal\poisson_reconstruction_function.h(300) : while compiling class template member function 'bool CGAL::Poisson_reconstruction_function::solve_poisson(double)'
        with
        [
            Gt=Kernel
        ]
        f:\fingerprint\codes\cloud_points\cloud_points\cloud_points.cpp(209) : see reference to class template instantiation 'CGAL::Poisson_reconstruction_function' being compiled
        with
        [
            Gt=Kernel
        ]
c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(119) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2550) : see declaration of 'std::copy'
        c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(115) : while compiling class template member function 'CGAL::Kd_tree_rectangle::Kd_tree_rectangle(const CGAL::Kd_tree_rectangle &)'
        with
        [
            SearchTraits=Tree_traits
        ]
        c:\cgal\cgal-3.5\include\cgal\kd_tree.h(254) : see reference to class template instantiation 'CGAL::Kd_tree_rectangle' being compiled
        with
        [
            SearchTraits=Tree_traits
        ]
        c:\cgal\cgal-3.5\include\cgal\kd_tree.h(252) : while compiling class template member function 'CGAL::Kd_tree::~Kd_tree(void)'
        with
        [
            SearchTraits=Tree_traits,
            Splitter_=CGAL::Sliding_midpoint,
            UseExtendedNode=CGAL::Tag_true
        ]
        c:\cgal\cgal-3.5\include\cgal\orthogonal_k_neighbor_search.h(52) : see reference to class template instantiation 'CGAL::Kd_tree' being compiled
        with
        [
            SearchTraits=Tree_traits,
            Splitter_=CGAL::Sliding_midpoint,
            UseExtendedNode=CGAL::Tag_true
        ]
        c:\cgal\cgal-3.5\include\cgal\compute_average_spacing.h(129) : see reference to class template instantiation 'CGAL::Orthogonal_k_neighbor_search' being compiled
        with
        [
            SearchTraits=Tree_traits
        ]
        c:\cgal\cgal-3.5\include\cgal\compute_average_spacing.h(183) : see reference to function template instantiation 'double CGAL::compute_average_spacing>(InputIterator,InputIterator,PointPMap,unsigned int,const Kernel &)' being compiled
        with
        [
            InputIterator=std::_Vector_iterator>,
            PointPMap=CGAL::Dereference_property_map>,
            CK=CGAL::Simple_cartesian,
            Kernel=CGAL::Filtered_kernel>
        ]
        c:\cgal\cgal-3.5\include\cgal\compute_average_spacing.h(199) : see reference to function template instantiation 'double CGAL::compute_average_spacing>(InputIterator,InputIterator,PointPMap,unsigned int)' being compiled
        with
        [
            InputIterator=std::_Vector_iterator>,
            T=CGAL::Point_with_normal_3,
            PointPMap=CGAL::Dereference_property_map>
        ]
        f:\fingerprint\codes\cloud_points\cloud_points\cloud_points.cpp(218) : see reference to function template instantiation 'double CGAL::compute_average_spacing>(InputIterator,InputIterator,unsigned int)' being compiled
        with
        [
            _Ty=Point_with_normal,
            _Alloc=std::allocator,
            InputIterator=std::_Vector_iterator>
        ]
c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(120) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2550) : see declaration of 'std::copy'
c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d\min_sphere_of_spheres_d_pair.h(112) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
        c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d\min_sphere_of_spheres_d_impl.h(178) : see reference to function template instantiation 'T CGAL::inner_product_n<3,float,const double*,const double*,std::plus<_Ty>,CGAL::Min_sphere_of_spheres_d_impl::Subtract_and_square>(InputIterator1,InputIterator2,T,BinaryOperation1,BinaryOperation2)' being compiled
        with
        [
            T=float,
            _Ty=double,
            FT=double,
            InputIterator1=const double *,
            InputIterator2=const double *,
            BinaryOperation1=std::plus,
            BinaryOperation2=CGAL::Min_sphere_of_spheres_d_impl::Subtract_and_square
        ]
        c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d\min_sphere_of_spheres_d_impl.h(164) : while compiling class template member function 'bool CGAL::Min_sphere_of_spheres_d::find_farthest(int,int,int &,CGAL::Tag_false,CGAL::Tag_false)'
        with
        [
            Traits=Traits
        ]
        c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d.h(183) : while compiling class template member function 'void CGAL::Min_sphere_of_spheres_d::prepare(int)'
        with
        [
            Traits=Traits
        ]
        c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d.h(206) : while compiling class template member function 'bool CGAL::Min_sphere_of_spheres_d::is_empty(void)'
        with
        [
            Traits=Traits
        ]
        c:\cgal\cgal-3.5\include\cgal\min_sphere_of_spheres_d.h(214) : while compiling class template member function 'const double &CGAL::Min_sphere_of_spheres_d::radius(void)'
        with
        [
            Traits=Traits
        ]
        c:\cgal\cgal-3.5\include\cgal\reconstruction_triangulation_3.h(348) : see reference to class template instantiation 'CGAL::Min_sphere_of_spheres_d' being compiled
        with
        [
            Traits=Traits
        ]
        c:\cgal\cgal-3.5\include\cgal\reconstruction_triangulation_3.h(337) : while compiling class template member function 'CGAL::Sphere_3 CGAL::Reconstruction_triangulation_3::input_points_bounding_sphere(void) const'
        with
        [
            R_=CGAL::Filtered_kernel>,
            BaseGt=CGAL::Robust_circumcenter_filtered_traits_3
        ]
        c:\cgal\cgal-3.5\include\cgal\poisson_reconstruction_function.h(82) : see reference to class template instantiation 'CGAL::Reconstruction_triangulation_3' being compiled
        with
        [
            BaseGt=CGAL::Robust_circumcenter_filtered_traits_3
        ]
c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(245) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2550) : see declaration of 'std::copy'
        c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(242) : while compiling class template member function 'CGAL::Kd_tree_rectangle &CGAL::Kd_tree_rectangle::operator =(const CGAL::Kd_tree_rectangle &)'
        with
        [
            SearchTraits=Tree_traits
        ]
c:\cgal\cgal-3.5\include\cgal\kd_tree_rectangle.h(246) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2550) : see declaration of 'std::copy'
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Linking...
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_clear referenced in function "public: __thiscall CGAL::Gmpq_rep::~Gmpq_rep(void)" (??1Gmpq_rep@CGAL@@QAE@XZ)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_set_d referenced in function "public: __thiscall CGAL::Gmpq::Gmpq(double)" (??0Gmpq@CGAL@@QAE@N@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_init referenced in function "public: __thiscall CGAL::Gmpq_rep::Gmpq_rep(void)" (??0Gmpq_rep@CGAL@@QAE@XZ)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_mul referenced in function "public: class CGAL::Gmpq & __thiscall CGAL::Gmpq::operator*=(class CGAL::Gmpq const &)" (??XGmpq@CGAL@@QAEAAV01@ABV01@@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_cmp_si referenced in function "bool __cdecl CGAL::operator==(class CGAL::Gmpq const &,int)" (??8CGAL@@YA_NABVGmpq@0@H@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp__mpfr_clear referenced in function "public: struct std::pair __thiscall CGAL::Real_embeddable_traits::To_interval::operator()(class CGAL::Gmpq const &)const " (??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QBE?AU?$pair@NN@std@@ABVGmpq@2@@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp__mpfr_get_d referenced in function "public: struct std::pair __thiscall CGAL::Real_embeddable_traits::To_interval::operator()(class CGAL::Gmpq const &)const " (??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QBE?AU?$pair@NN@std@@ABVGmpq@2@@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp__mpfr_set_q referenced in function "public: struct std::pair __thiscall CGAL::Real_embeddable_traits::To_interval::operator()(class CGAL::Gmpq const &)const " (??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QBE?AU?$pair@NN@std@@ABVGmpq@2@@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp__mpfr_init2 referenced in function "public: struct std::pair __thiscall CGAL::Real_embeddable_traits::To_interval::operator()(class CGAL::Gmpq const &)const " (??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QBE?AU?$pair@NN@std@@ABVGmpq@2@@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_add referenced in function "public: class CGAL::Gmpq & __thiscall CGAL::Gmpq::operator+=(class CGAL::Gmpq const &)" (??YGmpq@CGAL@@QAEAAV01@ABV01@@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_sub referenced in function "public: class CGAL::Gmpq & __thiscall CGAL::Gmpq::operator-=(class CGAL::Gmpq const &)" (??ZGmpq@CGAL@@QAEAAV01@ABV01@@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_set_si referenced in function "public: __thiscall CGAL::Gmpq::Gmpq(int)" (??0Gmpq@CGAL@@QAE@H@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_div referenced in function "public: class CGAL::Gmpq & __thiscall CGAL::Gmpq::operator/=(class CGAL::Gmpq const &)" (??_0Gmpq@CGAL@@QAEAAV01@ABV01@@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_cmp referenced in function "bool __cdecl CGAL::operator<(class CGAL::Gmpq const &,class CGAL::Gmpq const &)" (??MCGAL@@YA_NABVGmpq@0@0@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_equal referenced in function "bool __cdecl CGAL::operator==(class CGAL::Gmpq const &,class CGAL::Gmpq const &)" (??8CGAL@@YA_NABVGmpq@0@0@Z)
cloud_points.obj : error LNK2019: unresolved external symbol __imp____gmpq_set referenced in function ___gmpq_neg
F:\fingerprint\codes\cloud_points\Debug\cloud_points.exe : fatal error LNK1120: 16 unresolved externals
Results
  
Build log was saved at "file://f:\fingerprint\codes\cloud_points\cloud_points\Debug\BuildLog.htm"
cloud_points - 17 error(s), 7 warning(s)



Archive powered by MHonArc 2.6.16.

Top of Page