Quote:
Originally Posted by transmitterdan
It is impossible to say what is wrong based on the error message. It is best not to use the cmake gui but just use the cmake at the command line. What version of visual studio do you have? What version of OpenCPN are you trying to build? What is the output of this command?
git status
|
-----------------------------------------------------------------
i have VS2013 Community, Cmake, wxWidgets-3.1.0., Poedit, Git
PATH ----OK
Here are the order of steps I did:
3. Get the OpenCPN source
Run Developer Command Prompt for VS2013 from Start menu → Programs → Microsoft Visual Studio → Visual Studio Tools
To get the source for the first time, from your local github directory or local git repository issue
Code:
git clone git://github.com/OpenCPN/OpenCPN.git
----------------ok-------------------------------------------------------
I have a folder "OpenCPN"->Source code
--------------------------------------------------------------------------
3.1 Get the binary dependencies
Get OpenCPN_buildwin.7z and extract the dependencies into buildwin directory. The buildwin directory after extraction should look like this:
Directories
--------------
crashrpt
expat-2.1.0
gtk
NSIS_Unicode
vc
wxWidgets
Files
-------------
zlib1.dll
libcurl.dll
libcurl.lib
ocpn_gltest1.exe
Toolchain-mingw32.cmake
4 Build OpenCPN
Run Developer Command Prompt for VS2013
From Start menu → Programs → Microsoft Visual Studio → Visual Studio Tools.
Change Directory [CD} into your the topmost source directory.
Create a directory named “build” under the topmost source directory.
mkdir build
4.1a – Configure "build" from VS Command Prompt:
Use of the VS Command Prompt and CMake commands
Change Directory [CD]
Code:
cd build
cmake -T v120_xp ..
--------------------------------------------------the result like pic below.........