SDL problem
« 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?


f5soh

  • *****
  • 4572
    • LibrePilot
Re: SDL problem
« Reply #1 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.

Re: SDL problem
« Reply #2 on: January 31, 2016, 03:58:44 pm »
THX !   Problem solved!

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

Thank you!

f5soh

  • *****
  • 4572
    • LibrePilot
Re: SDL problem
« Reply #3 on: January 31, 2016, 04:30:31 pm »
Yes, wiki is updated now  ;)