Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: Sweety Pie <>
  • To:
  • Subject: Re: Re: Re: Re: Re: Re: Re: [cgal-discuss] Re: How to use CGAL Trang methods
  • Date: Thu, 15 Mar 2012 10:20:00 +0300

This is the full msg error am getting :


Check for working C compiler using: Visual Studio 10

Check for working C compiler using: Visual Studio 10 -- broken

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

Microsoft (R) Build Engine Version 4.0.30319.1

[Microsoft .NET Framework, Version 4.0.30319.239]

Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 3/15/2012 10:18:07 AM.

Project "C:\Program Files

(x86)\CGAL-3.9\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" on node 1

(default targets).

PrepareForBuild:

Creating directory "cmTryCompileExec.dir\Debug\".

Creating directory "C:\Program Files (x86)\CGAL-3.9\CMakeFiles\CMakeTmp\Debug\".

InitializeBuildStatus:

Creating "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi /nologo /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/Program Files (x86)/CGAL-3.9/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c /Zm1000

testCCompiler.c

ManifestResourceCompile:

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res" cmTryCompileExec.dir\Debug\cmTryCompileExec_manifest.rc

Link:

c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Program Files (x86)\CGAL-3.9\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe" /VERSION:"0.0" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Program Files (x86)\CGAL-3.9\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.pdb" /SUBSYSTEM:CONSOLE /STACK:"10000000" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Program Files (x86)/CGAL-3.9/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.lib" /MACHINE:X86 cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res

cmTryCompileExec.dir\Debug\testCCompiler.obj /machine:X86 /debug

LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib' [C:\Program

Files (x86)\CGAL-3.9\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

Done Building Project "C:\Program Files

(x86)\CGAL-3.9\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default

targets) -- FAILED.

Build FAILED.

"C:\Program Files

(x86)\CGAL-3.9\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default

target) (1) ->

(Link target) ->

LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib' [C:\Program Files (x86)\CGAL-3.9\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

0 Warning(s)

1 Error(s)

Time Elapsed 00:00:04.93

CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:6 (project)

Configuring incomplete, errors occurred!




On 14 March 2012 21:46, Sweety Pie <> wrote:
Installing it directly on C;\ just didn't work :(


On 14 March 2012 15:19, Sweety Pie <> wrote:
I will try to uninstall CGAL and install it directly into C:\
I didn't find a log file in the mentioned location. :( 
Will let you know the results after I install it in the new location.


On 14 March 2012 12:29, Laurent Rineau (GeometryFactory) <> wrote:
Le mercredi 14 mars 2012 12:17:22 Sweety Pie a écrit :
> Thanx for the reply.
> I have read in a tutorial that source and binaries should indicate the same
> location. However, I just created a new folder in another location now for
> the binaries and tried but still the same error happened. It was working
> before on the same directory but I really don't know what happened.
> Any other ideas will be appreciated.
> Thanx for all

Other CMake users have that issue. See
http://public.kitware.com/Bug/view.php?id=11967

Can you post the full error message? The one you posted says "there is a
failure" without any more precision?

Maybe you should try to install CGAL-3.9 directory into C:/ instead of
C:/Program Files*/. In the past I saw strange message from CMake because of
the parenthesis in the name of "C:/Program Files (x86)/".

Have also a look to the files C:/Program Files(x86)/CGAL-3.9/CMakeFiles/CMakeTmp/. There may be a log file.


--
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







Archive powered by MHonArc 2.6.16.

Top of Page