-
Notifications
You must be signed in to change notification settings - Fork 509
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
Jasper issue using VisualStudio 2022 #2685
Comments
mkdir mega cd mega git clone https://github.com/meganz/sdk git clone https://github.com/microsoft/vcpkg cmake -DVCPKG_ROOT=vcpkg -DCMAKE_BUILD_TYPE=Debug -S sdk -B build_dir Log: Detecting compiler hash for triplet x64-windows... I'm not an expert in this, but isn't there any way to create a script for Windows? |
You need to use the toolset |
Oh okay, i miss this step need to be 142 or most recent it's ok? Installed v142 now different error Detecting compiler hash for triplet x64-windows... Call Stack (most recent call first): error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output. |
Have you tried to delete the |
Can you please run the command from a Command Prompt ( |
we have any news sir? xD |
Hi @R0CH1TV! Apologies but we cannot reproduce your issue locally so it's hard for us to determine the cause. Could you please copy&paste the contents of these two log files so we can inspect what is going on?
|
|
|
Both files above |
Have you tried to set the variables |
Not, how i can do that? |
That's not an issue with the building system of MEGA's SDK, but an issue in the configuration of your environment. I've found this link for you, I hope it helps: https://stackoverflow.com/questions/11588855/how-do-you-set-cmake-c-compiler-and-cmake-cxx-compiler-for-building-assimp-for-i |
Sure i added to CMakelists.txt
config-x64-windows-mega-rel-CMakeCache.txt.log I followed the step-by-step instructions in the Read-me Windows is a new installation and there aren't many other software installed... There is only VS2022 and MSVC installed. |
Followed the guide
mkdir mega
cd mega
git clone https://github.com/meganz/sdk
git clone https://github.com/microsoft/vcpkg
when run this
cmake -DVCPKG_ROOT=vcpkg -DCMAKE_BUILD_TYPE=Debug -S sdk -B build_dir
i got this error below
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j17
Working Directory: D:/OneDrive/Documents/GitLab/mega/vcpkg/buildtrees/jasper/x64-windows-dbg
See logs for more information:
D:\OneDrive\Documents\GitLab\mega\vcpkg\buildtrees\jasper\install-x64-windows-dbg-out.log
Call Stack (most recent call first):
D:/OneDrive/Documents/GitLab/mega/build_dir/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
D:/OneDrive/Documents/GitLab/mega/build_dir/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
buildtrees/versioning_/versions/jasper/d7f51c26899ba9433a5a3ab92fc5b5887d5c764c/portfile.cmake:38 (vcpkg_cmake_install)
scripts/ports.cmake:192 (include)
error: building jasper:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle jasper:x64-windows: 34 s
Please ensure you're using the latest port files with
git pull
andvcpkg update
.Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+jasper
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[jasper]+Build+error+on+x64-windows&body=Copy+issue+body+from+D%3A%2FOneDrive%2FDocuments%2FGitLab%2Fmega%2Fbuild_dir%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/OneDrive/Documents/GitLab/mega/vcpkg/scripts/buildsystems/vcpkg.cmake:904 (message):
vcpkg install failed. See logs for more information:
D:\OneDrive\Documents\GitLab\mega\build_dir\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/OneDrive/Documents/GitLab/mega/build_dir/CMakeFiles/3.30.3/CMakeSystem.cmake:6 (include)
CMakeLists.txt:82 (project)
CMake Error at CMakeLists.txt:82 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:82 (project):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered: