[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] TinyCC problem with SDL2 library

From: Arion Deno
Subject: [Tinycc-devel] TinyCC problem with SDL2 library
Date: Thu, 22 Nov 2018 20:38:44 -0200

hello ,  im a begginer with tcc,  so por testing, for small projects, in my university.   and home works.   im tryng compile a small projetct with SDL2 lib.   SDL2 its a famous game hug byValve.

so i doing a small game window  , its work  fine with gcc, but when trynng to compile with tinycc, no find the library. 

i  the download version for mingw for windows, put  headers ans libs in the folders.

in the windows command line :    tcc main_game.c -lSDL2main -lSDL2 -o small_game.exe  

the error tcc :  tcc/libSDL2.a: erros: invalid object file
tcc: error: 'SDL2'  not found

what i doing ? wrong?  please helpe
thanks all

reply via email to

[Prev in Thread] Current Thread [Next in Thread]