I am installing a new Development Configuration on Win8 and I am away from my main
laptop used for that purpose. I have been having troubles....
I have tried to follow the opencpn.org Windows Dev instructions to a T, have recompiled wxWidgets, and checked pathnames and they should be OK.
With one of the most
current Opencpn git fetch
"master f05ff03 Correct fault on options page"
C:\Data-Juno\opencpn-git>cmake -G "Visual Studio 10"
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for working C compiler using: Visual Studio 10 2010
-- Check for working C compiler using: Visual Studio 10 2010 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 10 2010
-- Check for working CXX compiler using: Visual Studio 10 2010 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- *** Build Architecture is i386
-- *** Staging to build opencpn 4.1.0 ***
-- *** Package will include
documentation ***
-- *** Package will include GSHHS basechart level: CRUDE ***
-- *** Package will include tide and
current data ***
-- Found OpenGL: opengl32
-- Found OpenGL...
-- Lib: glu32opengl32
-- Include:
-- Found wxWidgets: TRUE
-- Found wxWidgets...
-- debug;C:/wxWidgets-2.8.12/lib/vc_dll/wxbase28ud.lib;optimized;C:/wxWidgets-2.
8.12/lib/vc_dll/wxbase28u.lib;debug;C:/wxWidgets-2.8.12/lib/vc_dll/wxmsw28ud_cor
e.lib;optimized;C:/wxWidgets-2.8.12/lib/vc_dll/wxmsw28u_core.lib;debug;C:/wxWidg
ets-2.8.12/lib/vc_dll/wxbase28ud_net.lib;optimized;C:/wxWidgets-2.8.12/lib/vc_dl
l/wxbase28u_net.lib;debug;C:/wxWidgets-2.8.12/lib/vc_dll/wxbase28ud_xml.lib;opti
mized;C:/wxWidgets-2.8.12/lib/vc_dll/wxbase28u_xml.lib;debug;C:/wxWidgets-2.8.12
/lib/vc_dll/wxmsw28ud_html.lib;optimized;C:/wxWidgets-2.8.12/lib/vc_dll/wxmsw28u
_html.lib;debug;C:/wxWidgets-2.8.12/lib/vc_dll/wxmsw28ud_adv.lib;optimized;C:/wx
Widgets-2.8.12/lib/vc_dll/wxmsw28u_adv.lib;debug;C:/wxWidgets-2.8.12/lib/vc_dll/
wxmsw28ud_aui.lib;optimized;C:/wxWidgets-2.8.12/lib/vc_dll/wxmsw28u_aui.lib;debu
g;C:/wxWidgets-2.8.12/lib/vc_dll/wxmsw28ud_gl.lib;optimized;C:/wxWidgets-2.8.12/
lib/vc_dll/wxmsw28u_gl.lib;debug;C:/wxWidgets-2.8.12/lib/vc_dll/wxpngd.lib;optim
ized;C:/wxWidgets-2.8.12/lib/vc_dll/wxpng.lib;debug;C:/wxWidgets-2.8.12/lib/vc_d
ll/wxtiffd.lib;optimized;C:/wxWidgets-2.8.12/lib/vc_dll/wxtiff.lib;debug;C:/wxWi
dgets-2.8.12/lib/vc_dll/wxjpegd.lib;optimized;C:/wxWidgets-2.8.12/lib/vc_dll/wxj
peg.lib;debug;C:/wxWidgets-2.8.12/lib/vc_dll/wxzlibd.lib;optimized;C:/wxWidgets-
2.8.12/lib/vc_dll/wxzlib.lib;debug;C:/wxWidgets-2.8.12/lib/vc_dll/wxregexud.lib;
optimized;C:/wxWidgets-2.8.12/lib/vc_dll/wxregexu.lib;debug;C:/wxWidgets-2.8.12/
lib/vc_dll/wxexpatd.lib;optimized;C:/wxWidgets-2.8.12/lib/vc_dll/wxexpat.lib;ope
ngl32;glu32;winmm;comctl32;rpcrt4;wsock32
--
-- *** Staging to build opencpn ***
-- Build type: Release
-- *** Will install to C:/Program Files (x86)/OpenCPN ***
-- Found Gettext: C:/Program Files (x86)/Poedit/GettextTools/bin/msgmerge.exe
-- tinyxml library not found
-- S57
ENC support: enabled
--
Garmin Host Mode support: enabled
-- Compiling texture
compression library with sse support
--
-- *** Staging to build PlugIns ***
--
-- *** Staging to build dashboard_pi ***
-- *** Staging to build grib_pi ***
-- Writing spec file...
-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for
project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for
project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/dashboard_pi/CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/grib_pi/CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/grib_pi/CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: C:/Data-Juno/opencpn-git
C:\Data-Juno\opencpn-git>
I am using wxWidgets 2.8.12 and all my paths point there, yet when I try to compile with cmake --build . --config release I get
references to wxWidgets 3.02 and LNK errors. What is going on? Have you changed to 3.02?
Should I go back to v4.0 by executing something like
git -b checkout v4.0.x Version4.0 (Name local branch as Version4.0)?
I can't understand why this has been such an elusive setup.
Thanks for any help/suggestions.
Also getting similar when I try to do chartdlder_pi as standalone.