Skip to content
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

Build failure on manual link source code.(whitout vcpkg) #64

Closed
orangeagain opened this issue Apr 27, 2021 · 0 comments
Closed

Build failure on manual link source code.(whitout vcpkg) #64

orangeagain opened this issue Apr 27, 2021 · 0 comments
Labels

Comments

@orangeagain
Copy link

orangeagain commented Apr 27, 2021

Reproduce:
operating system:Ubuntu

Link DirectX-Headers and DirectXMath source code instead of vcpkg,
add below code to "UVAtlas/CMakeLists.txt:line123:

line124:set(directx-headers_DIR /Users/user/Desktop/GithubDownload/DirectX-Headers-1.4.9/build)
line125:set(directxmath_DIR /Users/user/Desktop/GithubDownload/DirectXMath-jan2021/build/cmake)

Encountered the error below:

$ make ..
INFO: Using VCPKG for DirectX-Headers and DirectXMath.
CMake Warning (dev) at CMakeLists.txt:124 (find_package):
  Ignoring EXACT since no version is requested.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /home/user/GithubDownload/DirectX-Headers-1.4.9/build/directx-headers-config.cmake:27 (include):
  include could not find load file:

    /home/user/GithubDownload/DirectX-Headers-1.4.9/build/directx-headers-targets.cmake
Call Stack (most recent call first):
  CMakeLists.txt:124 (find_package)


CMake Warning (dev) at CMakeLists.txt:125 (find_package):
  Ignoring EXACT since no version is requested.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /home/user/GithubDownload/DirectXMath-jan2021/build/cmake/directxmath-config.cmake:27 (include):
  include could not find load file:

    /home/user/GithubDownload/DirectXMath-jan2021/build/cmake/DirectXMath-targets.cmake
Call Stack (most recent call first):
  CMakeLists.txt:125 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/user/GithubDownload/UVAtlas-apr2021/Build/CMakeFiles/CMakeOutput.log".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants