LibrePilot Forum
General Category => General Discussion => Topic started by: TadyTheFish on May 27, 2016, 11:16:47 am
-
Hello!
After hours and hours of reading and preparing the enviroment and compiling I have managed to make it work :)
If i installed Librepilot and started it i got an error message that PfdQml.dll can't be used...
I have to run the exe fom the build directory and then i don't get the message.
The first time i started the librepilot everything was working great... Then i was changing some gadgets (can't remember which one i sellected) and Librepilot chrashed.
Then I started it again and the 3D Model View and PFD were missing!
Is this an issue or did I screw up something?
Thank you!
P.S. I tried to compile the code on 3 different computers and always i got the same error message. "no rule to make..." In all cases i had to manualy copy (and find on the web) libnettle-6-1.dll and libhogweed-4-1.dll (C:\msys32\mingw32\bin)
What did i miss that i dont have these files?
Thank you!
-
first thing you do is to reset the gui file->gcs inport->reset-config
also still try to fix your own build -> but precompiled are here if you like (winx64 only)
https://forum.librepilot.org/index.php?topic=1110.msg11475#msg11475
-
If only i knew someone was compiling for us:) no harm done... Atleast i learned something while compiling it myself;)
But still why do i get those dll errors?
Thank you for your help!
-
most of the time you're simply missing a dependency, overlooked line, not updated, etc
witch guid did you use?
-
this one:
https://librepilot.atlassian.net/wiki/display/LPDOC/Windows+Building+and+Packaging#WindowsBuildingandPackaging-For32bit
i was reading something on the forum... the update-core doesn't seem to work anymore... maybe i overlooked that... someone said that the command was removed and we should use pacman -Syu or -Syuu i can't remember
-
i tried the reset and it didn't work... I will uninstall my build and download the one you have provided me.
thank you!
-
i installed the pre-compiled version.. it doesn't work Visual Studio debugger throvs an error "Unhandled exception at 0x0000000000F36AC1 (Qt5Gui.dll) in librepilot-gcs.exe: 0xC0000005: Access violation reading location 0x0000000000000018."
-
Why you want to debug using Visual Studio ?
-
by mistake :) i had it installed and it automaticaly went into debugging :)
-
Reinstalled msys2 and re-made the whole enviroment... still not working the gadgets are missing.. where are these gadgets located?
I installed the pre-compiled file from the link above and i'm getting an error with the Qt5Gui.dll ... i copied the dll form my own build and it started normaly... now i can see the PFD gadget but when i select it the page si blank white... so no luck :(
-
Did you start it with the -reset argument or use file -> GCS settings import/export -> Reset config?
-
import/export -> Reset config
i found some files in appdata/roaming/ and i deleted librepilotCGS.xml and librepilotCGS.db and then if I start LP 15.09 and everything works... then i uninstalled 15.09 and installed (i ran it from the build folder) my compiled version the gadgets are missing even with the reset ... then i installed the 15.09 version again and there the gadgets are missing. Then i had to uninstall 15.09 and delete the files in Appdata/roaming and reinstall 15.09 and then they work again...
something is wrong with the build
-
And i fried my Revo mini :( this moon is killing me :(
-
And i fried my Revo mini :( this moon is killing me :(
Fried as in smoke came out and no LEDs come on anymore? Or as in won't connect to GCS?
Next is really the development version, normally only compiled by the developers. It's occasionally broken for a short time on one platform or another (usually Windows) when changes are made. My linux box compiles fine. It'll get fixed in the next few days.
This is an unusual situation where so many people are trying to compile it to get the aux mag feature.
-
This is an unusual situation where so many people are trying to compile it to get the aux mag feature.
And I am one of them ;)
The main chip fried... my fault fully... I made an Arduino that is fed with telemetry data from the FC. I did this because i wanted custom LED statuses (MAG fault, GPS status, Arming). I know about the WS2812 feature but i dont like the message styles.. I can make multiple LED, each for its own alarm... Or an LCD ;) i like to make things ;) also the Arduino was made to monitor battery voltage. CC3D does not support a buzzer. So i made my own. It counts the number of cells and it calculates the Warning voltage and the Alarm voltage...
I was fast and stupid and i missed a pin for monitoring. I connected GND of the arduino to the Vbat. That made the Vbat go directly to the RX and TX lines of the Flexi port... Now there is a little hole in the processor :( i Think the arduino survived but i can't be sure... Need a new FC to test :)
-
Reinstalled msys2 and re-made the whole enviroment... still not working the gadgets are missing.. where are these gadgets located?
I installed the pre-compiled file from the link above and i'm getting an error with the Qt5Gui.dll ... i copied the dll form my own build and it started normaly... now i can see the PFD gadget but when i select it the page si blank white... so no luck :(
dont know what you did ,, but the upload version are fully working ,, your the only one thats having problems with it.
-
How can i do a compelete clen reinstal of msys2 and all of its components? And a complete delete of librepilot files?
-
:-\ uninstall
-
Tried that.. No luck.. Don't know what i'm missing :'(
-
Tried that.. No luck.. Don't know what i'm missing :'(
You're not missing anything, the current next doesn't compile on windows. It should be fixed in a few days.
-
Aaa thank you! I misunderstood
-
Any news? https://forum.librepilot.org/Smileys/default/shocked.gif
-
Current next compiles fine, if that's what you are asking.
-
Are gadgets working on the windows compile?
-
If 3D-Model or PFD are missing, try to start with the "/reset" flag.
build/librepilot-gcs_release/bin/librepilot-gcs.exe /reset
-
Tried it ... It says "ModelViewGadget.dll: The specified module could not be found" and "PfdQml.dll: The specified procedure could not be found."
The files are all there
-
I think that means there is a dependency missing for those gadgets. Did you you do a clean build? Are you running it from the mingw shell? Possibly it's opengl related and you need to copy opengl32.dll into the bin directory so that is used instead of your system opengl
-
did a clean re-build.. now i'm missing libicuin56.dll
mingw32-make[2]: Entering directory 'C:/msys32/home/Tady/librepilot/build/librepilot-gcs_release'
mingw32-make[2]: *** No rule to make target 'C:/msys32/mingw32/bin/libicuin56.dll', needed by 'C:/msys32/home/Tady/librepilot/build/librepilot-gcs_release/bin/libicuin56.dll'. Stop.
mingw32-make[2]: Leaving directory 'C:/msys32/home/Tady/librepilot/build/librepilot-gcs_release'
Makefile:81: recipe for target 'sub-copydata-pro-make_first-ordered' failed
mingw32-make[1]: *** [sub-copydata-pro-make_first-ordered] Error 2
mingw32-make[1]: Leaving directory 'C:/msys32/home/Tady/librepilot/build/librepilot-gcs_release'
Makefile:264: recipe for target 'gcs' failed
mingw32-make: *** [gcs] Error 2
-
Copied some DLLs by hand.. Got it to run but gadgets PFD and Modelview still missign... So the same as before but different DLLs missing...
-
GCS should compile fine out of the box without the need to manually copy DLLs.
Looks like your msys2 install is not up to date.
From a msys2 shell, run this command "pacman -Syuu" and follow the instructions.
Run that command as many times as required until it says that your msys2 is up to date.
PS : Qt 5.6.1 has just been released and is already available on msys2.
So GCS is probably broken if you update msys2. Please don't update msys2.
I'll try to fix GCS this weekend.
-
I updated everything... But didn't run -Syuu command... It wasnt stated in the compiling tutorial :) the qt i have is 5.6.1... So toolate for me ;) i will wait no problem... Can you notifiy us when it is fixed?
Thank you
-
It might not be broken so feel free to try it
-
a fix for the icu upgrade has been pushed to next.
GCS build should be fine now
-
re-built everything... now the CGS compiles without errors ( first time for me so yaaay :) ) but still i have problems with PFD. I can select in the drop-down menu but it is white... The modelView on the other hand is missing from the drop-down menu...
tried.. build/librepilot-gcs_release/bin/librepilot-gcs.exe /reset .. no luck
i didn't install the build .. i ran it directly...
-
Try "-reset" instead of "/reset"
Or File > Import/Export GCS Settings and Reset button
Restart GCS
-
Tried to install it... The same problem
-
After you run the GCS next for first time you need to reset config.
Go to File > Import/Export GCS settings and Reset button
Restart GCS
If issue still, try installing with MesaOpenGL driver selected.
https://www.youtube.com/watch?v=8-2qPy2YYT8
-
Great! that worked! :) now i can see everything! thank you. I did these resets before with no luck but this time it worked :)