Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: How to use CGAL Trang methods

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: How to use CGAL Trang methods


Chronological Thread 
  • From: Sweety Pie <>
  • To:
  • Subject: Re: [cgal-discuss] Re: How to use CGAL Trang methods
  • Date: Tue, 13 Mar 2012 23:42:32 +0300

Well am using windows and I have visual studio 10 installed. I checked the Tools and it is VS10 
:( Any other ideas where this error is generated from?
Shall I re-install Cmake?

On 13 March 2012 23:25, Andreas Fabri <> wrote:

My guess is that you run cmake in a shell or a Windows
command prompt which does not have cl.exe  (that is the compiler)
in the PATH.

Start-> All Programs -> Microsoft Visual Studio 2010 -> Visual Studio Tools -> Visual Studio Command Prompt

gives you the right command prompt.



In case you use cygwin add

@echo Setting environment for using Microsoft Visual Studio 2008 tools.
@call "c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/vcvarsall.bat" amd64

to cygwin.bat



andreas




On 13/03/2012 21:15, Sweety Pie wrote:
I have re-installed CGAl but this time it is giving this message in CMake:

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):

The C compiler "cl" is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/Program Files (x86)/CGAL-3.9/CMakeFiles/CMakeTmp

Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

cmTryCompileExec.vcxproj /p:Configuration=Debug


Please help . Am really stuck :(

On 13 March 2012 20:02, Laurent Rineau (GeometryFactory)
<
<mailto:>> wrote:

   Le mardi 13 mars 2012 19:54:27 Sweety Pie a écrit :
    > Thank you very much for this. Your help is appreciated. This CGAL is
    > driving me Crazy :(
    > Somehow the CGAL folder has just disappeared from my  disc and I
   don't know
    > how!!!!!
    > Am installing CGAL 3.9 again but I wanted to know something. I
   have done
    > the installation a bit while ago so just to double check. Am
   using Win7 x64
    > bit machine so when I install CGAL if I choose the 32 bit option
   is it
    > going to work fine? since the boost thingy won't trouble me if I
   choose 32.

   That is all right. You can compile 32 bits programs on a x64
   Windows. Make
   sure you do install or compile 32 bits binaries of all dependencies.

   --
   Laurent Rineau, PhD
   R&D Engineer at GeometryFactory http://www.geometryfactory.com/
   Release Manager of the CGAL Project http://www.cgal.org/


   --
   You are currently subscribed to cgal-discuss.
   To unsubscribe or access the archives, go to
   https://lists-sop.inria.fr/wws/info/cgal-discuss




--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912    skype: andreas.fabri

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss





Archive powered by MHonArc 2.6.16.

Top of Page