Page 1 of 1

Visual Styles VIsta + XP

Posted: Mon Jan 05, 2009 6:20 pm
by valiyuneski
Hi Eran, i have this project which is supposed to run on multiplatform. In order to see the Vista + XP controls i use this generic manifest.
Now in windows version of the CodeLite everything works ok, but when i switch to Ubuntu the project which includes the manifest is no
longer compiling unless i remove the manifest file from project. Question ! is there anything i can do just to have one project only cross
compilable with this manifest inside (some conditional additon of files to project ?)

Valentin

Re: Visual Styles VIsta + XP

Posted: Mon Jan 05, 2009 6:44 pm
by asterisc
Will some #ifdef WIN32 inside your sources help?

Re: Visual Styles VIsta + XP

Posted: Mon Jan 05, 2009 10:53 pm
by eranif
I guess that you included the manifest file under '.rc' file, so on your linux machine:
settings ->build settings

select the compiler, and switch to 'file types'

and delete the entry for rc files - this way codelite will simply ignore .rc file

Eran