Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  Signup for free on our forum and benefit from new features!
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Print
Cximage compilation on Linux (Read 917 times)
Batou
YaBB Newbies
*
Offline


I Love YaBB 2!
Posts: 2

Cximage compilation on Linux
03/26/12 at 10:21:10
 
Hello !
Thank you for this library, it is very useful on windows....I am using the version 7.02 and trying to compile it on Linux with Wine, but I have a question : did you try to compile this version on linux ?
If yes, is it possible to write an article/tutorial about the compilation on linux ? (I think it is sad to have a library with "linux compatibility", but without tutorial or article about it..)

Thank you !
Back to top
 
 
IP Logged
 
Davide
YaBB Moderator
*****
Offline



Posts: 589

Re: Cximage compilation on Linux
Reply #1 - 03/26/12 at 20:58:14
 
setting #define CXIMAGE_SUPPORT_WINDOWS 0 in ximacfg.h should be enough to compile on Linux.
I compiled the library using KDevelop2 (see cximage599c_tar in the download page). Or in the last release there is a cximage.dev project for wxDevCpp, from here maybe you can create a makefile for your linux compiler.
Back to top
 
WWW  
IP Logged
 
Batou
YaBB Newbies
*
Offline


I Love YaBB 2!
Posts: 2

Re: Cximage compilation on Linux
Reply #2 - 04/08/12 at 14:21:53
 
Thank you for you answer !

I write my own Makefile and I define the CXIMAGE_SUPPORT_WINDOWS, now it is supposed to work, I still have some problems :
_in the xiofile.h there is the _tfopen function (wich is not ANSI)
_in the ximage.h file, HDC and BYTE are not recognize as a type
_in ximadsp.cpp std::min and std::max are not recognize as function...and with the include of algorithm, there are problems with the include queue...

I choose to not use the 5.99 version of cximage library, because using a 2 old versions of the library is like working on Windows 92.. and because I was sure that a "highly portable" library work on Unix platform in the latest version...

I know how difficult it is to develop portable application (I tried a few month ago), but please, for all the unix programmers....(and the mac users by the way).. create some cmake files (the easy way for portability), and download a virtual machine software (VirtualBox for example), and download an unix OS...and try your library..
Please, it will be very useful for everyone and for the next versions of the cximage library.

PS : If you need help to create the cmake files, I can create them...
Back to top
 
 
IP Logged
 
Davide
YaBB Moderator
*****
Offline



Posts: 589

Re: Cximage compilation on Linux
Reply #3 - 04/09/12 at 17:38:22
 
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Print