GLC_lib & GLC_Player Forums
http://www.forum.glc-lib.net/

How to compile and install GLC_lib
http://www.forum.glc-lib.net/viewtopic.php?f=15&t=273
Page 1 of 1

Author:  laumaya [ Wed May 04, 2011 9:21 pm ]
Post subject:  How to compile and install GLC_lib

Hello All,
To compile GLC_lib, I recommend to not use an IDE. :idea:
Why ? Because there is a lot of IDE, and I don't know how to compile GLC_lib with all of them. ;)

Before trying to compil GLC_lib, be sure that you can compile a simple QT software.

Compiling GLC-lib :
    -Windows : run the command prompt provide with Qt or run cmd from the run command of start menu
    -Unix (And mac OS X) run a Terminal

First, go to the GLC_lib source folder.

On Windows :
Code:
qmake

With MinGW :
Code:
mingw32-make
mingw32-make install

With Visual C++
Code:
nmake
nmake install

On Windows, to use GLC_lib you have to set some environment variables :
PATH : C:\GLC_lib\lib\ by default
GLC_LIB_DIR C:\GLC_lib\ by default

On Unix system (Linux Mac OSx...)

On Linux:
Code:
qmake

On Mac Os X
Code:
qmake --spec macx-g++

On all unix systems
Code:
make
sudo make install


If you have GLC_lib compiling problem reply to this topic.

Thanks.

Laurent Ribon

Author:  joewan chen [ Tue Jan 24, 2012 11:29 am ]
Post subject:  Re: How to compile and install GLC_lib

hi laumaya,
first thanks very much for your GLC_lib, it is very excellent.
If we use cmake, maybe we can compile glc-lib in all kinds of IDE.
do you plan to support animation playing in glc-player?

Author:  laumaya [ Thu Feb 02, 2012 10:43 am ]
Post subject:  Re: How to compile and install GLC_lib

Hello,
joewan chen wrote:
If we use cmake, maybe we can compile glc-lib in all kinds of IDE.

Perhaps, but I'm not a specialist of cmake.

joewan chen wrote:
do you plan to support animation playing in glc-player?

Not really. GLC_lib don't have built-in feature for this kind of things. But I thinking about this for a long time..
@+

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/