google-code-export / photivo

Automatically exported from code.google.com/p/photivo
GNU General Public License v3.0
3 stars 0 forks source link

Compile error: gimp headers not found #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. qmake && make on a Ubuntu system with all the prerequisites installed

What is the expected output? What do you see instead?

Photivo should compile and build the gimp plugin. If gimp headers are not 
found, it should proceed without the plugin as said on 
http://photivo.org/photivo/download_and_setup/linux
Instead, the following error occurs:

compiling ../Sources/ptGimp.cpp
../Sources/ptGimp.cpp:26: fatal error: libgimp/gimp.h: No such file or directory
compilation terminated.
make[1]: *** [../Objects_Gimp/ptGimp.o] Fehler 1

gimp.h exists as part of libgimp2.0-dev package on Ubuntu 10.10, it sits in 
/usr/include/gimp2.0/libgimp.

I changed the include in ptGimp.cpp to
#include <gimp2.0/libgimp/gimp.h>
however, that was probably not the right idea, as it lead to new errors (not 
finding other includes referenced in libgimp.h).

What version of the product are you using? On what operating system?
from hg, version 6:7c8c442dde47
Ubuntu 10.10 AMD64.

Original issue reported on code.google.com by droebbel...@gmx.de on 28 Oct 2010 at 10:24

GoogleCodeExporter commented 9 years ago
Photivo was build?

Could you start on a clean directory with qmake again?

If it still doesn't work please provide the makefile of the ptgimp directory 
and the terminal output of
pkg-config --cflags-only-I gimp-2.0

greets mike

Original comment by m...@mm-log.com on 28 Oct 2010 at 1:02

GoogleCodeExporter commented 9 years ago
From a clean directory everything builds fine now. The gimp headers were 
missing at first. I expected rerunning qmake to be sufficient after installing 
the headers, but obviuosly it wasn't.

BTW, photivo actually was built - I didn't expect that because of the error 
message at the end of the build process. 

Original comment by droebbel...@gmx.de on 28 Oct 2010 at 2:07

GoogleCodeExporter commented 9 years ago
Very good.
Have fun using it.

Original comment by m...@mm-log.com on 28 Oct 2010 at 2:17