Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] problem with TAUCS

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] problem with TAUCS


Chronological Thread 
  • From: Laurent Saboret <>
  • To:
  • Subject: Re: [cgal-discuss] problem with TAUCS
  • Date: Mon, 26 Jul 2010 12:12:23 +0200
  • Organization: INFOTERRA

Hi,

You have to use cmake to create the VC++ project (.vcproj) and solution (.sln) from the CMakeLists.txt file.
Then, you may use VC++ to compile, debug, ...

You should modify the CMakeLists.txt file in your folder and not directly the .vcproj/.sln files in VC++.
Note that you need to run explicitely cmake only once (to create the .vcproj/.sln). After this step, VC++ will run cmake when necessary.
For example, you should add a new .cpp file in the CMakeLists.txt. Then, compiling in VC++ will run cmake (to update the .vcproj) before the actual compilation.

You do not have to add a new .hpp header to the CMakeLists.txt. CMake tracks headers automatically.

See cmake documentation for more details http://www.cmake.org/cmake/help/documentation.html

Best regards,
Laurent S.



wrote:
Hi,

thanks, it worked. But i still don't understand why i can not compile it with
VC++...i mean, why do i have to use cmake? Why don't i just copy .cpp and
CMakeList.txt to a folder, create a new project from that .cpp, and build it
on
VC++?

Regards,
Cristóvão
and
I'm asking this because now i wnat to modify the example, and i need to add
some addicional .hpp files... but then, when i compile it, it gives me an
error
on one of that headers. But i already used them on another projects, of the
same type, and they worked just fine.


Ce courrier électronique et toutes les pièces éventuellement jointes qu’il
contient sont CONFIDENTIELS et destinés exclusivement à l’usage de leur
destinataire. Si une erreur de transmission ou une adresse erronée a mal
dirigée ce courrier, merci d’en informer l’expéditeur en lui faisant une
réponse par courrier électronique dès réception. Si vous n’êtes pas le
destinataire de ce courrier, vous ne devez pas l’utiliser, le conserver, en
faire état, le distribuer, le copier, l’imprimer ou en révéler le contenu à
une tierce partie.
Ce courrier électronique est à usage strictement informatif et ne saurait
engager de quelque manière que ce soit SPOT IMAGE SA, ni ses filiales.

This e-mail and any attachments hereto are CONFIDENTIAL and intended solely
for the use of the addressee. If you have received this e-mail in error
please send it back to the person that sent it to you.
If you have received it in error, please notify the sender by return email.
If you are not the addressee of this email, you must not use, keep,
disseminate, copy, print or otherwise deal with it.
This email is for information only and will not bind SPOT IMAGE SA in any
contract or obligation, nor its subsidiaries.



Archive powered by MHonArc 2.6.16.

Top of Page