Closed maomran closed 5 years ago
You don't have to modify the machine-generated CMakefiles in order to add a library path.
Please use cmake /where/llvm-tracer/ -DCMAKE_PREFIX_PATH="/where/zlib/install"
to make cmake search zlib on the specified path.
https://cmake.org/cmake/help/v3.0/variable/CMAKE_PREFIX_PATH.html
And I have no idea how expected top-level entity
comes, could you please make VERBOSE=1
to see compilation details?
That worked fine, thanks
find_package(ZLIB)
and manually set ZLIBlib
andinclude
dirs since I installed them from sources.make
I get this error:/data/omran/emerald/llvm_install/bin/llvm-link: /data/omran/emerald/LLVM-Tracer/build/profile-func/trace_logger.obj.llvm:1:1: error: expected top-level entity