|
|
Home » Developing U++ » Releasing U++ » Not all GUI UPP project files have NOGTK configuration
Not all GUI UPP project files have NOGTK configuration [message #15300] |
Tue, 15 April 2008 23:13 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
SUBJ.
That makes impossible to build many applications on systems, which do not have GTK installed, or have out-of-date version of GTK.
IMHO, all GUI applications should have the NOGTK configuration.
I've attached a patch for UPP examples.
Regards,
Novo
|
|
|
|
|
|
Re: Not all GUI UPP project files have NOGTK configuration [message #15345 is a reply to message #15308] |
Thu, 17 April 2008 05:20 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
luzr wrote on Wed, 16 April 2008 02:44 |
Without GTK, you are not even able to start theide, you need special U++ version anyway...
|
I'm using U++ at home to produce a Makefile (TheIDE built at home won't run at work even if built without GTK).
After that I can build TheIDE at work with some manual altering of Makefile (for some reason Makefile is based on absolute file names).
There is always a way ...
Regards,
Novo
|
|
|
|
|
Re: Not all GUI UPP project files have NOGTK configuration [message #15348 is a reply to message #15308] |
Thu, 17 April 2008 05:56 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
luzr wrote on Wed, 16 April 2008 02:44 |
Maybe we should rather introduce some "configuration header" instead?
|
I have no idea what "configuration header" means, but every Linux GUI application can be either GTK or NOGTK based (at least for now). Probably, there is no reason to mention that in each project file.
Regards,
Novo
|
|
|
|
|
|
|
Re: Not all GUI UPP project files have NOGTK configuration [message #15399 is a reply to message #15367] |
Mon, 21 April 2008 03:52 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
Novo wrote on Thu, 17 April 2008 14:09 |
luzr wrote on Thu, 17 April 2008 13:08 |
Hm I would not worry so hard. It is what config flags are for, after all..
Anyway, back to the plan. I guess uppsrc nest root is as good place to put uppconfig.h as any other Could you try that this idea works in practice please?
Mirek
|
Bombs GUI ...
Linking...
/usr/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
|
I'd like to say that defining flagNOGTK in Core.h didn't help.
Linking is still broken.
Adding "NOGTK GUI" configuration to all project files still seems to be the easiest solution.
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Fri Sep 20 08:20:17 CEST 2024
Total time taken to generate the page: 0.03336 seconds
|
|
|