Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML CMake static linking  (Read 8357 times)

0 Members and 1 Guest are viewing this topic.

awesomebuddy

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
SFML CMake static linking
« on: June 11, 2021, 09:53:00 pm »
Greetings everyone,
I am new here...short introduction. I am new to programming sfml but i find it cool so i want to learn it. i program assembly on 6502(c64) as a hobbyist. i followed some tutorial how to link SFML but in the very end I get this linking error " C:\GameDev\SFMLwinGCCstatic>mingw32-make all
g++ test.cpp -o test.exe -DSFML_STATIC -I
g++: argument to '-I' missing

mingw32-make: *** [all] Error 1 ".....anyone to help me out how to fix it? or perhaps to advice a better way to to do it?
this is the tutorial i got it from : ..
I like to develop small 2D game using SFML and vim, just for fun.
thank you
« Last Edit: June 11, 2021, 09:54:49 pm by awesomebuddy »