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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - harieamjari

Pages: [1]
1
General / Compiling CSFML example in tcc
« on: March 09, 2022, 07:28:46 am »
So currently I would like to test out if could compile an example csfml code with tcc (Tiny C Compiler 0.9.27) on windows, but currently, I have a compiler error:

C:\Users\User6\Desktop>tcc mainpage.c
In file included from mainpage.c:1:
In file included from c:/program files (x86)/tcc/include/SFML/Audio.h:32:
In file included from c:/program files (x86)/tcc/include/SFML/System.h:33:
In file included from c:/program files (x86)/tcc/include/SFML/System/Clock.h:32:
c:/program files (x86)/tcc/include/SFML/System/Time.h:47: error: declaration for parameter 'sfTime_Zero' but no such parameter
 

I'm compiling with csfml 2.5.1 with an example of csfml from https://gist.github.com/def-/fee8bb041719337c8812.

If there's no solution to this other than using a more newer compiler, please do say so. (I'm using tcc as i'm runnng out of storage).

Cheers,

harieamjari

Pages: [1]
anything