Building OpenCPN with Microsoft Visual C++ Express 2010
I've downloaded Microsoft Visual C++ Express 2010 and tried to compile following the instructions on the site.
I've created the build directory and then launched
cmake -G „Visual Studio 9 2008“ . that does not work.
What is the command to build the solution file that I can then open with Visual Studio to build openCPN?
Thanks
Marcello
__________________
Socialize with other sailors and share on the map your sailing trips, videos, photos and comments about the places you've visited by boat: https://www.bluemapia.com
Re: Building OpenCPN with Microsoft Visual C++ Express 2010
PjotrC....
I am confused. You should be able to build Unicode wxWidgets dlls, and then link OCPN to them. That is what we distribute as releases.
However,
I found that cmake module "FindwxWidgets" is buggy. Best to remove the ANSI wxwidgets dlls, so that it can only possibly find the Unicode varieties.
...or...
Use the GUI version of cmake for Windows, and override the wxwidgets library selections, to force Unicode build.
I build for Unicode everyday from the 2.5 git sources without problem.
Re: Building OpenCPN with Microsoft Visual C++ Express 2010
Thanks, Dave... I can live with the status quo I have now.
The manual steps I have to do are:
- after every _re_build I have to reset the character code to Unicode in all projects (in Visual Studio, project properties)
- building of PACKAGE always fails in the last step, that can be easily done manually
Re: Building OpenCPN with Microsoft Visual C++ Express 2010
marcello...
The build went quite straight in VS 2010 as far as I can remember. Don't know anymore whether there were some more things different (no more VS 2010 machine at hand to try right now), but at least one's for sure: