View Full Version : CImg library
mahayogin
6th July 2009, 07:52 AM
Hi, guys. I have some question:
-are there people, who used CImg image process library under fedora11 (i got it now on my machine) ?
sideways
6th July 2009, 10:02 PM
Do you have a problem or are you just asking if anyone's used the library?
I downloaded the platform independent zip file from http://sourceforge.net/projects/cimg/files/, unzipped, then:
cd CImg-1.3.1/examples
make olinux
(or, just type 'make' for options)
and there are some pretty stunning demos:
./CImg_demo
amongst other stuff. Thanks for the pointer to a great project.
mahayogin
7th July 2009, 11:03 AM
Do you have a problem or are you just asking if anyone's used the library?
I downloaded the platform independent zip file from http://sourceforge.net/projects/cimg/files/, unzipped, then:
cd CImg-1.3.1/examples
make olinux
(or, just type 'make' for options)
and there are some pretty stunning demos:
./CImg_demo
amongst other stuff. Thanks for the pointer to a great project.
Thanx. Frankly speaking i'am new in working under Fedora. When i was Win_user i use Devcpp C++ IDE to do my work with images. Is there Devcpp for Fedora or i should install other C++ IDE?
sideways
7th July 2009, 11:25 AM
No Devcpp but there is codeblocks (http://www.codeblocks.org/) and geany (http://www.geany.org/), or the more advanced eclipse (http://www.eclipse.org/cdt/) and netbeans (http://www.netbeans.org/features/cpp/)
yum install codeblocks geany
yum install eclipse-cdt
yum install netbeans
mahayogin
7th July 2009, 11:49 AM
No Devcpp but there is codeblocks (http://www.codeblocks.org/) and geany (http://www.geany.org/), or the more advanced eclipse (http://www.eclipse.org/cdt/) and netbeans (http://www.netbeans.org/features/cpp/)
yum install codeblocks geany
yum install eclipse-cdt
yum install netbeans
if i understand u correctly "yum install..." is a command i type in Terminal window? Listen, what about GDI32.lib (this file was need in Windows for CImg). Do i need something like GDI32.lib for Fedora?
sideways
7th July 2009, 01:06 PM
No, you don't need GDI32.lib in fedora, but you will need various development libs, if you are doing a lot of development then (in a terminal) type:
yum groupinstall "Development Tools" "Development libraries"
The yum install command needs to be typed as root, so first type 'su -' to switch to root user.
mahayogin
7th July 2009, 06:31 PM
...but you will need various development libs...
Actually, there is a need for standard libs (to work with printf, scanf functions, etc. mathlibs). May i ask about another important thing: can programme i build under Fedora works in Windows environment?
sideways
7th July 2009, 09:17 PM
May i ask about another important thing: can programme i build under Fedora works in Windows environment?
Not unless you compile it with windows tools under wine or use the MinGW cross-compiler for Fedora (http://fedoraproject.org/wiki/SIGs/MinGW)
Or build a .NET app using MonoDevelop (http://monodevelop.com/)
mahayogin
8th July 2009, 07:20 AM
to sideways: Thanx a lot for your help.
JohnVV
8th July 2009, 07:38 PM
i use it all the time
but the ide i like is Anjuta ( it is in the repos )
RupertPupkin
8th July 2009, 08:26 PM
Not unless you compile it with windows tools under wine or use the MinGW cross-compiler for Fedora (http://fedoraproject.org/wiki/SIGs/MinGW)
Or build a .NET app using MonoDevelop (http://monodevelop.com/)
Or use Java. How could you have forgotten that? :)
sideways
8th July 2009, 09:20 PM
Or use Java. How could you have forgotten that? :)
I also forgot python, ruby, perl ... ;)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.