Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 31-08-2012, 03:03   #31
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Version 3.0.2 Release

Dave...
Did some testing. Changed the installer package to include and install msvcr100.dll and msvcp100.dll instead of including and running vc_redist.exe. Result is a smaller package which installs faster and runs on XP with SP2 or newer (confirmed).
It does not work on XP SP1 or earlier because of the runtime not working there (confirmed).
I would personally include this change in the trunk, but the decision is yours.

For me, the only thing that makes sense (by means of being worth the effort and time needed) to support older systems is to create VC2008 based build environment and do a (very slightly patched in the installer and libraries included) build (probably including the most common plugins to reduce the confusion on the download pages, which sure would come) advertised as "Package for legacy operating systems".

Cygwin is IMHO out of question - our codebase is perfectly portable, so there's no point in using a unix emulation layer, not talking about the problems you mentioned earlier.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 31-08-2012, 05:15   #32
Registered User
 
sy_gilana's Avatar

Join Date: Jan 2005
Location: On board
Boat: Van de Stadt 50'
Posts: 1,101
Send a message via Skype™ to sy_gilana
Re: OpenCPN Version 3.0.2 Release

Hi Pavel and Dave. You guys should not consider retrograding ever, you do enough work as it is. And great stuff too. All I need to know is: What does OpenCPN check before it bombs the installation. I will take my chances editing the registry, or putting null files with the correct filename in the right places. I am prepared to do the workaround until I find a newer 'puter, or change O/S to Linux, which is on the cards anyway...
__________________

__________________
Tight sheets to ya.
http://gilana.org
sy_gilana is offline   Reply With Quote
Old 31-08-2012, 05:38   #33
Registered User
 
Jef & Marin, Netherlands's Avatar

Join Date: Feb 2008
Location: Liveaboard
Boat: Switch 51 #10
Posts: 452
Re: OpenCPN Version 3.0.2 Release

OpenCPN's website states:
" it is not possible use the same port for all three of AIS, GPS, and A/P below, in Version 3.0."
Having this possibility is a long-standing wish of mine, and probably others. Could you tell me when you think this will be implemented?

Reason to require this:
I am using a Miniplex2-USB multiplexer for AIS, GPS and some other inputs, and output to the autopilot. The multiplexer has one USB, therefore AIS, GPS and A/P have to be on the same COM port.
Datarate of the NMEA signals of the multiplexer are configured in the multiplexer, so communication rate of openCPN over USB to the multiplexer (eg 38400) is decoupled from actual NMEA rate in/out of the multiplexer
__________________
Jef & Marin, Netherlands is offline   Reply With Quote
Old 31-08-2012, 06:25   #34
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Version 3.0.2 Release

Quote:
Originally Posted by Jef & Marin, Netherlands View Post
OpenCPN's website states:
" it is not possible use the same port for all three of AIS, GPS, and A/P below, in Version 3.0."
Having this possibility is a long-standing wish of mine, and probably others. Could you tell me when you think this will be implemented?
It's scheduled for this release cycle, the implementation should make it into the next beta.

Pavel
__________________
nohal is offline   Reply With Quote
Old 31-08-2012, 07:03   #35
Registered User
 
Jef & Marin, Netherlands's Avatar

Join Date: Feb 2008
Location: Liveaboard
Boat: Switch 51 #10
Posts: 452
Same COM port for AIS, GPS and A/P output

Pavel,
Thanks. Great! I'll install and try it, once it's there
__________________
Jef & Marin, Netherlands is offline   Reply With Quote
Old 31-08-2012, 10:48   #36
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: OpenCPN Version 3.0.2 Release

I like Pavel's idea for sure, because as it is, a full-install of O pops up in my firewall, which is unpleasant .
__________________
HappySeagull is offline   Reply With Quote
Old 31-08-2012, 12:04   #37
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Version 3.0.2 Release

Pavel...

Why do we need VS2008 toolchain build if the manual install of msvcr100.dll and msvcp100.dll work OK on legacy systems?

Confused, again...
Dave
__________________
bdbcat is offline   Reply With Quote
Old 31-08-2012, 12:44   #38
Registered User
 
sy_gilana's Avatar

Join Date: Jan 2005
Location: On board
Boat: Van de Stadt 50'
Posts: 1,101
Send a message via Skype™ to sy_gilana
Re: OpenCPN Version 3.0.2 Release

Quote:
Originally Posted by bdbcat View Post
Pavel...

Why do we need VS2008 toolchain build if the manual install of msvcr100.dll and msvcp100.dll work OK on legacy systems?

Confused, again...
Dave
Is this all I have to do to make it work? I tried the MSVC++ install, and the OpenCPN installer still bombed.

What is OpenCPN looking for at install time? I'd rather hack it than ask you to re-write the installer...
__________________
Tight sheets to ya.
http://gilana.org
sy_gilana is offline   Reply With Quote
Old 31-08-2012, 13:22   #39
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Version 3.0.2 Release

sy_gilana...

The installer is using windows API GetVersionEx() to determine the SP level.

It may be possible to spoof this in the registry. Quick google shows some hits. Have a look.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 31-08-2012, 14:08   #40
Registered User
 
sy_gilana's Avatar

Join Date: Jan 2005
Location: On board
Boat: Van de Stadt 50'
Posts: 1,101
Send a message via Skype™ to sy_gilana
Re: OpenCPN Version 3.0.2 Release

Quote:
Originally Posted by bdbcat View Post
sy_gilana...

The installer is using windows API GetVersionEx() to determine the SP level.

It may be possible to spoof this in the registry. Quick google shows some hits. Have a look.

Dave
Thanks Dave, I now have V3.02 running on Xp Sp 2!

Heres how, (usual disclaimers)
Open regedit, and navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Windows
Edit Key CSDVersion, Service Pack 2 has a value of 200
Change it to 300, save, restart and install V3.02

Thanks for the pointer...
__________________
Tight sheets to ya.
http://gilana.org
sy_gilana is offline   Reply With Quote
Old 31-08-2012, 17:23   #41
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Version 3.0.2 Release

Quote:
Originally Posted by bdbcat View Post
Pavel...

Why do we need VS2008 toolchain build if the manual install of msvcr100.dll and msvcp100.dll work OK on legacy systems?

Confused, again...
Dave
Dave...
msvcr100.dll does not work on anything older than XP SP2. If it's enough, we do not need VS2008 toolchain at all.

Pavel
__________________
nohal is offline   Reply With Quote
Old 31-08-2012, 18:01   #42
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: OpenCPN Version 3.0.2 Release

@sv_gilana- nice hack! My xp now reports itself as sp3! That can be useful!
__________________
HappySeagull is offline   Reply With Quote
Old 01-09-2012, 02:18   #43
Registered User
 
sy_gilana's Avatar

Join Date: Jan 2005
Location: On board
Boat: Van de Stadt 50'
Posts: 1,101
Send a message via Skype™ to sy_gilana
Re: OpenCPN Version 3.0.2 Release

Quote:
Originally Posted by HappySeagull View Post
@sv_gilana- nice hack! My xp now reports itself as sp3! That can be useful!
Hi Happy, I would change it back to "200" after the install as the SP3 might flag automatic updates from Micro$oft that are not applicable to SP2....
__________________
Tight sheets to ya.
http://gilana.org
sy_gilana is offline   Reply With Quote
Old 01-09-2012, 02:36   #44
Registered User
 
sy_gilana's Avatar

Join Date: Jan 2005
Location: On board
Boat: Van de Stadt 50'
Posts: 1,101
Send a message via Skype™ to sy_gilana
Re: OpenCPN Version 3.0.2 Release

@ Pavel, @ Dave. Opinion...XP has 22% of the demographics out there.
SP1 and SP2 were released 11 months apart. SP2 was released August 2004.
I would say that its a safe bet to say that 95% of XP users are SP2 or later.
I watched the installation of 3.02 after the registry hack.
I would remove the MSVC from the installer, add the two files as Pavel suggested for a smaller faster install, or if there are Copyright issues, instruct users how/where to locate them. Then offer the Reg Spoof as a legacy system workaround for the 3 of us that are stuck on an old craptop until a better one comes along...

happy to be playing with 3.02, preparing for our next transatlantic end of year. Going to verify the Gibraltar harmonics as that is fundamental to a comfortable passage through the straits...

regards...
__________________
Tight sheets to ya.
http://gilana.org
sy_gilana is offline   Reply With Quote
Old 01-09-2012, 03:22   #45
Senior Cruiser
 
sailorF54's Avatar

Cruisers Forum Supporter

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 829
Re: OpenCPN Version 3.0.2 Release

Quote:
Originally Posted by sy_gilana View Post
.

happy to be playing with 3.02, preparing for our next transatlantic end of year. Going to verify the Gibraltar harmonics as that is fundamental to a comfortable passage through the straits...

regards...
For tides in this area (Tarifa, Gib...), see my post
Tides for Portugal and the Med
__________________

__________________
sailorF54 is offline   Reply With Quote
Reply

Tags
opencpn

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 16:45.


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.