tinycc-devel
[Top][All Lists]
Advanced

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

Re: Vs: [Tinycc-devel] opengl lib for tinyCC? (Kenneth Forsb?ck)


From: KHMan
Subject: Re: Vs: [Tinycc-devel] opengl lib for tinyCC? (Kenneth Forsb?ck)
Date: Fri, 19 Dec 2008 11:19:27 +0800
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

云帆江 wrote:
hi
i am just a newbie on this,and i found many code sample written in cpp not c and the opengl lib for mingw seems dont work well on my system,can u give an simple example and all files tarball

tcc is only C, not C++. If your concern is more on developing apps, perhaps it's wise to stick to a more commonly used compiler.

OpenGL on MinGW works fine for me. You should stick to MinGW, it works fine for a lot of people. Are you sure the code samples are written for MinGW or in a platform neutral way? You can ask for help on the MinGW list, or if you are using OpenGL with SDL, you can ask on the SDL list.

---------------------------------------------------------------------------------
Date: Thu, 18 Dec 2008 11:34:57 +0200 (EET)
From: Kenneth Forsb?ck
Subject: Vs: [Tinycc-devel] opengl lib for tinyCC?
[snip]

I have found that the "official" OpenGL headers or the ones from MinGW work quite well. You could also just tiny_impdef the OpenGL libraries you are using and just let the linker do most of the work, although that would make debugging your code more difficult (compiler not able to check the routine definitions).

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia




reply via email to

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