Gimp normal map plugin - need help

Hi!

I have tried make/compile normal map plugin for gimp 2.8.First I got some errors

1st error message:
uha@linux-414g:~> ls
bin Documents Music Public Templates works
Desktop Downloads Pictures public_html Videos
juha@linux-414g:~> cd downloads
bash: cd: downloads: No such file or directory
juha@linux-414g:~> cd Downloads
juha@linux-414g:~/Downloads> ls
gimp-normalmap-1.2.1.tar.bz2 normalmap
juha@linux-414g:~/Downloads> cd normalmap
juha@linux-414g:~/Downloads/normalmap> make
gcc -c -O3 -Wall pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0 normalmap.c
Package gtk±2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found Package gtkglext-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing gtkglext-1.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gtkglext-1.0’ found
Package gimp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimp-2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gimp-2.0’ found
normalmap.c:26:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make: *** [normalmap.o] Error 1
juha@linux-414g:~/Downloads/normalmap>

then I have installed next plugins:
gimp plugin-dds,gimp plugin-lqr,gimp-plugins-python,gimp-ufraw,libgimp-2_0-0-32bit,libgimpui2_0-0-32bit.

Latest error message is:
uha@linux-414g:~> ls
bin Documents Music Public Templates works
Desktop Downloads Pictures public_html Videos

juha@linux-414g:~> cd Downloads
juha@linux-414g:~/Downloads> ls
normalmap
juha@linux-414g:~/Downloads> cd normalmap
juha@linux-414g:~/Downloads/normalmap> make
gcc -c -O3 -Wall pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0 normalmap.c
Package gimp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimp-2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gimp-2.0’ found
normalmap.c:26:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make: *** [normalmap.o] Error 1
juha@linux-414g:~/Downloads/normalmap>

So how can I make or compile working normal map plugin for gimp???
I ask because I really need it.And Most important reason is:
I do not want change my really great opensuse linux any other linux distro! :slight_smile:

My software is: Opensuse 12.2 x86_64,Gimp 2.8.0 and Nvidia driver 310.32,KDE 4.9.5
resolution 1920x1080@60hz
Hardware is:
Motherboard:Gigabyte EP45-UD3LR
Intel quad core Q8200”2333mhz processor
8gb ddr2 800mhz RAM
700w psu
Samsung SyncMaster XL2370 display
HDD Western Digital blue 1tb
Keyboard Saitek Eclipse II usb

On Thu 04 Apr 2013 06:46:02 PM CDT, blender63 wrote:

Hi!

I have tried make/compile normal map plugin for gimp 2.8.First I got
some errors

1st error message:
uha@linux-414g:~> ls
bin Documents Music Public Templates works
Desktop Downloads Pictures public_html Videos
juha@linux-414g:~> cd downloads
bash: cd: downloads: No such file or directory
juha@linux-414g:~> cd Downloads
juha@linux-414g:~/Downloads> ls
gimp-normalmap-1.2.1.tar.bz2 normalmap
juha@linux-414g:~/Downloads> cd normalmap
juha@linux-414g:~/Downloads/normalmap> make
gcc -c -O3 -Wall pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0
normalmap.c
Package gtk±2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found Package gtkglext-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing gtkglext-1.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gtkglext-1.0’ found
Package gimp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimp-2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gimp-2.0’ found
normalmap.c:26:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make: *** [normalmap.o] Error 1
juha@linux-414g:~/Downloads/normalmap>

then I have installed next plugins:
gimp plugin-dds,gimp
plugin-lqr,gimp-plugins-python,gimp-ufraw,libgimp-2_0-0-32bit,libgimpui2_0-0-32bit.

Latest error message is:
uha@linux-414g:~> ls
bin Documents Music Public Templates works
Desktop Downloads Pictures public_html Videos

juha@linux-414g:~> cd Downloads
juha@linux-414g:~/Downloads> ls
normalmap
juha@linux-414g:~/Downloads> cd normalmap
juha@linux-414g:~/Downloads/normalmap> make
gcc -c -O3 -Wall pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0
normalmap.c
Package gimp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimp-2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gimp-2.0’ found
normalmap.c:26:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make: *** [normalmap.o] Error 1
juha@linux-414g:~/Downloads/normalmap>

So how can I make or compile working normal map plugin for gimp???
I ask because I really need it.And Most important reason is:
I do not want change my really great opensuse linux any other linux
distro! :slight_smile:

My software is: Opensuse 12.2 x86_64,Gimp 2.8.0 and Nvidia driver
310.32,KDE 4.9.5
resolution 1920x1080@60hz
Hardware is:
Motherboard:Gigabyte EP45-UD3LR
Intel quad core Q8200”2333mhz processor
8gb ddr2 800mhz RAM
700w psu
Samsung SyncMaster XL2370 display
HDD Western Digital blue 1tb
Keyboard Saitek Eclipse II usb

Hi
When it asks for *.pc files these are the devel ones (installing the
plugins you have should have no real affect…)

So you need to install gimp-devel and gtk2-devel.

Do you have a link for the plugin? I maintain the gimp-plugin-dds so
would be happy to add to our GNOME:Apps devel repo.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.1-desktop
up 3 days 2:57, 4 users, load average: 0.01, 0.04, 0.05
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile

i have installed those dev files.here is the results:
juha@linux-414g:~/Downloads/gimp-normalmap-1.2.1> make
gcc -c -O3 -Wall pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0 normalmap.c
normalmap.c: In function ‘filter_type_selected’:
normalmap.c:1150:26: warning: cast from pointer to integer of different size -Wpointer-to-int-cast]
normalmap.c:1152:25: warning: cast from pointer to integer of different size -Wpointer-to-int-cast]
normalmap.c: In function ‘height_source_selected’:
normalmap.c:1173:33: warning: cast from pointer to integer of different size -Wpointer-to-int-cast]
normalmap.c:1175:29: warning: cast from pointer to integer of different size -Wpointer-to-int-cast]
normalmap.c: In function ‘alpha_result_selected’:
normalmap.c:1194:25: warning: cast from pointer to integer of different size -Wpointer-to-int-cast]
normalmap.c:1196:24: warning: cast from pointer to integer of different size -Wpointer-to-int-cast]
normalmap.c: In function ‘conversion_selected’:
normalmap.c:1205:30: warning: cast from pointer to integer of different size -Wpointer-to-int-cast]
normalmap.c:1207:29: warning: cast from pointer to integer of different size -Wpointer-to-int-cast]
normalmap.c: In function ‘dudv_selected’:
normalmap.c:1230:24: warning: cast from pointer to integer of different size -Wpointer-to-int-cast]
normalmap.c:1232:20: warning: cast from pointer to integer of different size -Wpointer-to-int-cast]
normalmap.c: In function ‘normalmap_dialog’:
normalmap.c:1331:29: warning: missing sentinel in function call -Wformat]
gcc -c -O3 -Wall pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0 preview3d.c
preview3d.c:27:21: fatal error: GL/glew.h: No such file or directory
compilation terminated.
make: *** [preview3d.o] Error 1
:stuck_out_tongue:

Hi
That error means glew-devel is missing…

I’m building the package now in my testing repository;
https://build.opensuse.org/package/show?package=gimp-normalmap&project=home%3Amalcolmlewis%3ATESTING

It needed a couple of patches (which I pushed upstream) as well to build without errors and warnings.

Hello blender63,

I see you are getting help despite the fact that your posts are badly readable because of the fact that you, as a new user here, do not post your computer texts between CODE tags. You get the CODE tggas by clicking on the # button in the toolbar of the post editor. Please then copy/paste directly from the terminal window in between the CODE tags. This will preserve the layout as seen on the terminal and do more favourable things.

OK thank for your help :shame:

WOW thank you very much-this this very good surprise :nerd: And question: is it now ready for install??? I ask because, i am really big newbie with opensuse :slight_smile:

Hi
Yes, search here;
software.opensuse.org:

Or just download the one for your system arch from;
Index of /repositories/home:/malcolmlewis:/TESTING/openSUSE_12.3_Update_standard
and install via zypper (for example);


zypper in gimp-plugin-normalmap-1.2.3-2.1.x86_64.rpm

Thank you very much! It is working fine now rotfl!

Hi
Excellent, so what I will do is push the package to the GNOME:Apps repo, so it will probably be added to the next openSUSE release as well.