Talk:Building FlightGear - Cross Compiling: Difference between revisions

Jump to navigation Jump to search
Line 215: Line 215:


:: I did that for one round, but that yielded another set of undefined references, as those libraries called other libraries. Is there any way to compile it other than completely specifying all dependencies? -- [[User:Flyhigh|Flyhigh]] ([[User talk:Flyhigh|talk]]) 11:13, 8 June 2015 (EDT)
:: I did that for one round, but that yielded another set of undefined references, as those libraries called other libraries. Is there any way to compile it other than completely specifying all dependencies? -- [[User:Flyhigh|Flyhigh]] ([[User talk:Flyhigh|talk]]) 11:13, 8 June 2015 (EDT)
::: you could try to remove that target that's pulling tons of dependencies. if non of the other targets links with, maybe try to delete/edit its CMakeLists? alternatively you can disable these dependencies from the library. if these are GDAL related dependancies, then you can try to use a helper executable, like 'gdal-config.exe --dep-libs' and append these results into a variable, which is what i did for Terragear. https://github.com/hamzaalloush/mxe-clone/blob/master-oldgcc-terragear/src/cmake/FindGDAL.cmake (Line 27, find dependencies. Line 52, append to variable) -- [[User:Hamzaalloush|Hamzaalloush]] ([[User talk:Hamzaalloush|talk]]) 13:14, 8 June 2015 (EDT)
272

edits

Navigation menu