From: Sisyphus <sis...@op...> - 2010-06-22 08:11:02
|
----- Original Message ----- From: "Arjen Markus" <arj...@de...> To: "Sisyphus" <sis...@op...> Cc: "plplot" <plp...@li...> Sent: Tuesday, June 22, 2010 5:03 PM Subject: Re: [Plplot-general] wingcc drivers fails to build onWindows 7 64bit/VC > Hi Rob, > > as you do not care for C++, you can always switch it off using the > option -DENABLE_cxx:BOOL=OFF. No need - the errors turn it off automatically ;-) > To solve the problem with the +'s in "g++", you might try to create a > link to that executable with an inconspicuous name. I am not sure if > that works under CMake (not sure these Windows links are transparant > enough), but it might be worth a try. Or use a batchfile instead. I'm fairly sure there's no problem with the + symbols. I strike the same problem trying to access x86_64-w64-mingw32-gfortran.exe. So far I've managed to access only the gcc and ar executables without renaming them. Curious though it is, it's not such a big issue - I can always create copies named 'g++.exe' and 'gfortran.exe' if I want to build c++ and fortran libraries. (It works fine for both - I've checked.) I'm thinking the problem has something to do with the way cmake goes about validating these compilers. I'm currently looking at CMakeDetermineCompilerId.cmake as that's where the "compiler identification is unknown" messages that I'm also getting seem to originate ... but I don't really understand what I'm looking at. I'll give it a rest for a while and see if anything comes to light .... Apologies to Alessandro, too - his thread seems to have been hijacked :-) Cheers, Rob |