New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling error: zlib.h: No such file or directory #19
Comments
Try something with this: http://cmake.org/cmake/help/cmake-2-8-docs.html#command:include_directories in your bamtools/src/api/CMakeLists.txt file.
Let me know if that does the trick or not. |
Thanks - that works. I have another question, if I want to install bamtools to a directory (e.g., $prefix), by doing: cmake .. -DCMAKE_INSTALL_PREFIX=$prefix It will generate directory layout like this: $prefix This works if I want to install bamtools to /usr/local, but doesn't work if I don't want to mix it up with other libraries and want to generate layout like this: $prefix Is there anything I could tell cmake to do rather than manually move the files? Thanks, |
Unfortunately, I really don't know. I never dove into all the Between the CMake docs & Google, you might be able to figure out Sorry I can't be of much help at the moment.
On 10/13/2011 09:44 PM, orionzhou wrote:
|
I am getting this error:
[ 4%] Building CXX object src/api/CMakeFiles/BamTools.dir/internal/BgzfStream_p.cpp.o
/project/youngn/zhoup/Source/bamtools/src/api/internal/BgzfStream_p.cpp:20:18: error: zlib.h: No such file or directory
What can I do to tell cmake to look for zlib.h in my custom library (e.g., /usr/local/include) ? thanks a lot!
The text was updated successfully, but these errors were encountered: