Hi! Does anyone have any idea how to use CG with MinGW or is it better to switch to GLSL?
Thanks!
CG with MinGW?
Started by Mihail121, Mar 19 2006 08:21 PM
5 replies to this topic
#1
Posted 19 March 2006 - 08:21 PM
#2
Posted 20 March 2006 - 10:38 AM
There isn't special things to do, just link with the common cg.lib you use with Visual Studio.
#3
Posted 20 March 2006 - 07:34 PM
But MinGW uses a different library format than Visual Studio, doesn't it?
reedbeta.com - developer blog, OpenGL demos, and other projects
#4
Posted 20 March 2006 - 09:35 PM
No. Borland has it's own format, but MinGW and VS use the same.
#5
Posted 22 March 2006 - 01:05 PM
Nearly the same. All C libraries compiled with Visual C++ work fine under MinGW but it's not always the same with C++ library. Also, if you compile a library with MinGW, Visual C++ will not accept it.
#6
Posted 22 March 2006 - 06:08 PM
Yeah, name mangling differences will still prevent C++ libraries from being interchanged unless you use some utility to convert the mangling format.
reedbeta.com - developer blog, OpenGL demos, and other projects
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












