LibrePilot Forum

Development => Firmware General => Topic started by: lewiatanx on January 31, 2016, 10:35:16 am

Title: SDL problem
Post by: lewiatanx on January 31, 2016, 10:35:16 am
Hi,
I try compile new source Librepilot and get error:

mingw32-make[4]: Entering directory 'C:/code/librepilot/build/librepilot-gcs_release/src/libs/sdlgamepad'
compiling C:/code/librepilot/ground/gcs/src/libs/sdlgamepad/sdlgamepad.cpp
C:/code/librepilot/ground/gcs/src/libs/sdlgamepad/sdlgamepad.cpp:24:21: fatal error: SDL/SDL.h: No such file or directory
 #include <SDL/SDL.h>
                     ^
compilation terminated.


make win_sdk_install not download and not install SDL development - why?  (OpenSSL too).

I compile step by step like WIKI.

Does anyone have any solution?

Title: Re: SDL problem
Post by: f5soh on January 31, 2016, 11:20:17 am
Hi,

Gitbash is not supported with next anymore.
Now Msys2 is used and the SDL stuff comes from MSYS2 package.

Take a look at CONTRIBUTING.md file for instructions.
Title: Re: SDL problem
Post by: lewiatanx on January 31, 2016, 03:58:44 pm
THX !   Problem solved!

Now it's all O.K. WIKI also improved. :)

Thank you!
Title: Re: SDL problem
Post by: f5soh on January 31, 2016, 04:30:31 pm
Yes, wiki is updated now  ;)