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

Cannot find a bunch of .cmake files in installed library #1225

Open
gongwaner opened this issue Nov 14, 2024 · 0 comments
Open

Cannot find a bunch of .cmake files in installed library #1225

gongwaner opened this issue Nov 14, 2024 · 0 comments

Comments

@gongwaner
Copy link

gongwaner commented Nov 14, 2024

Hi,
I downloaded the source code of release 2023.07, compiled and then installed the library.
I then set the installed library's cmake dir as CTK_DIR for other projects, and got bunch of errors indicating the missing of .cmake files.

CMake Error at D:/Library/CTK-2023.07.13_install/lib/ctk-0.1/CMake/CTKConfig.cmake:96 (include):
  include could not find requested file:
    D:/Library/CTK-2023.07.13_install/lib/ctk-0.1/CMake/ctkFunctionGeneratePluginUseFile.cmake
    
CMake Error at D:/Library/CTK-2023.07.13_install/lib/ctk-0.1/CMake/CTKConfig.cmake:100 (include):
  include could not find requested file:
    D:/Library/CTK-2023.07.13_install/lib/ctk-0.1/CMake/ctkFunctionExtractPluginTargets.cmake

CMake Error at D:/Library/CTK-2023.07.13_install/lib/ctk-0.1/CMake/CTKConfig.cmake:102 (include):
  include could not find requested file:
    D:/Library/CTK-2023.07.13_install/lib/ctk-0.1/CMake/ctkFunctionGetTargetDependencies.cmake

CMake Error at D:/Library/CTK-2023.07.13_install/lib/ctk-0.1/CMake/CTKConfig.cmake:103 (include):
  include could not find requested file:
    D:/Library/CTK-2023.07.13_install/lib/ctk-0.1/CMake/ctkFunctionGetPluginDependencies.cmake

CMake Error at D:/Library/CTK-2023.07.13_install/lib/ctk-0.1/CMake/CTKConfig.cmake:104 (include):
  include could not find requested file:
    D:/Library/CTK-2023.07.13_install/lib/ctk-0.1/CMake/ctkMacroSetupPlugins.cmake

I found this is also mentioned in #1178. Following the comment in the issue, I added changes in #1150 into my cmakelists.txt. And then I got new error from ctkMacroValidateBuildOptions.cmake line 45
"Executable doesn't exist!"

I'm wondering if there's something wrong with my Cmake options.
So what options should I check to fix the Executable-not-exist error?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant