andyp

  • **
  • 52
Re: Compiling Librepilot in Windows 10 - problems and solutions
« Reply #15 on: April 29, 2021, 11:19:16 pm »
OK, download SSL libs and copy them to C:/msys64/mingw64/bin/

libeay32.dll
ssleay32.dll

andyp

  • **
  • 52
Re: Compiling Librepilot in Windows 10 - problems and solutions
« Reply #16 on: April 29, 2021, 11:38:34 pm »
 :)
no big smile  ;) ;) ;)

Processed 1 file, writing output:
warning: Generating version information for language "0000-TradChinese" without standard key "FileVersion"

Output: "C:\msys64\home\admin\librepilot\build\LibrePilot-16.09+r796-g7c9f04d-dirty_x86_64.exe"
Install: 7 pages (448 bytes), 11 sections (6 required) (180576 bytes), 1650 instructions (46200 bytes), 1566 strings (1413832 bytes), 6 language tables (2436 bytes).
Uninstall: 6 pages (384 bytes),
4 sections (1 required) (65664 bytes), 517 instructions (14476 bytes), 552 strings (29012 bytes), 6 language tables (2004 bytes).
Datablock optimizer saved 28943655 bytes (~5.9%).

Using lzma (compress whole) compression.

EXE header size:               70656 / 38400 bytes
Install code:                          (1643892 bytes)
Install data:                          (459621084 bytes)
Uninstall code+data:                   (214344 bytes)
Compressed data:           129938339 / 461479320 bytes
CRC (0xE09C7736):                  4 / 4 bytes

Total size:                130008999 / 461517724 bytes (28.1%)

1 warning:
  Generating version information for language "0000-TradChinese" without standard key "FileVersion"

andyp

  • **
  • 52
Re: Compiling Librepilot in Windows 10 - problems and solutions
« Reply #17 on: April 29, 2021, 11:45:08 pm »
 >:(

C:/Program Files/LibrePilot/lib/librepilot-gcs/plugins/LibrePilot/Config.dll: Cannot load library C:\Program Files\LibrePilot\lib\librepilot-gcs\plugins\LibrePilot\Config.dll: Das angegebene Modul wurde nicht gefunden.

Cannot load plugin because dependency failed to load: ScopeGadget(1.0.0)
Reason: C:/Program Files/LibrePilot/lib/librepilot-gcs/plugins/LibrePilot/ScopeGadget.dll: Cannot load library C:\Program Files\LibrePilot\lib\librepilot-gcs\plugins\LibrePilot\ScopeGadget.dll: Das angegebene Modul wurde nicht gefunden.

C:/Program Files/LibrePilot/lib/librepilot-gcs/plugins/LibrePilot/PfdQml.dll: Cannot load library C:\Program Files\LibrePilot\lib\librepilot-gcs\plugins\LibrePilot\PfdQml.dll: Das angegebene Modul wurde nicht gefunden.

C:/Program Files/LibrePilot/lib/librepilot-gcs/plugins/LibrePilot/ScopeGadget.dll: Cannot load library C:\Program Files\LibrePilot\lib\librepilot-gcs\plugins\LibrePilot\ScopeGadget.dll: Das angegebene Modul wurde nicht gefunden.

Cannot load plugin because dependency failed to load: Config(1.0.0)
Reason: C:/Program Files/LibrePilot/lib/librepilot-gcs/plugins/LibrePilot/Config.dll: Cannot load library C:\Program Files\LibrePilot\lib\librepilot-gcs\plugins\LibrePilot\Config.dll: Das angegebene Modul wurde nicht gefunden.


andyp

  • **
  • 52
Re: Compiling Librepilot in Windows 10 - problems and solutions
« Reply #18 on: April 29, 2021, 11:53:01 pm »
OK, you need to copy

qwt.dll

to C:\Program Files\LibrePilot\bin

C:/Program Files/LibrePilot/lib/librepilot-gcs/plugins/LibrePilot/PfdQml.dll: Cannot load library C:\Program Files\LibrePilot\lib\librepilot-gcs\plugins\LibrePilot\PfdQml.dll: Das angegebene Modul wurde nicht gefunden.

But the file is there?

Re: Compiling Librepilot in Windows 10 - problems and solutions
« Reply #19 on: April 30, 2021, 10:25:17 am »
Sorry.  I use Linux, not Windows.

I think that what LibrePilot needs right now is a port to latest environments / OS's.

I think I made a reasonable start on it.  I have made decisions to use recent Mint (Ubuntu), and about which QT / OSG / OSGEarth to use.  As I recall it was latest OsgEarth OsgEarth 3.1, and the Osg 3.6.5 and QT 5.6.1 that went with that.  I made some code and build changes.  It builds (including OsgEarth), but segfaulted in some places.  OsgEarth and some security something SSL3?  I got rid of the segfaults by bringing over some libs from my old dev box.  I haven't worked on it in almost 2 months.

Given the Linux focus of development, I would guess that it would be easiest to get it all working smoothly on Linux, then port to Windows and Macos.  Getting it working on Macos may be a bigger task.  Are the new M1 processors big endian?
« Last Edit: April 30, 2021, 12:48:35 pm by TheOtherCliff »