TU-Berlin-CVRS / uipf

A Unified Image Processing Framework
BSD 2-Clause "Simplified" License
7 stars 4 forks source link

yaml-cpp.so not able to find after building the yaml-cpp source files from github & brew #114

Open akarsh opened 8 years ago

akarsh commented 8 years ago

After building the yaml-cpp according to the github. I am not able to find the "libyaml-cpp.so"file in the build folder.

in order to modify it in the CMAKE lists.txt set(YAML_CPP_LIBRARY ${CMAKE_BINARY_DIR}/yaml-cpp/lib/libyaml-cpp.so)

I also installed yaml-cpp through brew on mac os x. But, not able to find this file.

akarsh commented 8 years ago

Link for the gist of error & cmakelist (https://gist.githubusercontent.com/akarsh/b1d9de0e0263b7c427ba/raw/1600a37a175de2a54b4b2ae9d4c6bc1b66efd2b2/cmake%2520error.txt)

(https://gist.githubusercontent.com/akarsh/b1d9de0e0263b7c427ba/raw/1600a37a175de2a54b4b2ae9d4c6bc1b66efd2b2/CMakeLists.txt)

cebe commented 8 years ago

have you tried running make in the build directory? The messages you are showing look like everything worked like it should.

The dependency target "YAML_CPP_LIBRARY" of target "uipf-framework" does not exist. This warning is for project developers. Use -Wno-dev to suppress it.

this is just a warning as stated in the comment after it, you can ignore that.

akarsh commented 8 years ago

Yes, i had tried make after cmake.

There are around 20 errors after make in the build dir: https://gist.githubusercontent.com/akarsh/14c1d47fdbc07fabd2ac/raw/4b11342f6919de1adaaf11311340104949dc29da/Terminal%2520Saved%2520Output.txt

I was searching for shared library & dynamic library difference to know if there is any problem due to it. As in Mac the yaml-cpp library are in dynamic library format. where as, for Linux the shared library for yaml-cpp.