including libraries

Hi everybody,

i'm trying to programming using some libraries like ITK and VTK.

To be able to use these libraries I had download the files, than I had create the binary files by using CMake and finally I have build all the file opening the .sln file in visual studio.

Then i tried some example: I have copied the CMakeList.txt and the .cxx files, I configured it with CMake and then I tried to build the solution.

The problem is that the compiler tell me allways it miss some header, some .h file.

The same is happened to ma also with other simpler c++ examples.

I do not know if I was clear enough, anyway my questions are:

1_ how could i verify if I have instelled the missing .h file?
2_ if i really miss this file, how coul I find it and than include it into my program?

I hopefully wait for some ligh in my caos. Thanks in advace to anyone would like to help me!

Michele
R Ur h files in the right directory? make shure the h files r included with the other h files visual studio uses and the same with the o files (the files that hold the actual info about the function) or add the dir that they r in under tools -> options -> projects and solutions -> VC++ directories
Last edited on
When I create the CMakeList.txt file I tell to the compiler where the vtk directory is. Also I had tried to serch into the bin folder the missing header and I did not find it. Is the problem where I choose the directory?

Thank you for answered me.
try copying ur h files to where all the others r if ur having trouble adding the dir.
Topic archived. No new replies allowed.