Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Compilation fail on Win+MSYS Makefiles+space caracter

Subject: CGAL users discussion list

List archive

[cgal-discuss] Compilation fail on Win+MSYS Makefiles+space caracter


Chronological Thread 
  • From: cp <>
  • To:
  • Subject: [cgal-discuss] Compilation fail on Win+MSYS Makefiles+space caracter
  • Date: Thu, 12 Dec 2013 11:22:55 -0800 (PST)

Hi,

I successfully compiled CGAL under windows with a classical

bash> cmake -G"MSYS Makefiles" ..
bash> make

But i noticed the build fails when an include path (GMP/MPFR...) contains a
space caracter like in "program files". The failure happens on the
windres.exe invocation.

Here is the make log in this case :

***************************************
bash> make
Scanning dependencies of target CGAL
[ 16%] Building CXX object src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.obj
[ 33%] Building RC object src/CGAL/CMakeFiles/CGAL.dir/CGAL_verinfo.rc.obj
gcc: error: Files/CGAL-4.3/build/include: No such file or directory
gcc: error: Files/CGAL-4.3/include: No such file or directory
d:\MinGW\bin\windres.exe: preprocessing failed.
make[2]: *** [src/CGAL/CMakeFiles/CGAL.dir/CGAL_verinfo.rc.obj] Error 1
make[1]: *** [src/CGAL/CMakeFiles/CGAL.dir/all] Error 2
make: *** [all] Error 2
***************************************

Here is a complete log (make VERBOSE=1)
make.log <http://cgal-discuss.949826.n4.nabble.com/file/n4658543/make.log>

Not sure if it's a cmake problem, a cgal problem or a windres.exe one, but
here it is.
Is there an other solution than puting libraries in a compliant path?

If not, I guess that the default install path should not be "program files"
in the windows installer.



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Compilation-fail-on-Win-MSYS-Makefiles-space-caracter-tp4658543.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] Compilation fail on Win+MSYS Makefiles+space caracter, cp, 12/12/2013

Archive powered by MHonArc 2.6.18.

Top of Page