Missing tk.h and tcl.h files when building VRip - build

I am trying to compile VRip in Ubuntu 10.04, using the site http://graphics.stanford.edu/software/vrip/guide/ as a guide. It relies on installation of Tcl and Tk -- I have acquired the latest versions of these from the synaptic package manager.
When I write "make depend", I get the error:
In file included from vripInit.cc:30: vripInit.h:22:17: error: tcl.h:
No such file or directory vripMain.cc:22:16: error: tk.h: No such file
or directory In file included from vripMain.cc:28: vripInit.h:22:17:
error: tcl.h: No such file or directory In file included from
vripMiscCmds.cc:29: vripMiscCmds.h:22:17: error: tcl.h: No such file
or directory In file included from vripFillCmds.cc:29:
vripFillCmds.h:22:17: error: tcl.h: No such file or directory In file
included from vripFileCmds.cc:29: vripFileCmds.h:22:17: error: tcl.h:
No such file or directory In file included from vripGridCmds.cc:29:
vripGridCmds.h:22:17: error: tcl.h: No such file or directory In file
included from vripRangeCmds.cc:36: vripRangeCmds.h:21:17: error:
tcl.h: No such file or directory In file included from
vripGUICmds.cc:37: vripGUICmds.h:22:17: error: tcl.h: No such file or
directory vripGUICmds.cc:43:16: error: tk.h: No such file or directory
In file included from vripPlyCmds.cc:32: vripPlyCmds.h:22:17: error:
tcl.h: No such file or directory rm makedep.bak
It seems to be looking for header files and not finding them. But I'm not sure where to tell it to look. Could anyone with more experience help out? I've spent a good couple of hours trying to figure this out without any success... :S
Thanks,
LPlates

Install tcl-dev package using apt or synaptic; tcl contains the runtime, while tcl-devel contains header and development files. Do the same with tk-dev

Related

Setting up go-gl on windows? GLFW not found?

I'm trying to get go-gl to work on windows. I've downloaded mingw and I've installed glfw according to this question (I put the dll in System32).
I download triangle.go from the examples github and setup this folder structure on my desktop:
/gocode
/src
/gogltest
triangle.go
I set the gocode folder as the gopath, I cd into gogltest and run go get. It downloads the files into gocode/src/github.com/ and I get this output:
# github.com/go-gl/glfw3
..\github.com\go-gl\glfw3\clipboard.go:4:24: fatal error: GLFW/glfw3.h: No such
file or directory
//#include <GLFW/glfw3.h>
^
compilation terminated.
# github.com/go-gl/gl
In file included from ..\github.com\go-gl\gl\attriblocation.go:7:0:
gl.h:2:21: fatal error: GL/glew.h: No such file or directory
#include <GL/glew.h>
^
compilation terminated.
What am I missing that will make glfw work for me?

fatal error: libxml/xmlmemory.h: No such file or directory

Can anyone explain to me that error and what should I do to solve it !?:
In file included from /home/jros/catkin_ws/src/kinectueye/include/MIXEDVISION/CModelStereoXml.h:6:0,
from /home/jros/catkin_ws/src/kinectueye/src/kinect_ueye.cpp:10:
/home/jros/catkin_ws/src/kinectueye/include/MIXEDVISION/CXml.h:6:31: fatal error: libxml/xmlmemory.h: No such file or directory
compilation terminated.
CModelStereoXml, CXml and xmlmemory all are files in a library (so I can't edit it) that I use in my program kinect_ueye.cpp.
It says CXml.h line 6 is:
#include <libxml/xmlmemory.h>
But libxml/xmlmemory.h is not in your include path. The include path is set with -I options on the compiler command line.
The error is "fatal" because compilation cannot continue past that point.
Find out where that file is actually installed and make sure the path to its libxml directory is in a -I option. For example, if it's installed in /opt/local/include/libxml/xmlmemory.h, then you need -I /opt/local/include on your command line.
CModelStereoXml, CXml and xmlmemory all are files in a library (so I can't edit it)
Only the compiled code is in a library (.a, .la, or .so file) that you can't edit. The headers will be located somewhere else.

Issue (With Boost?) When Installing Carmel

I am attempting to install Carmel, which is causing some issues. I'm running OSX 10.7.5 on my machine, and I think the prerequisite boost installation is causing issues.
I've installed boost, but when trying to install Carmel, get errors like:
In file included from ../../graehl/carmel/src/fst.h:4,
from ./src/fst.cc:3:
../../graehl/carmel/src/config.hpp:8:25: error: fst/compat.h: No such file or directory
../../graehl/carmel/src/config.hpp:32:29: error: fst/vector-fst.h: No such file or directory
In file included from ../../graehl/carmel/src/fst.h:4,
from ./src/carmel.cc:33:
../../graehl/carmel/src/config.hpp:8:25: error: fst/compat.h: No such file or directory
../../graehl/carmel/src/config.hpp:32:29: error: fst/vector-fst.h: No such file or directory
../../graehl/carmel/src/config.hpp:36:26: error: fst/minimize.h: No such file or directory
../../graehl/carmel/src/config.hpp:37:27: error: fst/rmepsilon.h: No such file or directory
../../graehl/carmel/src/config.hpp:38:29: error: fst/determinize.h: No such file or directory
../../graehl/carmel/src/config.hpp:39:25: error: fst/connect.h: No such file or directory
../../graehl/carmel/src/config.hpp:42:27: error: fst/lib/util.cc: No such file or directory
../../graehl/carmel/src/config.hpp:43:26: error: fst/lib/fst.cc: No such file or directory
../../graehl/carmel/src/config.hpp:44:28: error: fst/lib/flags.cc: No such file or directory
Could someone point me in the right direction with these errors. I'm not where to turn here, or where to look.
Thanks!

Protobuf helloworld compile error

I checked out the protobuf repository, built with a custom prefix and installed, then copy&pasted the Person example from Google and compiled with protoc. That was OK.
But when I include Person.pb.h in my CPP file, I get:
/home/name/usr/include/google/protobuf/repeated_field.h:53:47: fatal error:
google/protobuf/stubs/type_traits.h: No such file or directory
That file was not installed. Is it a bug?

tbb GettingStarted example is not compiling

I have sources the tbbvars.csh file.
I have opened the example directory as I was guided (/GettingStarted/sub_string_finder), and run make.
Unfortunately I got the following error:
sub_string_finder.cpp:32:30: error: tbb/parallel_for.h: No such file or directory
sub_string_finder.cpp:33:31: error: tbb/blocked_range.h: No such file or directory
sub_string_finder.cpp:35: error: tbb is not a namespace-name
Does anybody have a clue?
You must include tbb directory to compile your example