Bienvenue, Invité. Merci de vous connecter ou de vous inscrire. Avez-vous oublié d'activer ?

Voir les contributions

Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.


Messages - seluj78

Pages: [1]
1
Général / Re: SFML reference error (CMake, Clion, Windows and MinGW)
« le: Avril 26, 2017, 02:17:00 pm »
Alright i definitively ain't geting the errors anymore, but the errors aren't here anymore...

Clion&CMake compile perfectly, tho nowm It doesnt launch when I hit the run button. Here's the output :

C:\Users\user\Documents\Projects\Adventures\cmake-build-debug\Adventures.exe

Process finished with exit code -1073741511 (0xC0000139)


it launches then stops... I've added a define for SFML_STATIC but didn't work and i've added the .dlls everywhere in the project and still ain't good ...


(http://stackoverflow.com/questions/43634181/error-code-1073741511-0xc0000139-when-launching-a-program-made-with-sfml-in-c)

2
Général / SFML reference error (CMake, Clion, Windows and MinGW)
« le: Avril 22, 2017, 01:13:12 pm »
I'm just recently came to know the existence of SFML and I wanted to try it out !
So I followed the instructions from the SFML Github Wiki using Cmake with Clion on Windows

Here's where I installed SFML : `C:\SFML`

Here's the layout of my Clion project folder : http://prntscr.com/ezgo1n

Here's the content of my `main.cpp`:

(click to show/hide)
Here's the content of the `config.h.in` file:
(click to show/hide)
Here's the content of my `CMakeLists.txt`: https://pastebin.com/2QQCycEv

And finally here's the error I got :
(click to show/hide)

And I can't seem to figure it out... I've looked all over stackoverflow, the forums, nothing fixed it

Any clue ?

  [1]: https://github.com/SFML/SFML/wiki/Tutorial%3A-Build-your-SFML-project-with-CMake

Pages: [1]