Skip to Content.
Sympa Menu

cgal-discuss - help with Gmpq

Subject: CGAL users discussion list

List archive

help with Gmpq


Chronological Thread 
  • From:
  • To:
  • Subject: help with Gmpq
  • Date: Thu, 13 Dec 2007 01:24:32 +0100

hello,

I am using Visual Studio 2005 . with console project type.
i am trying to use Gmpq in the simpler case.

the initial code works fine
///////////////////////////////////////////////////////////////
#include <CGAL/Cartesian.h>
#include <CGAL/MP_Float.h>
#include <CGAL/Quotient.h>
#include <CGAL/Arr_segment_traits_2.h>

typedef CGAL::Quotient<CGAL::MP_Float> Number_type;
typedef CGAL::Cartesian<Number_type> Kernel;
typedef Kernel::Point_2 Point;


int main()
{
Point p1 (0, 0) ;
return (0);
}
////////////////////////////////////////////////////////////

but as i include CGAL/Gmpq.h
and change the MP_Float into Gmpq
i get this error

"Unable to start program 'C:\Visual Studio 2005\Projects\P1\P1.sln'
This application has failed to start because the application is incorrect.
review the manifest for possible errors. Reinstalling the application may fix
this problem. For more details , plese see the log file "

any idea is appreciated


Youn

========



Archive powered by MHonArc 2.6.16.

Top of Page