Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Re: 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] Re: visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *)
- Date: Tue, 21 Feb 2012 11:39:12 +0100
- Organization: GeometryFactory
Le mardi 21 février 2012 02:27:04 sgdimitris a écrit :
> Thank you for your answer.
> When you advise me to compile in 32-bit do you mean to reinstall visual
> studio and select 32-bit? Or is there any option in project properties?
No. When you install Visual Studio, by default your actually install two
compilers: one that builds 32 bits binaries, and one that builds 64 binaries.
And you cannot mix 32 bits binaries and 64 bits binaries.
It seems that you compiled CGAL libraries using the compiler that targets
64 bits binaries, and now you are trying to compile your program using the
one
that targets 32 bits binaries. That cannot work.
Do not reinstall anything. Just go to your build directory C:\Project_2\,
remove the CMakeCache.txt, and recreate one. When CMake GUI asks you for a
generator, choose "Visual Studio 10" and NOT "Visual Studio 10 Win64"!
Then rebuilt CGAL libraries. Check that the built target is "Debug Win32"
and/or "Release Win32" (compile in Debug, and then in Release), and not
anything containing Win64.
Once you have done that, you will have compiled CGAL libraries in Debug and
Release, using the 32 bits compiler.
Then you can safely built your user program using the 32 bits compiler too.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *), sgdimitris, 02/20/2012
- Re: [cgal-discuss] visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *), Sebastien Loriot (GeometryFactory), 02/21/2012
- Re: [cgal-discuss] visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *), Laurent Rineau (GeometryFactory), 02/21/2012
- Re: [cgal-discuss] visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *), Laurent Rineau (GeometryFactory), 02/21/2012
- [cgal-discuss] Re: visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *), sgdimitris, 02/21/2012
- Re: [cgal-discuss] Re: visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *), Laurent Rineau (GeometryFactory), 02/21/2012
- [cgal-discuss] Re: visual studio 2010: void __cdecl CGAL::assertion_fail(char const *,char const *,int,char const *), sgdimitris, 02/21/2012
Archive powered by MHonArc 2.6.16.