-
Notifications
You must be signed in to change notification settings - Fork 162
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
CMake error during build in Windows 10 + Visual Studio 2019 + vcpkg #102
Comments
Apparently I have been able to localize the source of the build error at least to avoid it to occur.
in the CMakeLists.txt does not generate any issues and the build is completed successfully. I don't know if this may be of help for you or if it's still due to some mistakes from my side, but I thought it could be worthy to be mentioned. |
thank you,your comment has huge help for me |
Thankyou buddy , your troubleshooting guide helped to solve the errors in Visual studio during .json generation but what can be done to find path to the poco directory, even after numerous attempts I am unable to find them => "C:\Path\To\Poco-Install\lib\cmake\Poco". Please pass your views on this. |
Apparently administrator mode must be turned on before installing vcpkg, eigen3 and poco |
Hi, I'm currently trying to program Panda with Windows, and I'm stuck on the issue where I'm unable to find the correct path "C:\Path\To\Poco-Install\lib\cmake\Poco" in Visual Studio. I cannot find the right paths in the file system. I also set option(BUILD_TESTS "Build tests" OFF) in the CMakeLists.txt. I installed everything with administrator rights during installation of vcpkg, eigen3 and poco. Did you manage to set the paths correctly? Can you maybe help me with another advice how you could manage to get it running? |
If you have visual studio 2015 or later installed, follow these steps. 1.Make sure you have stored libfranka in C: or in C: subsequent folders.
8.type "cmake" paste the copied toolchain file path as shown, add the necessary flags as shown.
libfranka will be built. |
@avadhutmali999 I have followed everything but this isuue still persits. What could be the problem. I am getting following error. "CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): |
@divishadL are you using a personal computer or an organization's device? |
I’m trying to build the library for Windows, according to this documentation, through Visual Studio 2019.
I successfully built
Eigen3
andPoco
throughvcpkg
. However, when I try to build libfranka I can’t understand which paths of the builds should be set toPoco_DIR
andEigen3_DIR
, since I have no paths matching the suggested ones “[…]/lib/cmake/Poco” or “[…]/lib/cmake/eigen3”.Still, independently from which paths I set, when I run the generation of the Cmake Cache in Visual Studio, I get the following error:
after which the last line is repeated likely for 1000 times, before aborting the process.
Any ideas to catch the reason of this error? Please tell me if I didn’t provide enough information and I’ll eventually report further build output messages.
I apologize in advance if I'm posting this here, but there is not other support anywhere, I also tried on Franka world community without success so far.
The text was updated successfully, but these errors were encountered: