I am having trouble compiling Navico Radar
plugin beta 3.816 under Windows and using it after compilation.
- Windows 10 Pro 64 bits V. 1703 Build 15063.540
- MS Visual Studio Community 2013 V. 12.0.40629.00 Update 5
- wxWidgets 3.0.3
- cmake 3.9.0
I was able to compile OpenCPN
4.8.0 in VS with a few dozen warnings but without any error. After that, I was able to run it inside VS in debug mode without a glitch!
I have used the opencpn.lib I created when compiling OpenCPN 4.8.0 to compile the radar
plugin standalone (not inside the OpenCPN solution), inside VS, without any warnings and without errors.
However, if I put the radar dll that was created in the OpenCPN plugin folder, it does not work
If I use the radar dll with the OpenCPN 4.8.0 that I complied myself, running it in debug mode inside VS, I get an
Unhandled exception at 0x5CDDB1F4 (br24radar_pi.dll) in opencpn.exe: 0xC0000005: Access violation reading location 0xCDCDCDCD.
I have also tried to install OpenCPN 4.8.0 using the installer I downloaded from http://opencpn.navnux.org/4.8.0/opencpn_4.8.0_setup.exe
If I put my radar dll inside the installed OpenCPN 4.8.0 plugin folder, I get a warning message that says
Unknown image data format
and a "wxWidgets Debug Alert" window that says that function image.IsOk() in line 922 of the wxWidgets file bitmap.cpp returned false...
Can someone help me? Perhaps someone from the developers of the radar plugin...