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 24-05-2010, 01:38   #241
Registered User

Join Date: Jan 2010
Boat: Peterson 44
Posts: 13
lat-long-redux

All I can say is that if the lat-long grid is ever added to CPN I would be very happy. I like to use my electronic charts not just for real-time navigation but for planning/plotting/dreaming and if I know an object/place only by lat-long it is easier to find it and place it in larger context with a grid...thanks though to everyone who creates this program!
s/v Oddly Enough
a_hoffner is offline   Reply With Quote
Old 24-05-2010, 14:45   #242
Registered User
 
Rik-lu's Avatar

Join Date: May 2010
Location: Luxembourg
Boat: HR40
Posts: 196
Images: 2
Quote:
Originally Posted by a_hoffner View Post
All I can say is that if the lat-long grid is ever added to CPN I would be very happy. I like to use my electronic charts not just for real-time navigation but for planning/plotting/dreaming and if I know an object/place only by lat-long it is easier to find it and place it in larger context with a grid...thanks though to everyone who creates this program!
s/v Oddly Enough
I also would like the lat-long grid. I tried to print a chart for savety if there is a computer blackout, but without lat-long grid its useless
__________________
Hi from Rik
Rik-lu is offline   Reply With Quote
Old 26-05-2010, 05:36   #243
Registered User

Join Date: Aug 2009
Posts: 189
Hi All,

Monday evening I had a crash when closing the toolbox. I thought it was about my problem of slow opening. I try to reproduce it, and it did all the time. It was when I open the toolbox and then choose "Charts" and just have a look without doing anything and then closing the toolbox.

Sometimes Opencpn was suddenly closing, other times, when closing the toolbox, all the charts were gone and it was all gray at their place. So I had to kill the task.
But the last time, it was impossible to launch Opencpn again. I closed the computer and try again. Noway. So I uninstalled it.

But now it is impossible to install it from the cvs. I have tried directly from the site and also with a lot of cvs I still keep (22, 23, 24, 25, 26 th) but again noway.

Here is what I get all the times :

jp@jp-laptop:~/opencpn_05-25-10_12.51_cvs$ aclocal
jp@jp-laptop:~/opencpn_05-25-10_12.51_cvs$ automake --add-missing
jp@jp-laptop:~/opencpn_05-25-10_12.51_cvs$ autoconf
jp@jp-laptop:~/opencpn_05-25-10_12.51_cvs$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking how to run the C preprocessor... gcc -E
./configure: line 4441: AC_LIBTOOL_DLOPEN: command not found
checking for SSP support/disable... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for useable OpenGLU Library
checking for gluNewTess in -lGLU... yes
checking wxWidgets wx-config... wx-config
checking wxWidgets version... 2.8.10
checking for wxWidgets location... /usr
checking for wxWidgets release (major, minor) number... 2.8
checking for wxWidgets setup header... /usr/lib/wx/include/gtk2-unicode-release-2.8/wx/setup.h
checking for __WXX11__... no
checking for gps_open in -lgps... no
checking for __WXGTK__... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes
checking for libgtk2.0-dev include files... yes
checking for cairo.h in include path... yes
checking for GTK+-2.0 test compile and run...
checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.18.3)
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
jp@jp-laptop:~/opencpn_05-25-10_12.51_cvs$ make
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"opencpn\" -DVERSION=\"0.1\" -DINSTALL_PREFIX=\"/usr/local\" -I. -I././include -I././src/nmea0183 -I/usr/X11R6/include -I././src/mygdal -I././src/grib -I././src/grib/bzip2 -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -Wall -g -DocpnUSE_GTK_OPTIMIZE -DUSE_S57 -DUSE_GLU_TESS -Wall -g -fexceptions -fno-stack-protector -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT chart1.o -MD -MP -MF .deps/chart1.Tpo -c -o chart1.o `test -f 'src/chart1.cpp' || echo './'`src/chart1.cpp
src/chart1.cpp:602:31: error: bitmaps/opencpn.xpm: Aucun fichier ou dossier de ce type
In file included from src/chart1.cpp:127:
././include/grib.h:84: warning: ‘typedef’ was ignored in this declaration
src/chart1.cpp: In constructor ‘MyFrame::MyFrame(wxFrame*, const wxString&, const wxPoint&, const wxSize&, long int)’:
src/chart1.cpp:1888: error: ‘opencpn’ was not declared in this scope
make: *** [chart1.o] Erreur 1
jp@jp-laptop:~/opencpn_05-25-10_12.51_cvs$

If i try to install it with opencpn_1.3.6_i386.deb, it works. But I would like to install the last beta version.

Jean-Pierre
jpiebrig is offline   Reply With Quote
Old 26-05-2010, 05:56   #244
Registered User

Join Date: Aug 2009
Posts: 189
Hi all,

I succeed this morning to install Opencpn from the cvs (don't know why !), but the same after the crashes, I cannot launched it !

Jean-Pierre
jpiebrig is offline   Reply With Quote
Old 26-05-2010, 07:03   #245
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,468
JP....

It seems the build problem was caused by some problem with CVS source code download. Looks OK now, but maybe you should try a new download update from CVS.....

Regarding the startup crash: May we see your logfile and config file?

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 26-05-2010, 12:10   #246
Registered User

Join Date: Aug 2009
Posts: 189
Hi Dave,

I try again a few minutes ago from cvs, but it is the same as this morning : the install is done, well I think, all the files seam to be at the right place, and I cannot launch Opencpn. It begins to open, I see "Opencpn is launching" in the taskbar and nothing more.
I have two log files as the last time it asks me if I wanted to rename .log in .log.log.
I put all log files and conf file here.

Cijoint.fr - Service gratuit de dépôt de fichiers
Cijoint.fr - Service gratuit de dépôt de fichiers
Cijoint.fr - Service gratuit de dépôt de fichiers

Jean-Pierre
jpiebrig is offline   Reply With Quote
Old 27-05-2010, 05:31   #247
Registered User

Join Date: Aug 2009
Posts: 189
Hi Dave,

I can launch Opencpn again.

First I have deleted opencpn.conf in .opencpn. Opencpn was opening again but it was scratching all the time after giving the charts directory and closing the Toolbox (which was always slow to open).

So I have deleted (rename) all the .opencpn directory and then Opencpn launch well and I can fill all the tabs in the Toolbox without any scrath when closing it. AND, the best, the Toolbox is opening normaly (for how many times, I don'tknow...).

But there is still the problem when I open the Toolbox, click on the Charts tab, do nothing and close the Toolbox. OPencpn is scratching all the times.
But it is not annoying, it is enough to know it.

Jean-Pierre
jpiebrig is offline   Reply With Quote
Old 27-05-2010, 05:39   #248
Registered User

Join Date: Aug 2009
Posts: 189
Now, I know how long Toolbox is opening well : less than 10 minutes !

Jean-Pierre
jpiebrig is offline   Reply With Quote
Old 30-05-2010, 06:08   #249
Registered User

Join Date: Aug 2009
Posts: 189
Hi All,

I don't succeed to install Opencpn with cmake.
I have install cmake :

jp@jp-laptop:~$ sudo apt-get install cmake

Then :

jp@jp-laptop:~$ cvs -dserver:anonymous@opencpn.cvs.sourceforge.net:/cvsroot/opencpn login

enter on the password, then :

jp@jp-laptop:~$ cvs -z3 -dserver:anonymous@opencpn.cvs.sourceforge.net:/cvsroot/opencpn co -P opencpn

After the download, I open a terminal in "opencpn" and here is all what I get :

jp@jp-laptop:~/opencpn$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- *** Building 2.1.0b529 ***
-- Found wxWidgets: TRUE
CMake Warning at CMakeLists.txt:73 (FIND_PACKAGE):
Could not find module FindGTK2.cmake or a configuration file for package
GTK2.

Adjust CMAKE_MODULE_PATH to find FindGTK2.cmake or set GTK2_DIR to the
directory containing a CMake configuration file for GTK2. The file will
have one of the following names:

GTK2Config.cmake
gtk2-config.cmake



-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Linking existing zlib library
-- Using embeded bzip2 library
-- GPSD Library support: enabled
-- Found gps: /usr/lib/libgps.so
-- Linking gps library
-- S57 ENC support: enabled
-- Writing spec file...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jp/opencpn
jp@jp-laptop:~/opencpn$ make
Scanning dependencies of target bzip2
[ 1%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/bzlib.c.o
[ 1%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/blocksort.c.o
[ 2%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/compress.c.o
[ 3%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/crctable.c.o
[ 4%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/decompress.c.o
[ 4%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/huffman.c.o
[ 5%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/randtable.c.o
Linking C static library libbzip2.a
[ 5%] Built target bzip2
Scanning dependencies of target GRIB
[ 5%] Building CXX object CMakeFiles/GRIB.dir/src/grib.cpp.o
In file included from /home/jp/opencpn/src/grib.cpp:42:
/home/jp/opencpn/include/grib.h:84: warning: ‘typedef’ was ignored in this declaration
[ 6%] Building CXX object CMakeFiles/GRIB.dir/src/grib/GribReader.cpp.o
[ 7%] Building CXX object CMakeFiles/GRIB.dir/src/grib/GribRecord.cpp.o
[ 8%] Building CXX object CMakeFiles/GRIB.dir/src/grib/zuFile.cpp.o
[ 8%] Building CXX object CMakeFiles/GRIB.dir/src/grib/IsoLine.cpp.o
Linking CXX static library libGRIB.a
[ 8%] Built target GRIB
Scanning dependencies of target NMEA0183
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea.cpp.o
In file included from /home/jp/opencpn/src/nmea.cpp:44:
/home/jp/opencpn/include/nmea.h:69:21: error: gtk/gtk.h: Aucun fichier ou dossier de ce type
/home/jp/opencpn/src/nmea.cpp: In constructor ‘NMEAWindow::NMEAWindow(int, wxFrame*, const wxString&, wxMutex*)’:
/home/jp/opencpn/src/nmea.cpp:229: error: ‘WATCH_ENABLE’ was not declared in this scope
/home/jp/opencpn/src/nmea.cpp:229: error: ‘gps_stream’ was not declared in this scope
/home/jp/opencpn/src/nmea.cpp: In member function ‘void NMEAWindow::OnTimerLIBGPS(wxTimerEvent&)’:
/home/jp/opencpn/src/nmea.cpp:401: error: invalid conversion from ‘void (*)(gps_data_t*, char*, size_t)’ to ‘void (*)(gps_data_t*, char*, size_t, int)’
/home/jp/opencpn/src/nmea.cpp:401: error: initializing argument 2 of ‘void gps_set_raw_hook(gps_data_t*, void (*)(gps_data_t*, char*, size_t, int))’
/home/jp/opencpn/src/nmea.cpp:402: error: ‘gps_waiting’ was not declared in this scope
make[2]: *** [CMakeFiles/NMEA0183.dir/src/nmea.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/NMEA0183.dir/all] Erreur 2
make: *** [all] Erreur 2
jp@jp-laptop:~/opencpn$

Don't know what to do

Jean-Pierre
jpiebrig is offline   Reply With Quote
Old 30-05-2010, 06:23   #250
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
jpiebrig

Check the 2.1.0 beta thread as well, fore more discussion about this. Is the "libgps-dev" package installed on your computer?

Thomas
cagney is offline   Reply With Quote
Old 30-05-2010, 06:30   #251
Registered User

Join Date: Aug 2009
Posts: 189
Cagney,

Yes libgps-dev is installed.
Before asking, I had check all the 2.1.0 beta thread that I follow. But my question has nothing to do directly about the last 2.1.0 beta and I thought its place was here in "Help".

Jean-Pierre
jpiebrig is offline   Reply With Quote
Old 30-05-2010, 06:55   #252
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
OK!
Quote:
Could not find module FindGTK2.cmake or a configuration file for package
GTK2.
What's your version of cmake?
This should be at least 2.8.0 to have FindGTK2 module, which you are lacking.(from CMakeLists.txt)
I'm on Ubuntu 10.4 and have 2.8.0-5ubuntu5.

If you have the right version, you have to follow this instruction, from your own post.
Quote:
Adjust CMAKE_MODULE_PATH to find FindGTK2.cmake or set GTK2_DIR to the
directory containing a CMake configuration file for GTK2. The file will
have one of the following names:

GTK2Config.cmake
gtk2-config.cmake
No need to do double downloads from CVS, by the way, I'm just using your second version all the time. The documentation describes two alternative ways downloading.

Good Luck!
Thomas
cagney is offline   Reply With Quote
Old 30-05-2010, 12:19   #253
Registered User

Join Date: Aug 2009
Posts: 189
Cagney,

My version of cmake is 2.6.4-1. I am on Karmic because I think I have a problem with Lucid and my screen or with my graphic card. It was very hot and the screen became to jump after 10 mn more or less. So after 3 days, when I can, I came back with Karmic, but now it is the same... I had no problem before Lucid. Just install it and I get the problem and have it still with Karmic.
I don't know if I can update cmake 2.6.4-1 Karmic (or uninstall and install) with 2.8.0-5 for Lucid.
I try it.

Jean-Pierre
jpiebrig is offline   Reply With Quote
Old 30-05-2010, 12:35   #254
Registered User

Join Date: Aug 2009
Posts: 189
Cagney,

I have installed cmake 2.8.0-5 with Karmic but it doesn't work much more :
Code:
jp@jp-laptop:~/opencpn$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- *** Building  2.1.0b529 ***
-- Found wxWidgets: TRUE
-- Found GTK2_GTK: /usr/lib/libgtk-x11-2.0.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Linking existing zlib library
-- Using embeded bzip2 library
-- GPSD Library support: enabled
-- Found gps: /usr/lib/libgps.so
-- Linking gps library
-- S57 ENC support: enabled
-- Writing spec file...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jp/opencpn
jp@jp-laptop:~/opencpn$ make
Scanning dependencies of target bzip2
[  1%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/bzlib.c.o
[  1%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/blocksort.c.o
[  2%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/compress.c.o
[  3%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/crctable.c.o
[  4%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/decompress.c.o
[  4%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/huffman.c.o
[  5%] Building C object CMakeFiles/bzip2.dir/src/grib/bzip2/randtable.c.o
Linking C static library libbzip2.a
[  5%] Built target bzip2
Scanning dependencies of target GRIB
[  5%] Building CXX object CMakeFiles/GRIB.dir/src/grib.cpp.o
In file included from /home/jp/opencpn/src/grib.cpp:42:
/home/jp/opencpn/include/grib.h:84: warning: ‘typedef’ was ignored in this declaration
[  6%] Building CXX object CMakeFiles/GRIB.dir/src/grib/GribReader.cpp.o
[  7%] Building CXX object CMakeFiles/GRIB.dir/src/grib/GribRecord.cpp.o
[  8%] Building CXX object CMakeFiles/GRIB.dir/src/grib/zuFile.cpp.o
[  8%] Building CXX object CMakeFiles/GRIB.dir/src/grib/IsoLine.cpp.o
Linking CXX static library libGRIB.a
[  8%] Built target GRIB
Scanning dependencies of target NMEA0183
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea.cpp.o
/home/jp/opencpn/src/nmea.cpp: In constructor ‘NMEAWindow::NMEAWindow(int, wxFrame*, const wxString&, wxMutex*)’:
/home/jp/opencpn/src/nmea.cpp:229: error: ‘WATCH_ENABLE’ was not declared in this scope
/home/jp/opencpn/src/nmea.cpp:229: error: ‘gps_stream’ was not declared in this scope
/home/jp/opencpn/src/nmea.cpp: In member function ‘void NMEAWindow::OnTimerLIBGPS(wxTimerEvent&)’:
/home/jp/opencpn/src/nmea.cpp:401: error: invalid conversion from ‘void (*)(gps_data_t*, char*, size_t)’ to ‘void (*)(gps_data_t*, char*, size_t, int)’
/home/jp/opencpn/src/nmea.cpp:401: error:   initializing argument 2 of ‘void gps_set_raw_hook(gps_data_t*, void (*)(gps_data_t*, char*, size_t, int))’
/home/jp/opencpn/src/nmea.cpp:402: error: ‘gps_waiting’ was not declared in this scope
make[2]: *** [CMakeFiles/NMEA0183.dir/src/nmea.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/NMEA0183.dir/all] Erreur 2
make: *** [all] Erreur 2
jp@jp-laptop:~/opencpn$
Jean-Pierre
jpiebrig is offline   Reply With Quote
Old 30-05-2010, 14:32   #255
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
jpiebrig

It looks like you have to upgrade gpsd,gpsd-clients and libgps-dev to 2.92 and install libgps19, if possible.
All the errors seems to hint at gpsd.

Thomas
cagney 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 22:23.


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.