If you have the shapelib package installed, you will need to patch the CMakeFile for it to NOT use the system one, as that will break the build.
See the patchfile in the opencpn AUR package on what to do exactly.
Search Criteria
Package Details: opencpn-git 5.12.0.r69.gf3d839f4d-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/opencpn-git.git (read-only, click to copy) |
---|---|
Package Base: | opencpn-git |
Description: | Open Source Chart Plotting / Marine Navigation - Git version |
Upstream URL: | http://opencpn.org |
Licenses: | GPL2 |
Conflicts: | opencpn |
Provides: | opencpn |
Submitter: | gromain |
Maintainer: | cybuzuma |
Last Packager: | cybuzuma |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2019-11-19 11:29 (UTC) |
Last Updated: | 2025-08-02 17:52 (UTC) |
Dependencies (16)
- glew (glew-libepoxyAUR, glew-wayland-gitAUR, glew-gitAUR)
- glu (glu-gitAUR)
- libarchive (libarchive-gitAUR)
- libexif (libexif-gitAUR)
- libsndfile (libsndfile-gitAUR)
- portaudio
- rapidjson (rapidjson-gitAUR)
- sqlite (sqlite-fossilAUR)
- tinyxml (tinyxml-gitAUR)
- webkit2gtk-4.1 (webkit2gtk-4.1-imgpasteAUR)
- wxsvg
- wxwidgets-gtk3 (wxwidgets-gtk3-lightAUR, wxwidgets-gtk3-gitAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- lsb-release (make)
- gpsd (optional) – GPS position support
Required by (8)
- opencpn-plugin-celestial-navigation (requires opencpn)
- opencpn-plugin-climatology (requires opencpn)
- opencpn-plugin-draw (requires opencpn)
- opencpn-plugin-o_charts (requires opencpn)
- opencpn-plugin-polar (requires opencpn)
- opencpn-plugin-route (requires opencpn)
- opencpn-plugin-weatherfax (requires opencpn)
- opencpn-plugin-weatherrouting (requires opencpn)
Sources (1)
cybuzuma commented on 2025-08-02 17:59 (UTC)
cybuzuma commented on 2025-08-02 17:53 (UTC)
@Polly thanks for the reminder. I have updated the PKGBUILD to be in line with the opencpn release one.
Polly commented on 2025-06-17 08:44 (UTC)
I needed to recompile against wxwidgets-gtk3
, rather than the no longer existing wxgtk3
. Modifying the PKGBUILD
correspondingly and building the package seems to be fine.
glenjo commented on 2020-07-13 17:01 (UTC)
So I finally got Opencpn compiled and running BUT I had to download and compile wxWidgets from source, and Opencpn from source too. I think the error results from having wxWidgets compiled by a different version of gcc. I think, I'm not sure.
glenjo commented on 2020-07-02 04:55 (UTC) (edited on 2020-07-02 04:56 (UTC) by glenjo)
I just compiled and ran and had the same error: (opencpn:1005990): Gtk-ERROR **: 21:51:40.420: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported Trace/breakpoint trap (core dumped)
The package was opencpn-git-5.1.529.Beta.r97.gd195ce2ca-1-x86_64.pkg.tar.xz (I'm hoping that contains the commit information you need to make sense of all this!) Thanks for your work, and let me know if there is anything you would like me to try.
gromain commented on 2020-06-29 07:51 (UTC)
Bug has been solved upstream, package has been updated. Please test on your side.
gromain commented on 2020-06-28 10:24 (UTC)
I think the problem comes from commit 116a629f8. I've reported the problem upstream.
In the meantime, I'll update the package to build on commit af5f5b644 which works for me. Please report if this breaks the build on your system too.
glenjo commented on 2020-06-17 23:10 (UTC)
I think that the error comes about due to the upgrade to gcc-10, and as you mentioned, the fact that wxwidgets is still compiled under gcc-9. I've been looking around for the compiler switch that I can add to /etc/makepkg.conf that turns off this error, but so far no joy.
gromain commented on 2020-06-16 21:34 (UTC)
After cleaning the cache and build folder, I've got a new error on startup:
(opencpn:17479): Gtk-CRITICAL **: 23:33:29.220: gtk_window_resize: assertion 'height > 0' failed
gromain commented on 2020-06-16 20:55 (UTC)
I don't know where this error is coming from, I'm still investigating. Looks like wxgtk id not the same version, but it is still. So yeah...
Pinned Comments
cybuzuma commented on 2025-08-02 17:59 (UTC)
If you have the shapelib package installed, you will need to patch the CMakeFile for it to NOT use the system one, as that will break the build.
See the patchfile in the opencpn AUR package on what to do exactly.