rasbats / dr_pi Goto Github PK
View Code? Open in Web Editor NEWAdd DR positions to a route (saved as a GPX file)
License: GNU General Public License v3.0
Add DR positions to a route (saved as a GPX file)
License: GNU General Public License v3.0
On line 123 in src/DRgui_impl.cpp there is an assignment in the if statement instead of a condition. Here's a heads-up if it was not meant to be like that.
Hello,
I did the deployment of your last version of DR_pi. I use the opencpn.lib (4.2-vc120_xp) https://osdn.net/projects/sfnet_opencpnplugins/downloads/opencpn_lib/4.2-vc120_xp/opencpn.lib/
and it has generated the dll fine! However when i add it to the OPENCPN's plugin folder it does not shows up on plugins tab to be enabled. Do you have any idea? I'am using the wxwidgets 3.1.2 and the VS_140 libraries.
When force the selection of GTK3 (as auto selection still complains of missing gtk2) by the option in make cmake command and fails to complete the configuration.
BUILD_GTK3="true";\
cmake -DCMAKE_SKIP_RPATH=ON \
-DOCPN_FORCE_GTK3=ON \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCFLAGS="-O2 -march=native" \
../
make
I still get an configuration error (see details bellow).
The following patch corrects the GTK3 issue.
diff --git a/cmake/PluginConfigure.cmake b/cmake/PluginConfigure.cmake
index 069bfd7..03e1fe6 100644
--- a/cmake/PluginConfigure.cmake
+++ b/cmake/PluginConfigure.cmake
@@ -393,7 +393,8 @@ if(NOT WIN32
set(GTK_LIBRARIES ${GTK2_LIBRARIES})
message(STATUS "${CMLOC}Building against GTK2...")
else(GTK2_FOUND)
- find_package(GTK3)
+ find_package(PkgConfig)
+ pkg_check_modules(GTK3 gtk+-3.0)
include_directories(${GTK3_INCLUDE_DIRS})
set(GTK_LIBRARIES ${GTK3_LIBRARIES})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__WXGTK3__")
---------- configuration error log extract without the patch----------------
[ 5s] CMake Warning at cmake/PluginConfigure.cmake:396 (find_package):
[ 5s] By not providing "FindGTK3.cmake" in CMAKE_MODULE_PATH this project has
[ 5s] asked CMake to find a package configuration file provided by "GTK3", but
[ 5s] CMake did not find one.
[ 5s]
[ 5s] Could not find a package configuration file provided by "GTK3" with any of
[ 5s] the following names:
[ 5s]
[ 5s] GTK3Config.cmake
[ 5s] gtk3-config.cmake
[ 5s]
[ 5s] Add the installation prefix of "GTK3" to CMAKE_PREFIX_PATH or set
[ 5s] "GTK3_DIR" to a directory containing one of the above files. If "GTK3"
[ 5s] provides a separate development package or SDK, be sure it has been
[ 5s] installed.
[ 5s] Call Stack (most recent call first):
[ 5s] CMakeLists.txt:123 (include)
Errors.
While trying to build this plugin the build stops with this error:
`Building Dead Reckoning Plugin.....
Checking for Pre-Existing Dead Reckoning Plugin Folder.....
Checking to see if you have the latest updates...
From git://github.com/Rasbats/DR_pi
d110497..4b3dc7e master -> origin/master
Any advice on how to fix this problem?
Thanks,
Freddie
Dear developer,
I would like to make your plugin available to the users of Gentoo Linux.
Right now this is not possible because there are no releases available for your plugin.
It would be very usefull to have tagged releases, so the source for a specific version of the plugin can be downloaded. Please add a release/tag for your released versions. This makes packaging a lot easier.
Please see: Creating Releases
Thanks in advance!
FS#2698 - Many plugins cannot compile with new PluginConfigure.cmake requiring to run from a git repo
The new version of PluginConfigure.cmake file written by John Gaugh and reused for several plugins (see list bellow) requires the build to be run fro ma git valid repo.
When building packages in the distro system (my case Open Build System from OpenSUSE), the source used for the build is a copy and not a valid git repo, so the cmake fails miserably.
Having at least an option to deactivate that feature to allow and off git build is required.
Could we have a clean solution to by overcome that feature when not needded ?
Thanks.
Dominig
OpenCPN-DR_pi
OpenCPN-nmeaconverter_pi
OpenCPN-ocpn_draw_pi
OpenCPN-photolayer_pi
OpenCPN-UKTides_pi
OpenCPN-vfkaps_pi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.