Hi All,
First there is a problem that I'd like to remedy with the build scripts for the
OpenCPN package in that it doesn't create the folder:
~/OpenCPN.app/Contents/PlugIns
But once this is created the plugins are found when the setting pane is open.
Code:
git clone https://github.com/seandepagnier/climatology_pi
cd climatology_pi/
mkdir build
cd build
cmake ..
make
Output from the cmake .. is as follows:
Code:
Hughs-MacBook-Pro:build hmacread$ cmake ..
-- The C compiler identification is AppleClang 6.0.0.6000054
-- The CXX compiler identification is AppleClang 6.0.0.6000054
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- *** Staging to build climatology_pi ***
-- Found wxWidgets: TRUE
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
-- Found OpenGL...
-- Lib: /System/Library/Frameworks/AGL.framework/System/Library/Frameworks/OpenGL.framework
-- Include: /System/Library/Frameworks/OpenGL.framework
-- Found Gettext: /usr/local/bin/msgmerge (found version "0.19.3")
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
climatology_pi
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/hmacread/code/OpenCPN/currentbuild/plugins/climatology_pi/build
Include error from make:
Code:
[ 30%] Building CXX object CMakeFiles/climatology_pi.dir/src/ClimatologyOverlayFactory.cpp.o
In file included from /Users/hmacread/code/OpenCPN/currentbuild/plugins/climatology_pi/src/ClimatologyOverlayFactory.cpp:28:
In file included from /usr/local/include/wx-3.0/wx/wx.h:15:
In file included from /usr/local/include/wx-3.0/wx/object.h:19:
In file included from /usr/local/include/wx-3.0/wx/memory.h:15:
In file included from /usr/local/include/wx-3.0/wx/string.h:46:
/usr/local/include/wx-3.0/wx/strvararg.h:30:18: fatal error: 'tr1/type_traits' file not found
#include <tr1/type_traits>
^
1 error generated.