'gtk/gtk.h': No such file or directory

Post Reply
jamesLocal
Posts: 27
Joined: Sun Jun 27, 2010 3:44 pm

'gtk/gtk.h': No such file or directory

Post by jamesLocal »

Code: Select all

Scanning dependencies of target OpenViBE-kernel-dynamic
[  1%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/ovkCKernelObjectFactory.obj
ovkCKernelObjectFactory.cpp

d:\openv-useit\trunk\openvibe-kernel-omk\trunc\src\openvibe-kernel\kernel\visual
isation/ovkCVisualisationTree.h(9) : fatal error C1083: Cannot open include file
: 'gtk/gtk.h': No such file or directory

NMAKE : fatal error U1077: 'G:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe' : return code
'0x2'
Stop.
This happen after installing the dependencies using win32-install_dependencies.exe. why is this? how do i resolve it?

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: 'gtk/gtk.h': No such file or directory

Post by yrenard »

Dear jamesLocal,

I have moved your topic to the appropriate forum.

It looks like GTK is not found. If you did not reinstall the dependencies, please reinstall them (that means first your remove them, then you install them back). Once this is done, run win32-clean.cmd and win32-build.cmd again. This should solve your problem.

Tell me if it helps,
Yann

jamesLocal
Posts: 27
Joined: Sun Jun 27, 2010 3:44 pm

Re: 'gtk/gtk.h': No such file or directory

Post by jamesLocal »

Well, i did it several times, but it's the same :(

bpayan
Posts: 46
Joined: Fri Jan 08, 2010 4:02 pm

Re: 'gtk/gtk.h': No such file or directory

Post by bpayan »

Dear jamesLocal,

I think the problem come to the win32-init_env_command.cmd. Have you got update this file with the newest skeleton file, because the "path" variable, define in this file have changed and the old "path" didn't contains the "gtk" path.
Can you copy the newest win32-init_env_command.cmd-skeleton to win32-init_env_command.cmd and build openvibe. I think, this should solve your problem.

Tell me if it helps,
Baptiste

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: 'gtk/gtk.h': No such file or directory

Post by yrenard »

Thank you Baptiste, I did not realize that !

This change is due to the switch from glade to gtk.

Yann

Post Reply