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: Fri, 16 Mar 2012 17:24:10 +0300

ok thx for the reply will try that then.

On 16 March 2012 17:19, Andreas Fabri <> wrote:

Hi Sweety Pie,

I am pretty sure that your problems have nothing to do with CGAL.

I would suggest that you first try to write the CMakeLists.txt
file for a hello.cpp program, and debug your setup of CMake and VC++

Best regards,

Andreas





On 16/03/2012 15:10, Sweety Pie wrote:
I repaired VS10 and yet no change. Am still getting this error:

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/16/2012 4:56:34 PM.

Project "C:\Program Files

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

(default targets).

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

CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:6 (project)

Configuring incomplete, errors occurred!


Help Plz :(

On 16 March 2012 00:18, Sweety Pie <
<mailto:>> wrote:

   I didn't find the lib file there so I will try to repair the VS 10
   and let you know the results


   On 15 March 2012 12:29, Laurent Rineau (GeometryFactory)
   <
   <mailto:>> wrote:

       Le jeudi 15 mars 2012 10:20:00 Sweety Pie a écrit :
        > LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib

       Do you have that file in C:\Program Files (x86)\Microsoft Visual
       Studio
       10.0\VC\lib\msvcrtd.lib ? If no, then you will probably have to
       reinstall/repair MSVC 2010.

       If yes, then open devenv.exe, and make sure you have
       "$(VCInstallDir)lib" in
       "Tools | Options | Project and Solution | VC++ Directories |
       Show directories
       for: Library files".

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