Subject: CGAL users discussion list
List archive
- From: sara ershadi <>
- To: "" <>
- Subject: Re: [cgal-discuss] learning CGAL and include lib
- Date: Wed, 14 Nov 2012 13:09:47 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=GCgdQDdAr+gAq/tDXrDjswiSczMQ/51MG3rdSoVTqjLdcClGbCVmvLn9fJhKD5xrufPwGvL5HyTeNEqZFky4TIvdzkQYzVjbRGrnYO0oqau9xTbkof7I9Yyi0sJOUfRevqnYEaBRfloFsOaHMjnhOuNnw7mhuSMSJavtUejecfM=;
I have three questions :
1- I have installed Qt from source(C:\qt-everywhere-opensource-src-4.8.3) and qt 4.8.3 too which of them I should use ?
2- I have not lib for boost instead I have libs (C:\boost_1_52_0\libs)
3- linker ->general hasn't include library instead it has additional library
directories.
4- how I can save this property in a file for all my use. and add it to my solution ?
Thanks alot for your help and consideration
From: Roberto Lam <>
To:
Sent: Wednesday, November 14, 2012 10:24 AM
Subject: Re: [cgal-discuss] learning CGAL and include lib
SEE the Note!
n
7) Customizing env - If you are not using CMake to create new VS projects
n
7) Customizing env - If you are not using CMake to create new VS projects
Note: the following operations should be repeated for the Debug and Release modes
- Right-click on the selected project and select "Properties".
Go to C/C++ -> General . Add the following to "Additional Include Directories" (include)
* include: <Boost> (C:\Program Files\boost\boost_1_47)
* include: <CGAL>\include (C:\Program Files\CGAL-3.9\include)
* include: <CGAL>\auxiliary\gmp\include (C:\Program Files\CGAL-3.9\auxiliary\gmp\include)
* include: <QT>\include (C:\Qt\4.8.1\include)
* include: <QT>\include\QtCore (C:\Qt\4.8.1\include\QtCore)
* include: <QT>\include\QtGui (C:\Qt\4.8.1\include\QtGui)
Go to Linker -> General. Add the following to "Additional Dependencies" (include)
* library: <CGAL>\lib (C:\Program Files\CGAL-3.9\lib)
* library: <QT>\lib (C:\Qt\4.8.1\lib)
* library: <Boost>\lib (C:\Program Files\boost\boost_1_47\lib)
* library: <CGAL>\auxiliary\gmp\lib (C:\Program Files\CGAL-3.9\auxiliary\gmp\lib)
For a specific project using CGAL you need to ignore the auto-link of gmp and mpfr. The names below are for Debug.
- Linker -> Input
* Add libgmp-10.lib and libmpfr-4.lib to "Additional Dependencies"
* Add gmp-vc100-mt-gd.lib and mpfr-vc100-mt-gd.lib to "Ignore Specific Library" (gmp-vc100-mt.lib and mpfr-vc100-mt.lib in release mode).
For a specific project using QT:
- Linker -> Input
* Add qtmaind.lib, QtGuid4.lib, and QtCored4.lib to "Additional Dependencies" (qtmain.lib;QtCore4.lib;QtGui4.lib in release).
2012/11/14 Roberto Lam <>
Do you include the path for cgal libs in VS enviroment?
point 7 (url sent before). What type of win are you using Vist 64?
I do not understand
"I have copied include/CGAL in my opencv folder since I have set a .properties file to add any project and for setting include file but I don't know what is the better way for it.". But for add CGAL libs and headers to VS project you must follow the
instructions from point 7
(http://acg.cs.tau.ac.il/cgal-at-tau/installing-cgal-and-related-programs-on-windows)
To use the CGAL library in windows systems is very straightforward you have to follow the instructions usually from
cgal.org or from TAU (I use this every time from XP, vista and now win7 32 and 64).
I used CGAL in projects using VCGLib (meshlab) and also openCV and I had no problem.
Maybe if you dont discover what is missing...
<comment>
Is very strange because it seems
the the instalations was OK, the examples are OK
Go to the CGAL\lib and check the date of 'lib' files
the date should be the date of instalation
</comment>
You should reinstall again (after remove it first)2012/11/14 sara ershadi <>
sorry I mistakely type matlab instead of windows.in visual studion the error is (when I want to debug the build (solution )):unable to start a program .C:\CGAL-4.1\build-demo\trangulation2-build\x64\Debug\ALL-Buildthe system can not find the file specified .
Subject: Re: [cgal-discuss] learning CGAL and include lib
hi , thanks alot.Fortunately this time I succeeds to run the demo . I run .exe file in matlab environment and saw the demo and meshes.but in visual studio when I want to debug the solution there is an error about not finding .dll in *86 folder.I have copied include/CGAL in my opencv folder since I have set a .properties file to add any project and for setting include file but I don't know what is the better way for it.
From: Roberto Lam <>
To:
Sent: Wednesday, November 14, 2012 8:06 AM
Subject: Re: [cgal-discuss] learning CGAL and include lib
So as you told before you must go step by step. First you must put you cgal library
working properly with VS 2010.
do you follow the 6th
(of http://acg.cs.tau.ac.il/cgal-at-tau/installing-cgal-and-related-programs-on-windows)
6) Sanity check- Open CMake (cmake-gui, can be found on the desktop) - (for win7 users, use "Run as admin")- Choose "Where is the source code:" to be the Triangulation_2 demo directory under the CGAL installation. Namely, <CGAL>/demo/Triangulation_2 (C:/Program Files/CGAL-3.9 /demo/Triangulation_2).- Choose "Where to build the binaries:" to the same directory.- Click Configure- Click Generate- Go to the directory (C:\Program Files\CGAL-3.9) and open the solution and compile. Run the Delaunay_triangulation project for check (in debug and release)
When you say "it can not run and end immediately." What is the error that appears?
2012/11/14 sara ershadi <>
hi ,No , I have already build some example in CGAL . I first make .sln file with Cmake 2.8 and then open it with visual studio 2010 and build the solution. .exe file also created in debug folder but usually it can not run and end immediately.I have learn CGAL till this point until now.
From: Roberto Lam <>
To:
Sent: Wednesday, November 14, 2012 7:39 AM
Subject: Re: [cgal-discuss] learning CGAL and include lib
And do do you have already load (or define) the mesh?2012/11/14 sara ershadi <>
My Goal in CGAL in 3D reconstruction human pose . but I want to do it step by step . I want now have a mesh of interest point .
From: Shriramana Sharma <>
To:
Sent: Wednesday, November 14, 2012 5:32 AM
Subject: Re: [cgal-discuss] learning CGAL and include lib
On Wed, Nov 14, 2012 at 6:12 PM, sara <> wrote:
>
> I am a CGAL beginner , I wnat to use CGAL function . what is your suggestion
Hello. Please state clearly what exactly you want to do using CGAL.
Then the people here would be better able to help you.
--
Shriramana Sharma
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] learning CGAL and include lib, sara, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, Shriramana Sharma, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, sara ershadi, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, Roberto Lam, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, sara ershadi, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, Roberto Lam, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, sara ershadi, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, sara ershadi, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, Roberto Lam, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, Roberto Lam, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, sara ershadi, 11/14/2012
- [cgal-discuss] Re: learning CGAL and include lib, sara, 11/15/2012
- Re: [cgal-discuss] learning CGAL and include lib, sara ershadi, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, Clément Jamin, 11/15/2012
- Re: [cgal-discuss] learning CGAL and include lib, sara ershadi, 11/15/2012
- Re: [cgal-discuss] learning CGAL and include lib, Clément Jamin, 11/15/2012
- Re: [cgal-discuss] learning CGAL and include lib, Roberto Lam, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, sara ershadi, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, Roberto Lam, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, sara ershadi, 11/14/2012
- Re: [cgal-discuss] learning CGAL and include lib, Shriramana Sharma, 11/14/2012
Archive powered by MHonArc 2.6.18.