Subscribe

Difficulty Building OpenCPN's PACKAGE P...

  1. 2012-01-07 16:27:29 PST
    Hello, I'm new to OpenCPN. I would like to add a couple of features to it, but right now I'm just trying to build it on my computer. I've followed the instructions for creating a build for Windows outlined here: http://opencpn.org/ocpn/compiling_source_windows. It took me several tries to get it right, but I successfully built an opencpn.exe file. I can double-click on it and OpenCPN appears to run normally. The trouble arises when I build the "PACKAGE" project to create the installer for use on another computer. The build completes without any errors and generates an opencpn_2.6.1227_setup.exe. When I run the installer, it appears to work properly, but the opencpn.exe is missing from the install directory! I've kept away from Windows development for many years and I'm a devout Linux/BSD person. To say my skills with Visual C++ are "rusty" is being kind. Any suggestions that will help me create a successful installer are greatly appreciated! Here's a website that outlines my goals to fix the problems my dad is having with his radar plotter: http://www.johnlorenz.net/opencpn. Thank you! John Lorenz
  2. 2012-03-09 04:47:25 PST
    John... Sorry for not responding earlier, but actually noone is using these forums anymore and we observe them very rarely - all the OpenCPN related stuff is discussed on http://www.cruisersforum.com/forums/f134/ To your problem: opencpn.exe is really missing from the package, which I've never encountered as of yet. Could I have a look at the complete output produced by cmake --build . --target package --config release on your machine? Better purge the whole build directory before doing it to be sure everything is fresh and shiny. It's not very verbose about the packaging step, but better than nothing to start with. You may also have a look at the contents of _CPack_Packages\win32\NSIS\opencpn_2.6.XXXX_setup in your build directory to see if opencpn.exe gets copied there while the package is being built. If it's there, you may try to manually run project.nsi in _CPack_Packages\win32\NSIS to get a very detailed log from the NSIS packaging. I have looked at your site - if you decide to start some work on multiple data sources, let me know, it's pretty high on my list as well especially due to the increasing need for NMEA2000 Thanks and welcome Pavel
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.