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 23-02-2013, 01:56   #751
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Help / FAQ

Quote:
Originally Posted by Simppa View Post
Pavel,

I still have one problem: I don't get the signal from gps to OpenCPN.

I installed the gpsd from Ubuntu (version 3.6) from terminal with "apt-get build -dep gpsd". I think I had all the necessary compilers and libraries needed for the installation (at least there were no error messages. But: 1) I didn't have the qt4 development tools, which is not available for Ubuntu. 2) I don't know if the tinfo package was set in a proper way.
After installation completed I set the the xgsp path to /dev/ttyUSB0. The xgps seems to be working. The connection in OpenCPN was set also to /dev/ttyUSB0.
If I try to run gpsd from terminal, I get an error message "gpsd:ERROR: can't run with neither control socket nor devices".
If I try to set the gpsd path I get an error message "gpsd -F /dev/ttyUSB0
gpsd:ERROR: can't listen on local socket /dev/ttyUSB0
gpsd:ERROR: control socket create failed, netlib error -1.

So the problem seems to be the control socket. Do you have any idea on how to fix it or where to ask?

br
Simppa
Simppa

Quote:
After installation completed I set the the xgsp path to /dev/ttyUSB0. The xgps seems to be working. The connection in OpenCPN was set also to /dev/ttyUSB0.
That will never work, and is not how you connect to gpsd, neither in 3.0.2 nor the latest betas.
Please read Data Connections | Official OpenCPN Homepage, to understand how things are done. There are clear instructions for gpsd.

Basically you are trying to connect to the same port as gpsd (impossible) instead of connecting to gpsd.

Thomas.
cagney is offline   Reply With Quote
Old 23-02-2013, 02:18   #752
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Help / FAQ

Quote:
Originally Posted by b_rodwell View Post
I have been browsing through all the posts. I notice very few posts about the Mac version.

Is this indicative of few people using this version or is it indicative that there are less problems with this version?
....
.....
Neither, I would say!
Looking at the download statistics from SourceForge, 83% of the downloads are for Windows while both Linux and Mac are around 8 %. No figures are available for betas or source downloads, where Linux probably is doing much better.
In the 3.1 beta cycle there has been a lot of attention payed to Mac, but some more attention to details may be needed.
We do suffer a bit from lack of developers with Mac skills. Right now, we have just one person that is able to build a Mac package from source. When he, aka "bdbcat", has bad network connections and can't upload beta packages, there isn't much for Mac users to test.
This is another reason why there is less written about Mac on this forum, at the moment.

Thomas
cagney is offline   Reply With Quote
Old 23-02-2013, 07:19   #753
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,239
Re: Help / FAQ

Help Compiling Windows and a wifi update note

Hi, I've a mission to, eventually, learn building from source. I've followed the advices in Compiling - Windows | Official OpenCPN Homepage but stuck on a point described down. Please advice further actions.

Present status:
1- VC++2010 Express - Check
2- On XP. So... Speed up... - Check
3- VC SP1 - Check
4- GIT for W -Check (Note: Did it two times upon each other. Missed CR/LF first)
5- Cmake -Check
6- Gettext -Check
7- NSIS - Not installed
8- WxWidgets incl. two modification as advised. -Check
9- Comp wxW Alt 1. - Check (Long run. Ended ok. A second try - no actions. ok?)
10- Convert sollution to VC++ - Error as described "xxx.dsp". Zero(0) sollutions loaded.
11- Tried to install VC++2008 as described - failed. The wiki link "Get it from Visual Studio 2012 Overview | Microsoft Visual Studio" is now redirected to VC2010 and -2012 only. Couldn't find it anywhere else.
So... Here is the point I could need some help. Where to find VC2088 OR (preferably) any other tips to work around the convert sollution error?

(For wiki updating: The VC2008 link is obsolete.)

Thanks Håkan
Hakan is offline   Reply With Quote
Old 23-02-2013, 08:02   #754
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Help / FAQ

Simppa...
- GPSD should start automatically when you insert the GPS (BTW, what was the reason not to install it with a simple 'apt-get install gpsd'?).
- You can't connect more than one application to a serial/USB port at the same time, that's why GPSD exists - actually that's why you saw the error - another process was already using /dev/ttyUSB0
- While using GPSD, set the GPS source to GPSD in openCPN (It's described well in the manual - Setting Up GPS | Official OpenCPN Homepage and Data Connections | Official OpenCPN Homepage)

Pavel
nohal is offline   Reply With Quote
Old 23-02-2013, 08:16   #755
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Help / FAQ

Hakan..
Thanks, I have marked it as optional and not needed even more prominently and changed the download link to some that works (at least now)...
I really suggest you use the first recommended way to build wx using nmake, that's why it's actually recommended

Pavel

Quote:
Originally Posted by Hakan View Post
Help Compiling Windows and a wifi update note

Hi, I've a mission to, eventually, learn building from source. I've followed the advices in Compiling - Windows | Official OpenCPN Homepage but stuck on a point described down. Please advice further actions.

Present status:
1- VC++2010 Express - Check
2- On XP. So... Speed up... - Check
3- VC SP1 - Check
4- GIT for W -Check (Note: Did it two times upon each other. Missed CR/LF first)
5- Cmake -Check
6- Gettext -Check
7- NSIS - Not installed
8- WxWidgets incl. two modification as advised. -Check
9- Comp wxW Alt 1. - Check (Long run. Ended ok. A second try - no actions. ok?)
10- Convert sollution to VC++ - Error as described "xxx.dsp". Zero(0) sollutions loaded.
11- Tried to install VC++2008 as described - failed. The wiki link "Get it from Visual Studio 2012 Overview | Microsoft Visual Studio" is now redirected to VC2010 and -2012 only. Couldn't find it anywhere else.
So... Here is the point I could need some help. Where to find VC2088 OR (preferably) any other tips to work around the convert sollution error?

(For wiki updating: The VC2008 link is obsolete.)

Thanks Håkan
nohal is offline   Reply With Quote
Old 23-02-2013, 08:49   #756
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
Send a message via Skype™ to HotRod
Re: Help / FAQ

Quote:
Originally Posted by b_rodwell View Post
I have been browsing through all the posts. I notice very few posts about the Mac version.

Is this indicative of few people using this version or is it indicative that there are less problems with this version?

Brian Rodwell
My guess is that the the majority use the windows and linux versions. I think this is also the reason that the mac release usually hangs behind.
I'm thinking that mac isn't prioritized, since that usergroup is much smaller than the other groups.
__________________
Best Regards
OpenCPN Norge - Norwegian OpenCPN community
Frode
HotRod is offline   Reply With Quote
Old 23-02-2013, 09:11   #757
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,239
Re: Help / FAQ

Pavel
Ooops.. Thanks. I must have been tired. I did alternative 1 and then continued in the list with the header "Convert the solution to VC++..." as it was next step.
So, I suppose next step is then "Making your life with vxWidgets easier" ? (The headers are falling together when everything is not obvious)
Please have patients with me.

Håkan
Hakan is offline   Reply With Quote
Old 23-02-2013, 11:43   #758
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Help / FAQ

Hakan...
Yes, modify the $PATH and then you should be able to compile the OpenCPN source without problems.

Pavel
nohal is offline   Reply With Quote
Old 23-02-2013, 23:25   #759
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,239
Re: Help / FAQ

Pavel..
Thanks, works fine. This is fun. Thanks to OCPN's wiki and supporting folks I'm soon a hacker. Well, maybe a bit pretentious, understatement, but I enjoy to learn C coming from DCS with graphical blocks and minor VBasic.
Hakan is offline   Reply With Quote
Old 13-08-2013, 11:40   #760
Registered User

Join Date: Sep 2010
Posts: 167
Re: Help / FAQ

Hi
I am having a problem getting Opencpn to recognize charts I have made. I have done this a lot in the past but seem to have hit a wall. It will probable be one of those forest for the trees deals but I am getting frustrated.
I am making these using Google Earth pics. I download the jpg. I photoshop it to correct the color. I use Image magic to convert to a tif and png with the correct color pallet. I use Mapcal to georeferance it and make a header. I use mc2bsbh to convert to an .hdr file. I use tif2bsb -c 127 chart.hdr chart.tif chart.kap to make the chart. When I put it in the directory where I keep my charts and run "scan charts" in Opencpn it does not show up. Any ideas?
Bob
svadagio is offline   Reply With Quote
Old 13-08-2013, 12:18   #761
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,461
Re: Help / FAQ

Bob...

Lets see the log file, please.

Dave
bdbcat is offline   Reply With Quote
Old 13-08-2013, 15:03   #762
Registered User

Join Date: Sep 2010
Posts: 167
Re: Help / FAQ

Hi
I forgot to say I can open these in OziExplorer just fine. The two charts in question are Escondido.kap and RioSanJuan.kap. Here is two pieces of the log file. If you need more let me know.

Searching directory: C:\KapCharts\Imary for 00300000.a
2:22:46 PM: Finished chart database Update
2:22:46 PM:
2:22:46 PM: Chart cache purge
2:22:46 PM: Initializing Chart C:\KapCharts\GoogleCharts\RioSanJuan.kap
2:22:46 PM: VP Final Check: Georeference Chart_Error_Factor on chart C:\KapCharts\GoogleCharts\RioSanJuan.kap is 0.491302
2:22:47 PM: LOGBOOK: 2013-07-28 18:22:47 UTC DR Lat 25.07860 Lon -77.32770
2:22:49 PM: Initializing Chart C:\KapCharts\GoogleCharts\BAK\DR.kap
2:23:08 PM: Initializing Chart C:\KapCharts\GoogleCharts\RioSanJuantoEscondido.ka p
2:23:11 PM: Initializing Chart C:\KapCharts\GoogleCharts\SolsatoSanJuan.kap
2:23:21 PM: Initializing Chart C:\KapCharts\Region2\25720.kap
2:23:25 PM: Initializing Chart C:\KapCharts\Region2+\M27005_0.kap
2:23:28 PM: Initializing Chart C:\KapCharts\Region2\27005.kap
2:23:31 PM: Initializing Chart C:\KapCharts\Region Misc\402.kap
2:23:33 PM: Initializing Chart C:\KapCharts\Region Misc\108.kap
2:23:42 PM: EnumerateSerialPorts() Found Garmin USB Driver.
2:24:19 PM: Closing NMEA Datastream Serial:COM29

2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\ElBight.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\ElBight.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\ElCastillo.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\ElCastillo.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\Ensenada.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\Ensenada.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\Escondido.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\Escondido.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\FrenchHarbor.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\FrenchHarbor.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\GuaApproch.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\GuaApproch.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\Guanaja.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\Guanaja.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\IleVache.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\IleVache.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\Jonesville.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\Jonesville.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\JoshsKey.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\JoshsKey.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\Luperon.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\Luperon.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\LuperontoSolsa.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\LuperontoSolsa.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\ManateeInn.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\ManateeInn.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\MichaelsRock.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\MichaelsRock.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\PortMorgan.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\PortMorgan.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\RioSanJuan.kap
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\RioSanJuan.kap
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\RioSanJuantoEscondido.ka p
2:24:21 PM: Adding chart file: C:\KapCharts\GoogleCharts\RioSanJuantoEscondido.ka p
2:24:21 PM: Loading chart data for C:\KapCharts\GoogleCharts\Roatan.kap

Bob
svadagio is offline   Reply With Quote
Old 13-08-2013, 15:16   #763
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,461
Re: Help / FAQ

Bob...

Well, they seem to be loading OK. So, we had better take a look at the header for a sample chart.

Dave
bdbcat is offline   Reply With Quote
Old 15-08-2013, 06:21   #764
Registered User

Join Date: Sep 2010
Posts: 167
Re: Help / FAQ

Well I found it. I was expiramenting with differant projections to see if I could get better results with Google Earth. I used Lambert Conical. Opencpn does not support that. Thanks for the help.
Bob
svadagio is offline   Reply With Quote
Old 15-08-2013, 06:27   #765
Registered User

Join Date: Sep 2010
Posts: 167
Re: Help / FAQ

Paul Higgins
I am wondering what projection you use for Google Earth kaps. I mean mercater etc. I am experimenting with this.
Thanks
Bob
svadagio is offline   Reply With Quote
Reply


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


Advertise Here


All times are GMT -7. The time now is 15:37.


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.