Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] after install cgal MSVC 2005 : application failed to start

Subject: CGAL users discussion list

List archive

[cgal-discuss] after install cgal MSVC 2005 : application failed to start


Chronological Thread 
  • From: Maarten Moesen <>
  • To: "" <>
  • Cc: Tom Craeghs <>
  • Subject: [cgal-discuss] after install cgal MSVC 2005 : application failed to start
  • Date: Tue, 5 Jan 2010 16:40:00 +0100
  • Accept-language: en-US, nl-BE
  • Acceptlanguage: en-US, nl-BE

Dear all,

My best wishes for everyone for 2010.

Because we are interested in the arrangement package, a colleage and I are
trying to use CGAL 3.5.1 with MS Visual Studio 2005 with service Pack 1 on a
Vista 32-bit machine. However we encounter a strange error.

WHAT WE DID:
We first installed cmake-2.8 and boost 1.40.0. Then we installed and compiled
CGAL as described in the manual. Finally we created an empty win32 console
(without using precompiled headers) containing only the following little
program:

#include <iostream>
#include <stdio.h>
#include <CGAL/Cartesian.h>

int main ()
{
typedef CGAL::Cartesian<double> Kernel;
typedef Kernel::Point_2 Point;
typedef Kernel::Vector_2 Vector;

Point p(1.0, 2.0);
Vector v(0.0, 1.0);
p = p+v;
double x = CGAL::to_double(p.x());
double y = CGAL::to_double(p.y());
std::cout << "X: " << x << std::endl;
std::cout << "Y: " << y << std::endl;
std::cout << "Point: " << p << std::endl;
getchar();
return 0;
}

THE ERROR:
In both release and debug mode, the program compiles and links succesfully
without any warnings or errors. (CGAL itself also btw :) Nevertheless, when
the programs are run, we get the message:

Unable to start program 'path/program.exe'. This application has failed to
start because the application configuration is incorrect. Review the manifest
for possible errors. ...

ADDITIONAL INFORMATION:
Our PATH contains: C:\Program Files\CMake 2.8\bin;C:\Program
Files\CGAL-3.5.1\auxiliary\gmp\lib
In the tools >options >...> VC++ directories panel we ensured or added
executables: $PATH
include files: C:\Program Files\CGAL-3.5.1\auxiliary\gmp\include, C:\Program
Files\boost\boost_1_40, C:\Program Files\CGAL-3.5.1\include
library files: C:\Program Files\CGAL-3.5.1\auxiliary\gmp\lib, C:\Program
Files\CGAL-3.5.1\lib, C:\Program Files\boost\boost_1_40\lib
The manifest file and build log are attached to this mail.

Dependency walker gives the following message:
Error: The Side-by-Side configuration information for "c:\documents and
settings\tcraeghs\my documents\visual studio
2005\projects\slicewise_umd\release\SLICEWISE_UMD.EXE" contains errors. This
application has failed to start because the application configuration is
incorrect. Reinstalling the application may fix this problem (14001).
Error: At least one required implicit or forwarded dependency was not found.
The conflicting dependencies were: MSVCP80.DLL and MSVC80.DLL


CURIOUSLY:
Curiously, if we comment out the line:
// std::cout << "Point: " << p << std::endl;
in release mode, the program compiles, links, and runs sucessfully and
depends.exe finds both DLLs without any problem.

We'd really like to get CGAL working, can anyone help us out?

Thank you already very much,

Maarten Moesen
--
Maarten Moesen, PHD
Department of Metallurgy and Materials Engineering (MTM)
K.U.Leuven
Kasteelpark Arenberg 44 - Bus 02450
B-3001 Heverlee, Belgium
tel. +32 (0)16 32 13 17
fax. +32 (0)16 32 19 90ÿþ<html> <head> <META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-16"> </head> <body> <pre> <table width=100% bgcolor=#CFCFE5><tr> <td> <font face=arial size=+3> Build Log </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre> <h3>Build started: Project: slicewise_umd, Configuration: Release|Win32</h3> </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2> Command Lines </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Creating temporary file "c:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\slicewise_umd\Release\RSP00006D61686656.rsp" with contents [ /O2 /GL /D &quot;WIN32&quot; /D &quot;NDEBUG&quot; /D &quot;_CONSOLE&quot; /D &quot;_UNICODE&quot; /D &quot;UNICODE&quot; /FD /EHsc /MD /Fo&quot;Release\\&quot; /Fd&quot;Release\vc80.pdb&quot; /W3 /c /Wp64 /Zi /TP &quot;.\umd_main.cpp&quot; ] Creating command line "cl.exe @"c:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\slicewise_umd\Release\RSP00006D61686656.rsp" /nologo /errorReport:prompt" Creating temporary file "c:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\slicewise_umd\Release\RSP00006E61686656.rsp" with contents [ /OUT:&quot;C:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\Release\slicewise_umd.exe&quot; /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:&quot;Release\slicewise_umd.exe.intermediate.manifest&quot; /DEBUG /PDB:&quot;c:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\release\slicewise_umd.pdb&quot; /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /LTCG /MACHINE:X86 CGAL_Core-vc80-mt.lib CGAL_PDB-vc80-mt.lib CGAL-vc80-mt.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib &quot;.\Release\umd_main.obj&quot; ] Creating command line "link.exe @"c:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\slicewise_umd\Release\RSP00006E61686656.rsp" /NOLOGO /ERRORREPORT:PROMPT" Creating temporary file "c:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\slicewise_umd\Release\RSP00006F61686656.rsp" with contents [ /outputresource:&quot;..\release\slicewise_umd.exe;#1&quot; /manifest &quot;.\Release\slicewise_umd.exe.intermediate.manifest&quot; ] Creating command line "mt.exe @"c:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\slicewise_umd\Release\RSP00006F61686656.rsp" /nologo" Creating temporary file "c:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\slicewise_umd\Release\BAT00007061686656.bat" with contents [ @echo Manifest resource last updated at %TIME% on %DATE% &gt; &quot;.\Release\mt.dep&quot; ] Creating command line """c:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\slicewise_umd\Release\BAT00007061686656.bat""" </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2> Output Window </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Compiling... umd_main.cpp Linking... Generating code Finished generating code Embedding manifest... </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2> Results </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Build log was saved at "file://c:\Documents and Settings\tcraeghs\My Documents\Visual Studio 2005\Projects\slicewise_umd\slicewise_umd\Release\BuildLog.htm" slicewise_umd - 0 error(s), 0 warning(s) </pre></table><table width=100% height=20 bgcolor=#CFCFE5><tr><td><font face=arial size=+2> </font></table></body></html><?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.CRT'
version='8.0.50727.762' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.CRT'
version='8.0.50727.4053' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
</assembly>



Archive powered by MHonArc 2.6.16.

Top of Page