Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: sgdimitris <>
  • To:
  • Subject: [cgal-discuss] visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *)
  • Date: Mon, 20 Feb 2012 14:39:18 -0800 (PST)

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_modes(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


--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/visual-studio-2010-void-cdecl-CGAL-assertion-fail-char-const-char-const-int-char-const-tp4405348p4405348.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page