Closed rgleason closed 7 years ago
Did not see notices. Sorry. Just git fetched and pull. It compiled. Just a few warnings that go away the second time compiled.
Touching "Win32\release\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate". Done Building Project "C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigationpi\build\ALL BUILD.vcxproj" (default targets).
Build succeeded.
"C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigation_pi\build\ALL_BUILD.vcxproj" (defaul t target) (1) -> "C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigation_pi\build\celestial_navigation_pi.vc xproj" (default target) (3) -> (ClCompile target) -> c:\users\rick\documents\github\o-plugin\s-celestial_navigation_pi\src\Sight.h(35): warning C4005: 'NAN' : macro redefinition [C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigation_pi\buil d\celestial_navigation_pi.vcxproj] c:\users\rick\documents\github\o-plugin\s-celestial_navigation_pi\src\Sight.h(36): warning C4005: 'INFINITY' : macro redefinition [C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigation_pi \build\celestial_navigation_pi.vcxproj] c:\users\rick\documents\github\o-plugin\s-celestial_navigation_pi\src\Sight.h(35): warning C4005: 'NAN' : macro redefinition [C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigation_pi\buil d\celestial_navigation_pi.vcxproj] c:\users\rick\documents\github\o-plugin\s-celestial_navigation_pi\src\Sight.h(36): warning C4005: 'INFINITY' : macro redefinition [C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigation_pi \build\celestial_navigation_pi.vcxproj] c:\users\rick\documents\github\o-plugin\s-celestial_navigation_pi\src\Sight.h(35): warning C4005: 'NAN' : macro redefinition [C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigation_pi\buil d\celestial_navigation_pi.vcxproj] c:\users\rick\documents\github\o-plugin\s-celestial_navigation_pi\src\Sight.h(36): warning C4005: 'INFINITY' : macro redefinition [C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigation_pi \build\celestial_navigation_pi.vcxproj] c:\users\rick\documents\github\o-plugin\s-celestial_navigation_pi\src\Sight.h(35): warning C4005: 'NAN' : macro redefinition [C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigation_pi\buil d\celestial_navigation_pi.vcxproj] c:\users\rick\documents\github\o-plugin\s-celestial_navigation_pi\src\Sight.h(36): warning C4005: 'INFINITY' : macro redefinition [C:\Users\Rick\Documents\GitHub\o-plugin\s-celestial_navigation_pi \build\celestial_navigation_pi.vcxproj]
8 Warning(s)
0 Error(s)
Time Elapsed 00:00:10.45
The plugin compiles and I can enter one fix, but the second fix crashes Opencpn Have tried dozens of times. Tried increasing the Opencpn.lib version from v4.2 to v4.2.1317 and that did not help
Can no longer enter a fix. The release version crashes as soon as the Cel-Nav icon is selected.
The debug version makes MSVC++ run hard and eventually the debug OpenCPN window closes and nothing happens. Essentially it bombs out.
I am closing this as it is old.
Compiles as standalone but does not run, ends up crashing Opencpn v 4.2 through v4.5.221
First trial deleted the build directory and put opencpn.lib fr om v4.2 in source\build. did cmake -T v120_xp and then cmake --build . and cmake --build . --config release then cpack.
Found an extra empty DATA directory under C:\Users\Frederick\Documents\GitHub\o-plugin\s-celestial_navigation_pi\build_CPack_Packages\win32\NSIS\celestial_navigation_pi-.-win32\plugins\celestial_navigation_pi\data\celestial_navigation_pi
I also under C:\Users..\GitHub\o-plugin\s-celestial_navigation_pi\build_CPack_Packages\win32\NSIS\celestial_navigation_pi-.-win32\ I found PLUGIN SHARE directories
What is share doing here? I don't find it in any of the installations. I think this is part of the problem with the crashes.
Also I tried just leaving all the source\buildwin dir & files - crashrpt, expt-2.1.0, gtk,, vc, wxWidgets, and files - libcurl.dll, libcurl.lib, opencpn_gltest1.exe, zlib.dll all in buildwin without copying the dll's to source\build --- No dice it did not work, crashed windows.
Then I tried copying all the dlls to source\build and compiling and it still crashed windows. Tested on v 4.2 and v4.5 Opencpn.
STANDALONE CRASHES OPENCPN.
Also can you advise if I must copy those source\buildwin files to source\build ? Thanks. Rick