Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-08-2016, 12:21   #1
Registered User

Join Date: Feb 2013
Location: Kourou, French Guyana
Boat: Allegro 33
Posts: 240
Create installation Package.

I am trying to install NSIS and if you read the manual "Compiling Windows" the installation should add "HKEY_LOCAL_MACHINE\SOFTWARE\NSIS" to the registry.
This does not happen. There is no such key.
There is however a key "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NSIS"
I have a 64 bit machine.
Maybe the manual should be updated or have I missed something ?
__________________

__________________
hasse_A is offline   Reply With Quote
Old 05-08-2016, 13:01   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,989
Re: Create installation Package.

hasse_A...
Yes, if you have a 64bit version of Windows, the key is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NSIS instead.
FWIW, if your cmake version is "new enough", the bug this copy operation works around seems already fixed and it is not needed at all anymore. Documentation updated to hopefully cover all possible situations a person trying to follow the instructions can possibly be in.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 05-08-2016, 13:14   #3
Registered User

Join Date: Feb 2013
Location: Kourou, French Guyana
Boat: Allegro 33
Posts: 240
Re: Create installation Package.

Thanks Pavel.
Am am stunned. You are fantastic.
/Hans
__________________
hasse_A is offline   Reply With Quote
Old 06-08-2016, 10:47   #4
Registered User

Join Date: Feb 2013
Location: Kourou, French Guyana
Boat: Allegro 33
Posts: 240
Re: Create installation Package.

I think there is an ambiguity in the Developers manual.
I am using Windows.

Under "4. Build OpenCPN"
It says "CD into your the topmost source directory and create a directory named build under it:"

Now that can, as I see it, be either under .....\OpenCPN or under ....\OpenCPN\src. Which is it ?

/Hans
__________________
hasse_A is offline   Reply With Quote
Old 06-08-2016, 10:51   #5
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,989
Re: Create installation Package.

Hans...
Really? Do you think that a clarification as "Topmost directory is the topmost directory, not the src subdirectory" is necessary? Feel free to update the instructions, IMO this would already be a bit too much.

Pavel
__________________
nohal is offline   Reply With Quote
Old 06-08-2016, 11:05   #6
Registered User

Join Date: Feb 2013
Location: Kourou, French Guyana
Boat: Allegro 33
Posts: 240
Re: Create installation Package.

Just leave out the words your and source.

"CD into the topmost directory and create a directory named build under it:"

Then I think it's obvious. No one would think it's under C:\

/Hans
__________________
hasse_A is offline   Reply With Quote
Old 06-08-2016, 11:06   #7
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,989
Re: Create installation Package.

Quote:
Originally Posted by hasse_A View Post
Then I think it's obvious. No one would think it's under C:\
That's what I'm really not sure...
__________________
nohal is offline   Reply With Quote
Old 06-08-2016, 11:13   #8
Registered User

Join Date: Feb 2013
Location: Kourou, French Guyana
Boat: Allegro 33
Posts: 240
Re: Create installation Package.

Ok, Maybe it can be written like this then.

"CD into the topmost directory. i.e. under OpenCPN and create a directory named build under it:"
__________________
hasse_A is offline   Reply With Quote
Old 06-08-2016, 11:17   #9
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,989
Re: Create installation Package.

Hans...
For me it is really not any more comprehensible than what there is now. But as I said, feel free to rephrase the instructions.

Pavel
__________________
nohal is offline   Reply With Quote
Old 06-08-2016, 11:21   #10
Registered User

Join Date: Feb 2013
Location: Kourou, French Guyana
Boat: Allegro 33
Posts: 240
Re: Create installation Package.

I won't change anything as what is not obvious for me might be for others and
I may risk making it less obvious for them.

/Hans
__________________
hasse_A is offline   Reply With Quote
Old 06-08-2016, 11:25   #11
Registered User
 
Viking Sailor's Avatar

Join Date: Nov 2006
Location: San Francisco Bay
Boat: Fantasia 35 - s/v Feeling Good
Posts: 1,062
Re: Create installation Package.

You could show an example...
__________________
Viking Sailor is offline   Reply With Quote
Old 06-08-2016, 13:31   #12
Registered User

Join Date: Feb 2013
Location: Kourou, French Guyana
Boat: Allegro 33
Posts: 240
Re: Create installation Package.

Now I have managed to create an installation package for OpenCPN.

I will now try to create an installation package for the Garmin xHD radar plugin.
__________________
hasse_A is offline   Reply With Quote
Old 06-08-2016, 14:45   #13
Registered User

Join Date: Feb 2013
Location: Kourou, French Guyana
Boat: Allegro 33
Posts: 240
Re: Create installation Package.

I have created an installation package for the gxradar plugin but
I get the error message that my plugin is not compatible with my 4.2.0
version of OpenCPN.
Now, could it be that I have used a version of wxWidget that is to new?
I have version 3.1.0 installed.
And might this be the only reason or are there other issues?

/Hans
__________________
hasse_A is offline   Reply With Quote
Old 06-08-2016, 15:32   #14
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,989
Re: Create installation Package.

Hans...
The reasons can be numerous. The plugin and the core program of course must use the same version of wxWidgets, you can't mix Release and Debug builds of core and plugins, the plugin has to be linked against opencpn.lib version <= the ABI of your OpenCPN core program, etc.
The logfile should contain a message explaining why the program refused to load the plugin DLL and whether it found it at all.

Pavel
__________________
nohal is offline   Reply With Quote
Old 06-08-2016, 15:47   #15
Registered User

Join Date: Feb 2013
Location: Kourou, French Guyana
Boat: Allegro 33
Posts: 240
Re: Create installation Package.

Thanks Pavel!

I am at the moment fixing the wxWidgets to version 3.0.2.
How do I know what version of opencpn_lib to use and where to find it ?

/Hans
__________________

__________________
hasse_A is offline   Reply With Quote
Reply

Tags
installation

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to Create Account to Help with Doc, but No Luck ! pragmatist OpenCPN 4 29-06-2010 08:22
Help create better charts TimThornton Navigation 0 25-06-2010 03:52
How to Create a Shaft Brake ? Geoff H. Monohull Sailboats 14 12-05-2010 21:23
DOH! How can I create a photo gallery... Christian Van H Forum Tech Support & Site Help 5 10-11-2008 05:15
Create a Solarium Lanzarote Off Topic Forum 0 21-12-2006 04:43



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 22:10.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.