|
From: Lars T. <de...@lt...> - 2019-04-26 07:15:29
|
I've attached two patches: The first one is solving this problem by using "SwiftAircraft.cpp" in the CMake file. The second one is fixing a issue where I missed to replace a string for the swift startup message. Would be nice if someone with commit rights can have a look at it. Best regards Lars -----Ursprüngliche Nachricht----- Von: Tobias Dammers <tda...@gm...> Gesendet: Donnerstag, 25. April 2019 17:06 An: fli...@li... Betreff: Re: [Flightgear-devel] Flightgear-Swift (VATSIM) connection On Wed, Mar 06, 2019 at 09:27:01AM +0100, Lars Toenning wrote: > Hi all, > > as mentioned some time ago I have now finished the connection module > to swift (WIP VATSIM client) and created merge requests: Awesome! I just tried enabling it on FG next, but unfortunately, CMake fails with this message: > CMake Error at src/Main/CMakeLists.txt:80 (add_executable): > Cannot find source file: > > /home/tobias/src/flightgear/src/Network/Swift/swiftaircraft.cpp > > Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp > .hxx .in .txx Further digging reveals that this file is indeed missing; /home/tobias/src/flightgear/src/Network/Swift/SwiftAircraft.cpp however exists. And indeed, in src/Network/Swift/CMakeLists.txt, it says "swiftaircraft.cpp", not "SwiftAircraft.cpp". I suspect that on a case-insensitive filesystem (Windows?), this would work fine, but on Linux, it won't. Changing CMakeLists to uppercase SwiftAircraft (both .cpp and .hpp) works. I presume changing the filenames might also work, but considering #includes, that would probably be a more intrusive change. _______________________________________________ Flightgear-devel mailing list Fli...@li... https://lists.sourceforge.net/lists/listinfo/flightgear-devel |