You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Op Sys: Kali Linux v2024.3 (updated + upgraded)
cling: most current version (as per build script below)
level of experience with cmake / cling: low+
we were talking on the cppyy github site about issues i was having with building cling into a standalone solution, then embedding within my qt c++ solution. i that conversation you suggested i use the 'demo' example in 'tools'. i tried this but still no luck.
Here is my build script:
"
mkdir experimental
cd experimental
git clone https://github.com/root-project/llvm-project.git
cd llvm-project
git checkout cling-latest
cd ..
git clone https://github.com/root-project/cling.git
mkdir cling-build && cd cling-build
cmake -DLLVM_EXTERNAL_PROJECTS=cling -DLLVM_EXTERNAL_CLING_SOURCE_DIR=../cling/ -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_TARGETS_TO_BUILD="host;NVPTX" -DCMAKE_BUILD_TYPE=Release ../llvm-project/llvm
cmake --build . --target cling
cmake --build . --target clang
"
as per your web page in github for the 'demo' example, i tried the following:
"
cmake -Dcling_DIR=/home/simon/Experimental/cling-build/lib/cmake/clang /home/simon/Experimental/cling/tools/demo
"
i noticed there is no cling-build/lib/cmake/clang directory created after the build process.
i also get the following errors:
"
CMake Error at CMakeLists.txt:25 (find_package):
By not providing "Findcling.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "cling", but
CMake did not find one.
Could not find a package configuration file provided by "cling" with any of
the following names:
clingConfig.cmake
cling-config.cmake
Add the installation prefix of "cling" to CMAKE_PREFIX_PATH or set
"cling_DIR" to a directory containing one of the above files. If "cling"
provides a separate development package or SDK, be sure it has been
installed.
"
i checked and there is no files for "cling*.cmake" anywhere in Experiemental (in any of the 3 directories within it - cling, cling-build, llvm-project)
is there any chance in helping me solve this issue and what i am doing wrong - please.
The text was updated successfully, but these errors were encountered:
Hello vgvassilev,
Op Sys: Kali Linux v2024.3 (updated + upgraded)
cling: most current version (as per build script below)
level of experience with cmake / cling: low+
we were talking on the cppyy github site about issues i was having with building cling into a standalone solution, then embedding within my qt c++ solution. i that conversation you suggested i use the 'demo' example in 'tools'. i tried this but still no luck.
Here is my build script:
"
mkdir experimental
cd experimental
git clone https://github.com/root-project/llvm-project.git
cd llvm-project
git checkout cling-latest
cd ..
git clone https://github.com/root-project/cling.git
mkdir cling-build && cd cling-build
cmake -DLLVM_EXTERNAL_PROJECTS=cling -DLLVM_EXTERNAL_CLING_SOURCE_DIR=../cling/ -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_TARGETS_TO_BUILD="host;NVPTX" -DCMAKE_BUILD_TYPE=Release ../llvm-project/llvm
cmake --build . --target cling
cmake --build . --target clang
"
as per your web page in github for the 'demo' example, i tried the following:
"
cmake -Dcling_DIR=/home/simon/Experimental/cling-build/lib/cmake/clang /home/simon/Experimental/cling/tools/demo
"
i noticed there is no cling-build/lib/cmake/clang directory created after the build process.
i also get the following errors:
"
CMake Error at CMakeLists.txt:25 (find_package):
By not providing "Findcling.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "cling", but
CMake did not find one.
Could not find a package configuration file provided by "cling" with any of
the following names:
clingConfig.cmake
cling-config.cmake
Add the installation prefix of "cling" to CMAKE_PREFIX_PATH or set
"cling_DIR" to a directory containing one of the above files. If "cling"
provides a separate development package or SDK, be sure it has been
installed.
"
i checked and there is no files for "cling*.cmake" anywhere in Experiemental (in any of the 3 directories within it - cling, cling-build, llvm-project)
is there any chance in helping me solve this issue and what i am doing wrong - please.
The text was updated successfully, but these errors were encountered: