Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 05-08-2016, 12:21   #1
Registered User
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 559
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: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
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
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 559
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
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 559
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: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
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
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 559
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: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
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
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 559
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: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
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
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 559
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
Posts: 1,251
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
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 559
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
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 559
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: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
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
 
hasse_A's Avatar

Join Date: Feb 2013
Location: Tyrell Bay,Carriacou
Boat: Allegro 33
Posts: 559
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


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
How to Create a Shaft Brake ? Geoff H. Monohull Sailboats 15 04-04-2018 15:21
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
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 Flotsam & Sailing Miscellany 0 21-12-2006 04:43

Advertise Here


All times are GMT -7. The time now is 14:44.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.