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

After compilation, only the library file has no header file #324

Closed
ZhangXiChang opened this issue Apr 29, 2023 · 3 comments · Fixed by #337
Closed

After compilation, only the library file has no header file #324

ZhangXiChang opened this issue Apr 29, 2023 · 3 comments · Fixed by #337

Comments

@ZhangXiChang
Copy link

ZhangXiChang commented Apr 29, 2023

execute:
cmake -Bbuild -G "MinGW Makefiles" -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON -DKOMPUTE_OPT_BUILD_AS_SHARED_LIB=OFF
cd build
mingw32-make.exe -j14

result:
There are library files, but no header files. Execute 'mingw32 make. exe install' prompt:
CMake Error at src/cmake_install.cmake:45 (file):
file INSTALL cannot find
"C:/Project/GCC/AI/pack/kompute/build/kompute/komputeConfigVersion.cmake":
File exists.
Call Stack (most recent call first):
cmake_install.cmake:52 (include)

mingw32-make: *** [Makefile:99: install] Error 1

@axsaucedo
Copy link
Member

@ZhangXiChang what are you building atm? Is it one of the examples or your own project? If you can provide more details this can be explored further - for completeness the headers are in the include folder

@evanokeeffe
Copy link

Having a similar issue on Ubuntu 22.04 with install to /usr/local/lib
during make install getting this

CMake Error at src/cmake_install.cmake:50 (file): file INSTALL cannot find "/home/user/Libraries/kompute/build/kompute/komputeConfigVersion.cmake": No such file or directory. Call Stack (most recent call first): cmake_install.cmake:57 (include)

just using basic options for building
cd kompute
mkdir build && cd build
cmake ..
make -j4
sudo make install

@ToKiNoBug
Copy link
Contributor

I have met same issue too on windows with MSVC and clang, and on archlinux with gcc and clang. There's some thing wrong with its cmake script, I will try to fix it.

This was referenced Oct 25, 2023
ToKiNoBug added a commit to SlopeCraft/kompute that referenced this issue Oct 26, 2023
ToKiNoBug added a commit to SlopeCraft/kompute that referenced this issue Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants