|
|
26-09-2015, 11:32
|
#1591
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
|
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.
|
|
|
26-09-2015, 11:51
|
#1592
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
|
Re: Beta Test / Technical
Quote:
Originally Posted by transmitterdan
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.
|
|
|
26-09-2015, 11:53
|
#1593
|
Registered User
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
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$
|
|
|
26-09-2015, 12:02
|
#1594
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
|
Re: Beta Test / Technical
Quote:
Originally Posted by NahanniV
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:
Does the weatherfax plugin work or you get the same error?
|
|
|
26-09-2015, 19:35
|
#1595
|
Registered User
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
I realize but something must be broken on your system.
What do you get for:
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.
|
|
|
27-09-2015, 03:56
|
#1596
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
|
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.
|
|
|
27-09-2015, 05:19
|
#1597
|
Registered User
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
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
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
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.
|
|
|
27-09-2015, 08:09
|
#1598
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
|
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
|
|
|
27-09-2015, 13:57
|
#1599
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,139
|
Re: Beta Test / Technical
Pavel..
Many thanks, works fine.
Håkan
|
|
|
27-09-2015, 17:04
|
#1600
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,625
|
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?
|
|
|
27-09-2015, 20:55
|
#1601
|
Registered User
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.
|
|
|
27-09-2015, 23:10
|
#1602
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
|
Re: Beta Test / Technical
Quote:
Originally Posted by NahanniV
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.
|
|
|
29-09-2015, 11:37
|
#1603
|
Registered User
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
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
|
|
|
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
|
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
|
|
|
29-09-2015, 19:49
|
#1605
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,625
|
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.
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|
|