Page 1 of 1

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

Posted: Mon Aug 30, 2010 8:40 pm
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?

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

Posted: Tue Aug 31, 2010 7:44 am
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

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

Posted: Fri Sep 03, 2010 5:03 am
by jamesLocal
Well, i did it several times, but it's the same :(

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

Posted: Fri Sep 03, 2010 9:01 am
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

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

Posted: Fri Sep 03, 2010 9:42 am
by yrenard
Thank you Baptiste, I did not realize that !

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

Yann