[SDL] Tux Paint 2002.07.19

nbs nbs at sonic.net
Fri Jul 19 22:58:01 PDT 2002

Hi Ney,
   I have just used CBuilder 6 to compile it and did not have any 
problems compiling and running it as long as it can find begin_code.h 
where it does the following...
#if defined(_MSC_VER)
#define __inline__	__inline

begin_code.h should be in the SDL include directory. Also ensure that 
you if compiling for Windows you need the following conditional defines...

Can anyone clarify what these would be in the case of Linux?

If you or David are interested, I can send you CBuilder6 projects as 
well as a Borland Mak file along with the Borland compatible *.lib files 
to ease the pain of future Borland developers.

Anyway, let me know.



Ney André de Mello Zunino wrote:
> Hello.
> I took a look at David Olofson's smooth scroll example and was amazed with
> its high quality when using the OpenGL mode. In order to learn more about
> the techniques (in particular, those related to OpenGL based tiling), I
> downloaded the source code and tried to build it with the Borland's Free C++
> command line compiler. I was careful to include the -DWIN32 switch, since my
> target is Windows, but am getting type declaration errors related to the use
> of the '__inline__' macro. There is one error message for each function
> using it. Has anybody (David maybe) got any suggestions on what I should try
> to do or look for?
> Thank you,
> Ney André de Mello Zunino
> P.S.: I apologize case this post is considered off-topic. The reason I
> decided to send it here is that I thought other people, who are also trying
> to learn from David's neat examples, might also benefit from it.
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

More information about the SDL mailing list