Home » Developing U++ » U++ Developers corner » Problems to build U++
Re: Problems to build U++ [message #26516 is a reply to message #26505] |
Fri, 07 May 2010 13:55  |
|
ostruwe wrote on Thu, 06 May 2010 22:18 | I had to add some 64Bit specific include paths. A good solution instead adding more and more paths, would be to add the following shell command to the make file:
CINC = -I./ `pkg-config gdk-2.0 --cflags-only-I` `pkg-config atk --cflags-only-I` -I/usr/X11R6/include
This construct detects the needed paths without manual investigation.
|
Hi Otmar,
The problem with this solution is that pkg-config is not necessarily installed on every system. But you are right, it would be cleaner solution.
I'll try to see if we could use pkg-config in some safe way. Probably check if it is installed and if not than fall back to the old way...
BTW, you can always overwrite the default include paths from command line when executing make: make "CINC = -I./ `pkg-config gdk-2.0 --cflags-only-I` `pkg-config atk --cflags-only-I` -I/usr/X11R6/include"
Best Regards,
Honza
|
|
|
Goto Forum:
Current Time: Sun Aug 24 20:49:55 CEST 2025
Total time taken to generate the page: 0.06947 seconds
|