Subject: CGAL users discussion list
List archive
- 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ÿþ<