Board index FlightGear Development Add-ons

Add-On LittleNavMap connection (with additional tool)

FlightGear has support for add-ons, to further extend the simulator's core functionality.

Re: Add-On LittleNavMap connection (with additional tool)

Postby jmwilton » Sun Oct 03, 2021 11:13 pm

Does anyone have a compiled littlefgconnect.exe for Windows?
Can someone provide details on how to compile littlefgconnect on a windows machine?
I assume I need littlefgconnect to use LittleNavMap and the FlightGear add-on on the same windows machine.
jmwilton
 
Posts: 12
Joined: Thu Feb 01, 2018 2:12 am

Re: Add-On LittleNavMap connection (with additional tool)

Postby FirstOfficerDelta » Mon Oct 04, 2021 5:35 am

Yes, that is correct. However, I don't have it compiled on my computer.
FirstOfficerDelta
 
Posts: 69
Joined: Thu Mar 26, 2020 1:59 am
Callsign: CPA830

Re: Add-On LittleNavMap connection (with additional tool)

Postby merspieler » Mon Oct 04, 2021 11:35 am

You need to build atools first, then build littlefgconnect.

Checkout the BUILD.txt file for instructions on how to build it on windows
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2295
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Add-On LittleNavMap connection (with additional tool)

Postby jmwilton » Mon Oct 04, 2021 6:58 pm

I have installed Qt Creator 5.0.2.
I have a folder C:\QTprojects\atools-master.
I have right-clicked on project atools and selected "Run qmake". Not sure what output I should expect. It appears to have ended successfully. Running it a second time I see:
13:45:38: The process "C:\Qt\6.2.0\mingw81_64\bin\qmake.exe" exited normally.
13:45:38: Starting: "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" -f C:/QTprojects/build-atools-Desktop_Qt_6_2_0_MinGW_64_bit-Release/Makefile qmake_all mingw32-make: Nothing to be done for qmake_all'.
13:45:39: The process "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited normally.
13:45:39: Elapsed time: 00:04.
I have extracted the contents of the littlefgconnect-master directory into C:\QTprojects\atools-master\.
The Windows instructions say to get "OpenSSL binaries from https://bintray.com/vszakats/generic/openssl and extract them to the project directory. Going to https://bintray.com, I get message indicating that BinTray has been deprecated and I need to signup for JFrog Distribution.
Am I on the right track? What should be my next step? Where can I find openssl-1.1.1d-win32-mingw.zip?
jmwilton
 
Posts: 12
Joined: Thu Feb 01, 2018 2:12 am

Re: Add-On LittleNavMap connection (with additional tool)

Postby merspieler » Mon Oct 04, 2021 7:36 pm

It sounds like you're on the right track... but no clue about openssl... if you can't find a prebuild library, I guess you've got to build it as well...

I've got not clue, how to do that tho....


Also there has always been a workaround that offers even more: Linux :P
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2295
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Add-On LittleNavMap connection (with additional tool)

Postby FirstOfficerDelta » Tue Oct 05, 2021 12:44 am

I don’t know but have you tried the OpenSSL website?
FirstOfficerDelta
 
Posts: 69
Joined: Thu Mar 26, 2020 1:59 am
Callsign: CPA830

Re: Add-On LittleNavMap connection (with additional tool)

Postby jmwilton » Tue Oct 05, 2021 2:03 am

I have spent about 8 hours trying to get this to build.
I have even switched over to try and do it with Linux Mint using the command line with no luck. Now the littlefgconnect project can't find the atools it needs ... even though I built them, to the best of my ability, according to the documention.
Linux supposedly doesn't have a problem with OpenSLL.
I give up!
It is not worth the time to try to get this to work. :(
It is unfortunate that a compiled version hasn't been made available for those who aren't developers with sophisticated development stacks on their machines.

Thanks go out to all those who have attempted to help.
jmwilton
 
Posts: 12
Joined: Thu Feb 01, 2018 2:12 am

Re: Add-On LittleNavMap connection (with additional tool)

Postby merspieler » Tue Oct 05, 2021 11:09 am

On Linux, I can provide a prebuild binary.

Let me know, if it works or if I also need to package up the libraries.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2295
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Add-On LittleNavMap connection (with additional tool)

Postby jmwilton » Tue Oct 05, 2021 1:54 pm

merspieler, thanks for you help. I am running FlightGear on Windows not Linux. I attempted to use Linux to build the Windows version.
I tried clicking on the link in your message. I did get a file to download, but now have no idea what to do with it. Does that file need to be processed on Linux using QtMake/Make? Can it be used to get to a windows executable? If so, I need more detailed instructions on how. I am a retired programmer with limited Linux experience. My primary environment was Windows and Visual Studio. If I understood the various documents correctly, I could build the windows executable on linux. Once again thanks for your time.
jmwilton
 
Posts: 12
Joined: Thu Feb 01, 2018 2:12 am

Re: Add-On LittleNavMap connection (with additional tool)

Postby merspieler » Tue Oct 05, 2021 4:29 pm

On linux, just run it... if you're lucky it could run on windows in the "Linux subsystem for windows". You won't be able to get it to run on windows natively.

In theory, you could cross build on linux for windows... from experience it's harder than running mingw on windows directly if you've got a win machine already running.
Never done so with Qt tho... so I'm no help here.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2295
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Add-On LittleNavMap connection (with additional tool)

Postby jmwilton » Tue Oct 05, 2021 5:24 pm

Got the binary downloaded to windows.
Got WSL running,
Now I get:
./littfgconnect: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: no such file or directory.

my current directory is: /mnt/c/aaa,
Do I need to move the file somewhere on the Linux side of things?
jmwilton
 
Posts: 12
Joined: Thu Feb 01, 2018 2:12 am

Re: Add-On LittleNavMap connection (with additional tool)

Postby jmwilton » Tue Oct 05, 2021 5:25 pm

Or is there some part of QT than needs to be installed into the WSL?
jmwilton
 
Posts: 12
Joined: Thu Feb 01, 2018 2:12 am

Re: Add-On LittleNavMap connection (with additional tool)

Postby merspieler » Tue Oct 05, 2021 5:42 pm

Seems like you are missing some libraries...

in WSL run `apt-get install qt5-base` and see if that's enough to install all required qt5 libraries, if not, we need to find the right package.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2295
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Add-On LittleNavMap connection (with additional tool)

Postby jmwilton » Tue Oct 05, 2021 7:21 pm

Did sudo apt-get install qt5-default. qt5-base wasn't found.
Now we get:
/lib/x86_64-linux-gnu/libm.so.6: version 'GLIBC_2.29' not found.
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version 'Qt_5.15' not found.
:)
jmwilton
 
Posts: 12
Joined: Thu Feb 01, 2018 2:12 am

Re: Add-On LittleNavMap connection (with additional tool)

Postby merspieler » Tue Oct 05, 2021 8:05 pm

... looks like version differences :-/

I'd say, try the Linux build instructions in WSL....

For that you certainly need to install build-essentials and qt5-qmake
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2295
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

PreviousNext

Return to Add-ons

Who is online

Users browsing this forum: No registered users and 1 guest