Closed scudette closed 3 years ago
Sorry for this - i figured it out. I first needed to install vcpkg properly:
mic@devbox:~/projects/uthenticode/build$ ~/projects/vcpkg/vcpkg integrate install
Applied user-wide integration for this vcpkg root.
CMake projects should use: "-DCMAKE_TOOLCHAIN_FILE=/home/mic/projects/vcpkg/scripts/buildsystems/vcpkg.cmake"
mic@devbox:~/projects/uthenticode/build$ cmake -DCMAKE_TOOLCHAIN_FILE=/home/mic/projects/vcpkg/scripts/buildsystems/vcpkg.cmake ..
From a clean build directory worked to properly configure the project and it built then.
Thanks for posting your solution! Yep, you need to configure CMake to get its packages from the vcpkg
toolchain. It's a little annoying, but you should only need to do it once per CMake build (or set it globally in your environment).
I'd be happy to accept a PR that tweaks the README slightly to include a reference to CMAKE_TOOLCHAIN_FILE
😄
This might be a noob question but I am unable to build from source using the instructions. I am not very familiar with cmake or vcpkg so maybe this is the issue (it has been a while since i fought with c++).
I installed vcpkg from source and built it fine, then it seems to install pe-parse correctly, but when trying to build uthenticode it cant find it and i cant figure out how to tell it where it is installed.