Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 26-09-2015, 11:32   #1591
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: Beta Test / Technical

I just built on a raspberry pi with the chart downloaded plugin and it compiled ok so I don't understand why you have this problem.

Can you try
Code:
sudo updatedb
locate curl.h
Then completely delete the build directory to avoid some cmakecache, and run cmake again and see if it can find curl.
seandepagnier is offline   Reply With Quote
Old 26-09-2015, 11:51   #1592
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: Beta Test / Technical

Quote:
Originally Posted by transmitterdan View Post
Sean,

When I have seen this it was due to the way we request the file from the server. Can you run wire shark and see what the TCP conversation is doing?

I doubt it is a timeout issue.
The problem I think was I used libcurl-nss-dev not libcurl-openssl-dev

This is some kind of pitfall we should try to detect and avoid.

Anyway, the dialog looks not so nice. I'm using gtk3+ maybe it's the problem.
Attached Thumbnails
Click image for larger version

Name:	curl.png
Views:	238
Size:	37.8 KB
ID:	109993  
seandepagnier is offline   Reply With Quote
Old 26-09-2015, 11:53   #1593
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: Beta Test / Technical

Quote:
Originally Posted by boat_alexandra View Post
I just built on a raspberry pi with the chart downloaded plugin and it compiled ok so I don't understand why you have this problem.

Can you try
Code:
sudo updatedb
locate curl.h
Then completely delete the build directory to avoid some cmakecache, and run cmake again and see if it can find curl.
Same results.
Not sure if you realize, this Ubuntu on a CubieTruck not Rpi.

Code:
aruntu@aruntu:~/OpenCPN/build$ sudo updatedb
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
/usr/bin/find: `/run/user/1000/gvfs': Permission denied
aruntu@aruntu:~/OpenCPN/build$ locate curl.h
/home/aruntu/OpenCPN/plugins/chartdldr_pi/src/wxcurl/include/curl/curl.h
/home/aruntu/OpenCPN/src/wxcurl/include/curl/curl.h
/usr/include/curl/curl.h
/usr/share/doc/python-pycurl/html/pycurl.html
aruntu@aruntu:~/OpenCPN/build$ cd ..
***build directory removed with gui***
aruntu@aruntu:~/OpenCPN$ mkdir build
aruntu@aruntu:~/OpenCPN$ cd build
aruntu@aruntu:~/OpenCPN/build$ cmake ..
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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
-- *** Build Architecture is armhf
-- *** Staging to build opencpn 4.1.925 ***
-- *** Package will NOT include documentation ***
-- *** Package will NOT include GSHHS data ***
-- *** Package will NOT include tide and current data ***
-- Building for wxGTK2
-- Found OpenGLESv1
-- Found wxWidgets: TRUE  
-- Found wxWidgets...
-- -L/usr/local/lib;-pthread;;;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0;-lwx_gtk2u_gl-3.0
-- 
-- *** Staging to build opencpn  ***
-- Build type: Release
-- *** Will install to /usr/local  ***
-- checking for module 'freetype2'
--   found freetype2, version 17.1.11
-- Found Freetype: /usr/lib/arm-linux-gnueabihf/libfreetype.so (found version "17.1.11") 
-- Found GTK2_GTK: /usr/lib/arm-linux-gnueabihf/libgtk-x11-2.0.so  
-- Found GTK2
-- Found Portaudio: /usr/lib/arm-linux-gnueabihf/libportaudio.so
-- Portaudio Found
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find CURL (missing: CURL_LIBRARY) (found version "7.37.0")
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindCURL.cmake:54 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Curl.cmake:29 (FIND_PACKAGE)
  CMakeLists.txt:535 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/home/aruntu/OpenCPN/build/CMakeFiles/CMakeOutput.log".
aruntu@aruntu:~/OpenCPN/build$
NahanniV is offline   Reply With Quote
Old 26-09-2015, 12:02   #1594
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: Beta Test / Technical

Quote:
Originally Posted by NahanniV View Post
Same results.
Not sure if you realize, this Ubuntu on a CubieTruck not Rpi.
I realize but something must be broken on your system.

What do you get for:
Code:
locate libcurl.so
Does the weatherfax plugin work or you get the same error?
seandepagnier is offline   Reply With Quote
Old 26-09-2015, 19:35   #1595
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: Beta Test / Technical

Quote:
Originally Posted by boat_alexandra View Post
I realize but something must be broken on your system.

What do you get for:
Code:
locate libcurl.so
Does the weatherfax plugin work or you get the same error?
I can try those things at my boat tomorrow. But I agree something is broken in the OS. Do you still have your CubieTruck ? What OS are you using on that?

Is the Rpi2 going to run OpenCPN faster than the CubieTruck? I am running into the limitations of the CubieTruck when trying to use the latest Navico RADAR plugin. I was wondering if you might have any suggestions on how to optimize the RADAR OpenGL rendering; The latest code is at https://github.com/douwefokkema/BR24...ee/integration

Cheers,
JM.
NahanniV is offline   Reply With Quote
Old 27-09-2015, 03:56   #1596
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: Beta Test / Technical

Yes I still have my cubie truck, but hiaven't had time to test the latest beta on it.

The cubie truck is about twice the speed of the rpi2 unless I can improve the efficiency on the rpi2 more.

As far as the radar plugin... I never tried it, as I have no radar. There is a guy here using it, I would have to ask him if I can use it for testing to optimize the plugin. I didn't know it could work in opengles at all anyway.
seandepagnier is offline   Reply With Quote
Old 27-09-2015, 05:19   #1597
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: Beta Test / Technical

Quote:
Originally Posted by boat_alexandra View Post
Yes I still have my cubie truck, but hiaven't had time to test the latest beta on it.
Did you start with a particular OS Distribution on the CubieTruck or did you "roll your own" ? It seems like many of the Os distributions for the CubieTruck are no longer being maintained and can't be upgraded.
I'd be interested to know if you can get the Libcurl4 stuff to install.

Quote:
Originally Posted by boat_alexandra View Post
The cubie truck is about twice the speed of the rpi2 unless I can improve the efficiency on the rpi2 more.
The CubieTruck has been working well for me other than a few remaining bugs and a limitation with the RADAR display (can't display higher scan speeds).

Quote:
Originally Posted by boat_alexandra View Post
As far as the radar plugin... I never tried it, as I have no radar. There is a guy here using it, I would have to ask him if I can use it for testing to optimize the plugin. I didn't know it could work in opengles at all anyway.
That would be great, but I was thinking more of a simple walkthrough and suggestions, if any, to the team that is developing it. Sounds like you have enough to keep you busy.

Cheers,
JM.
NahanniV is offline   Reply With Quote
Old 27-09-2015, 08:09   #1598
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,198
Re: Beta Test / Technical

Hakan...
The VS2010 dependencies at Download opencpnplugins from SourceForge.net are now updated with cURL 7.44 built against OpenSSL 1.0.2d and zlib 1.28, with all the unneeded features disabled. Should work for you without having to modify/rename any files manually.

Pavel
nohal is online now   Reply With Quote
Old 27-09-2015, 13:57   #1599
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,119
Re: Beta Test / Technical

Pavel..
Many thanks, works fine.
Håkan
Hakan is offline   Reply With Quote
Old 27-09-2015, 17:04   #1600
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
Images: 2
Re: Beta Test / Technical

Is v4.1.925 compatible with most v4.1.x plugins? Or does it require a new updated opencpn.lib for all plugins?

PS: I tried installing the v4.1.x plugins and started Ov4.1.925 and only the original 4 appeared.
I closed down O and then checked the O/plugins directory and found all the plugin dll properly installed.
I restarted Ov4.1.925 went to settings > Plugins and the plugins all appeared.

Why does it take two O startups to get the plugins to appear?
rgleason is online now   Reply With Quote
Old 27-09-2015, 20:55   #1601
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Beta Test / Technical

Pavel is working to recompile most of the plugins for the latest 4.1 incarnation. Most plugins will work when rebuilt against wx 3.0.
transmitterdan is offline   Reply With Quote
Old 27-09-2015, 23:10   #1602
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: Beta Test / Technical

Quote:
Originally Posted by NahanniV View Post
Did you start with a particular OS Distribution on the CubieTruck or did you "roll your own" ? It seems like many of the Os distributions for the CubieTruck are no longer being maintained and can't be upgraded.
I'd be interested to know if you can get the Libcurl4 stuff to install.
Ok, I never upgraded it from over a year ago. I always build everything from source, and maybe it uses libcurl3 even.

Quote:
That would be great, but I was thinking more of a simple walkthrough and suggestions, if any, to the team that is developing it. Sounds like you have enough to keep you busy.

Cheers,
JM.
I took a brief look at the radar source code, and if it's an issue with speed of rendering, then I'm confident that it can be made to run much faster. Right now the way it's pushing the stuff is not even close to efficient. As far as reading the data in via the network, I cannot be sure, but as it's already a background thread it probably isn't impacting performance too much. I think it should assemble the geometry in the background thread, and consolidate triangles (reduce triangle count) then push them in a single call when rendering which would be fast.

The other option would be to just push the raw radar data into a 2d texture, then use a fragment shader to render this texture very efficiently which would probably be by far the fastest method.


As far as the colors go, I think a lot could be improved, and a bunch of other things as well, but I don't think I'll have a lot of time to work on it.
seandepagnier is offline   Reply With Quote
Old 29-09-2015, 11:37   #1603
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: Beta Test / Technical

Quote:
Originally Posted by boat_alexandra View Post
Ok, I never upgraded it from over a year ago. I always build everything from source, and maybe it uses libcurl3 even.



I took a brief look at the radar source code, and if it's an issue with speed of rendering, then I'm confident that it can be made to run much faster. Right now the way it's pushing the stuff is not even close to efficient. As far as reading the data in via the network, I cannot be sure, but as it's already a background thread it probably isn't impacting performance too much. I think it should assemble the geometry in the background thread, and consolidate triangles (reduce triangle count) then push them in a single call when rendering which would be fast.

The other option would be to just push the raw radar data into a 2d texture, then use a fragment shader to render this texture very efficiently which would probably be by far the fastest method.


As far as the colors go, I think a lot could be improved, and a bunch of other things as well, but I don't think I'll have a lot of time to work on it.
I started a new thread to continue this discussion:
http://www.cruisersforum.com/forums/...ml#post1925835
NahanniV is offline   Reply With Quote
Old 29-09-2015, 14:22   #1604
Registered User

Join Date: Oct 2012
Location: Cruising the world
Boat: Catalina 42 Mk II Wing Keel
Posts: 14
Send a message via Skype™ to svzephyr44
Re: Beta Test / Technical

Windows 10 - Latest Beta - Becomes unresponsive when exiting. Don't know how to send diagnostic information. Dr. Watson no longer exists in windows 10
svzephyr44 is offline   Reply With Quote
Old 29-09-2015, 19:49   #1605
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
Images: 2
Re: Beta Test / Technical

Why does O v4.1.925 keep loading the same catalogues for plugins successively, multiply & iteratively?
Seems like a waste of time.
Attached Files
File Type: doc loading plugin catalog.txt.doc (12.4 KB, 64 views)
rgleason is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 13:44
Need some technical advice....antennas. Just a Tinch Marine Electronics 15 01-12-2007 15:57
Blue Sea Systems Technical Brief GordMay Electrical: Batteries, Generators & Solar 0 16-03-2007 04:16
technical difficulties witchcraft The Sailor's Confessional 1 30-05-2005 14:09
Dow Corning Technical Manual GordMay The Library 0 12-04-2005 16:25

Advertise Here


All times are GMT -7. The time now is 18:55.


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.