Closed rgleason closed 5 years ago
Errors due to Android changes.
Errors: celestial_navigation_pi\src\zuFile.h(33): fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
Fixed by adding src\zlib-1.2.3\ ..and two files from weather_routing. Then changing the zuFile include to be zlib-1.2.3\zlib.h
Errors: in zuFile (37): fatal error ... bzip.h
Fixed by adding src\bzip2\ ..and all the files from weather_routing. Then changing the zuFile include to bzip2\bzip.h
See Commits https://github.com/rgleason/celestial_navigation_pi/commits/master
Now it is failing this way - How to fix it?
Build FAILED. GitHub\celestial_navigation_pi\build\celestial_navigation_pi.vcxproj" (default target) (3) -> (Link target) -> zuFile.obj : error LNK2019: unresolved external symbol _BZ2_bzReadOpen@24 referenced in function _zu_open zuFile.obj : error LNK2019: unresolved external symbol _BZ2_bzReadClose@8 referenced in function _zu_close zuFile.obj : error LNK2019: unresolved external symbol _BZ2_bzRead@16 referenced in function _zu_bzSeekForward C:\Users\Frederick\Documents\GitHub\celestial_navigation_pi\build\Release\celestial_navigation_pi.dll : fatal error LNK1120: 3 unresolved externals 0 Warning(s) 4 Error(s)
I think this was due to not having opencpn.lib v4.8.2
Closing
Errors due to Android changes.
Errors: celestial_navigation_pi\src\zuFile.h(33): fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
Fixed by adding src\zlib-1.2.3\ ..and two files from weather_routing. Then changing the zuFile include to be zlib-1.2.3\zlib.h
Errors: in zuFile (37): fatal error ... bzip.h
Fixed by adding src\bzip2\ ..and all the files from weather_routing. Then changing the zuFile include to bzip2\bzip.h
See Commits https://github.com/rgleason/celestial_navigation_pi/commits/master
Now it is failing this way - How to fix it?