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 31-10-2018, 10:27   #2206
Registered User

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

Quote:
Originally Posted by stevead View Post
1. Is there another API to directly add AIS info directly into OpenCPN rather than pushing NMEA 0183 sentences via the PushNMEABuffer API ?
No.
Quote:
2. What is the preferred (aka easiest) Linux distro to use for compiling and testing new plugins ?
Any you are familiar with. If none, Ubuntu.
Quote:
3. Related to 2. Does a Raspberry Pi have sufficient memory and processing power to compile and test plug-in's ? It is a potentially attractive platform as there a number of CAN bus hats available for the Raspberry Pi.
[/QUOTE]
Yes, given you have sufficient time. Of course it is by at least an order of magnitude less powerful than any modern x86 machine.
nohal is offline   Reply With Quote
Old 05-11-2018, 04:38   #2207
Registered User
 
rgleason's Avatar

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

Hi stevead. Pavel, I've set up VM box with Windows10 and a dev for 4.99, should I use ubuntu for a linux vm? Should i use most current stable?
rgleason is offline   Reply With Quote
Old 05-11-2018, 04:40   #2208
Registered User

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

Quote:
Originally Posted by rgleason View Post
should I use ubuntu for a linux vm?
Yes
Quote:
Should i use most current stable?
Yes
nohal is offline   Reply With Quote
Old 06-11-2018, 01:21   #2209
Registered User
 
Jon Hacking's Avatar

Join Date: Sep 2010
Location: Currently cruising the Philippines, just got back from PNG & Solomons
Boat: Wauquiez 45' (now 48') catamaran
Posts: 1,093
Images: 1
Send a message via Skype™ to Jon Hacking
Re: Beta Test / Technical

Not sure if this is the right place, so please point me to one if appropriate. I've made a ton of KAPs for SE Asia (charts here are shocking) but I'm finding that OCPN is getting less stable with recent versions, especially when I have lots of KAPs loaded. Generally have CM93v2 as normal charts, but will sometimes have maybe 15,000 KAPs loaded (12GB). Recently I've noticed OCPN getting unresponsive or showing a continuous circle (for the mouse) after scrolling around while navigating for a while. It usually recovers if I shut it down & restart it, but sometimes I have to nuke the CHRTLIST.DAT file & let it rebuild its chart database, or even edit the OpenCPN.INI file to reduce the number of KAPs I have loaded before it starts behaving again.

I'm sorry I can't give better repro here, but I've got my KAPs available on our Downloads page if anyone wants to futz with them. Loading up, say, all of Raja Ampat (NE Indonesia) & then scrolling around & in/out will often produce problems. Setup here is Win10, Acer Aspire V17, Intel i7 quad, 16GB (more details on request). I'm not using OpenGL (so not sure if the GeForce GTX 860M is doing anything) but I do set the Raster Zoom/Scale weighting to +5.

I guess what I really want to know is if there's a limit on how many KAPs I can load up? And if so, is there anything I can do to increase that? TIA!
__________________
-- Jon Hacking s/v Ocelot
Jon Hacking is offline   Reply With Quote
Old 06-11-2018, 02:44   #2210
Registered User
 
transmitterdan's Avatar

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

There is a feature called something like "texture caching" in advanced display options. Try turning it off and on to see if anything changes. Without OpenGL it may be off already.

I think you will want to use OpenGL for faster response. Why do you have it off?
transmitterdan is offline   Reply With Quote
Old 06-11-2018, 03:19   #2211
Registered User
 
Jon Hacking's Avatar

Join Date: Sep 2010
Location: Currently cruising the Philippines, just got back from PNG & Solomons
Boat: Wauquiez 45' (now 48') catamaran
Posts: 1,093
Images: 1
Send a message via Skype™ to Jon Hacking
Re: Beta Test / Technical

Dan, it defaults to Off, so I left it. I'd also heard negative comments about OpenGL, but they weren't from truly knowledgeable sources, so I'll happily try it on. And yes, texture caching is only available with OpenGL enabled.

What are the pros & cons of using OpenGL with OpenCPN?
__________________
-- Jon Hacking s/v Ocelot
Jon Hacking is offline   Reply With Quote
Old 06-11-2018, 04:55   #2212
Registered User
 
transmitterdan's Avatar

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

Jon,

OpenGL is hundreds of times faster than drawing using the main cpu. I think texture caching is available with OpenGL off. Please have a look.

OpenGL sometimes doesn’t work right. But when it works (95% of the time is does) it speeds up OpenCPN drawing a lot.

I will have a look at the problem after the 12 hour download from your web site.
transmitterdan is offline   Reply With Quote
Old 06-11-2018, 05:11   #2213
Registered User
 
Jon Hacking's Avatar

Join Date: Sep 2010
Location: Currently cruising the Philippines, just got back from PNG & Solomons
Boat: Wauquiez 45' (now 48') catamaran
Posts: 1,093
Images: 1
Send a message via Skype™ to Jon Hacking
Re: Beta Test / Technical

Thanks, Dan. I'll try it with OpenGL & see if that helps.


Yeah, those KAPs are huge, but I've had so many requests for them that I put that page together just a few days ago. And if it will keep cruisers safer...
__________________
-- Jon Hacking s/v Ocelot
Jon Hacking is offline   Reply With Quote
Old 12-11-2018, 18:03   #2214
Registered User
 
rgleason's Avatar

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

Have installed VirtualBox and made several VM with Win10pro + MS Visual Studio 2017 + Poedit, + Cmake + NSIS + Git + Git Desktop, etc. I've downloaded the latest Opencpn/Opencpn master from 6 days ago and run cmake from the build directory.

I see that MS is trying to use my OneDrive. I had not intended that.
Is this normal? I am a bit confused about this. Should I change it?
Quote:
CURL_LIBRARIES:C:/Users/fcgle/OneDrive/Documents/Github/OpenCPN/buildwin/libcurl.lib
Does anyone know what is causing this?

Quote:
-- Building with bundled wxsvg includes
CMake Error at C:/Program Files/CMake/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
GETTEXT_MSGFMT_EXECUTABLE)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.13/Modules/FindGettext.cmake:80 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:1068 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "C:/Users/fcgle/OneDrive/Documents/Github/OpenCPN/build/CMakeFiles/CMakeOutput.log".

I have installed POEDIT and added the path to Poedit.
Attached Thumbnails
Click image for larger version

Name:	CMDprompt-CMAKE.PNG
Views:	69
Size:	44.3 KB
ID:	180543  
rgleason is offline   Reply With Quote
Old 12-11-2018, 18:15   #2215
Registered User
 
rgleason's Avatar

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

I corrected the path to be "C:\Program Files (x86)\Poedit\GettextTools\bin"

and now get other errors:
Quote:
-- Building with bundled wxsvg includes
CMake Error at C:/Program Files/CMake/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
GETTEXT_MSGFMT_EXECUTABLE)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.13/Modules/FindGettext.cmake:80 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:1068 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "C:/Users/fcgle/OneDrive/Documents/Github/OpenCPN/build/CMakeFiles/CMakeOutput.log".
rgleason is offline   Reply With Quote
Old 12-11-2018, 18:22   #2216
Registered User
 
rgleason's Avatar

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

The message says " Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
GETTEXT_MSGFMT_EXECUTABLE)"

There is an "xgettext.exe" in C:\Program Files (x86)\Poedit\GettextTools\bin" directory.
Is that what is needed?
Attached Files
File Type: pdf CMakeOutput - Copy.log.pdf (29.1 KB, 18 views)
rgleason is offline   Reply With Quote
Old 12-11-2018, 18:32   #2217
Registered User

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

Quote:
Originally Posted by rgleason View Post
The message says " Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
GETTEXT_MSGFMT_EXECUTABLE)"

There is an "xgettext.exe" in C:\Program Files (x86)\Poedit\GettextTools\bin" directory.
Is that what is needed?
no, msgmerge.exe is what is needed. And it is there, so your problem is something different - either you have the path still wrong or did not refresh your environment, which in your case is probably easiest to do by a reboot and of course cleaning your build directory completely.
nohal is offline   Reply With Quote
Old 12-11-2018, 18:51   #2218
Registered User
 
rgleason's Avatar

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

This is the file that issued the error:

Quote:
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageMessage.cmake)

# internal helper macro
macro(_FPHSA_FAILURE_MESSAGE _msg)
if (${_NAME}_FIND_REQUIRED)
message(FATAL_ERROR "${_msg}")
Ah ah, I have to shutdown and restart.
rgleason is offline   Reply With Quote
Old 12-11-2018, 19:04   #2219
Registered User
 
rgleason's Avatar

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

Reboot worked, and it is compiling now, but why oh why is it on onedrive?
Won't that create lots of upload/download that is unnecessary?
Is this what MS does now for some "sharing code" reason?
It's a lot slower with one processor in a VM.

Pavel, just saw your message. You nailed it. reboot. Thanks.
rgleason is offline   Reply With Quote
Old 12-11-2018, 19:38   #2220
Registered User

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

Quote:
Originally Posted by rgleason View Post
Reboot worked, and it is compiling now, but why oh why is it on onedrive?
Won't that create lots of upload/download that is unnecessary?
Is this what MS does now for some "sharing code" reason?
It's a lot slower with one processor in a VM.

Pavel, just saw your message. You nailed it. reboot. Thanks.
It is on OneDrive because you put it there, nothing to do with Microsoft. Put it elsewhere if you like.
nohal 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


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 20:08.


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.