Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *)


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *)
  • Date: Tue, 21 Feb 2012 10:19:56 +0100
  • Organization: GeometryFactory

Le lundi 20 février 2012 14:39:18 sgdimitris a écrit :
> Hello I'm Dimitris,
> as I have mentioned in older posts I want to use CGAL for a project for my
> university.
> I used cmake-gui (cmake 2.8) and i succesfully configure and getnerate cgal.
> BUt I try to use CGAL in my project and I cannot. I am using visual studio
> 2010.
>
> More specific, I got the error
> error LNK2019: unresolved external symbol "void __cdecl
> CGAL::assertion_fail(char const *,char const *,int,char const *)"
> (?assertion_fail@CGAL@@YAXPBD0H0@Z)
> referenced in function "public:
> __thiscall
> CGAL::Interval_nt<0>::Test_runtime_rounding_modes::Test_runtime_rounding_mod
> es(void)"
> (??0Test_runtime_rounding_modes@?$Interval_nt@$0A@@CGAL@@QAE@XZ)
> 1>C:\Users\user\documents\visual studio
> 2010\Projects\tset_studyhelp\Debug\tset_studyhelp.exe : fatal error LNK1120:
> 1 unresolved externals
>
> I tried to see previous topics so I changed C/C++ -> Code Generation ->
> Runtime Library and I chose Multi-Threaded Debug (/MTD) or Multi-Threaded
> (/MT) and in both I got that error
> "LINK : fatal error LNK1104: cannot open file 'CGAL-vc100-mt-sgd.lib' "
> With the other two options (Multi-Threaded Debug DLL (/MDD) or
> Multi-Threaded DLL(/MD)) I got the error LNK2019 that I menioned before(in
> the start of the topic).
>
> Any help would be really appreciated! cause I try to install and use cgal
> the last 14 days and every time I solve a problem another one comes. And it
> seems so complicated just using that library

Please send us (through an online service like pastebin, and NOT as
attachment) the CMakeCache.txt that was generated during the configuration of
the CGAL libraries. And also the CMakeCache.txt that was generated during the
configuration of your program, if you used CMake for that, too.

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




Archive powered by MHonArc 2.6.16.

Top of Page