![]() I’ve tried setting a number of CMAKE_ variables, none of which helped. Setting LD_LIBRARY_PATH for cmake -build makes it work, but that doesn’t go through snapcraftcl build. usr/bin/ld: warning: libkj-0.7.0.so, needed by /root/stage/usr/lib/x86_64-linux-gnu/libmircommon.so, not found (try using -rpath or -rpath-link) usr/bin/ld: warning: libcapnp-0.7.0.so, needed by /root/stage/usr/lib/x86_64-linux-gnu/libmircommon.so, not found (try using -rpath or -rpath-link) usr/bin/ld: warning: libyaml-cpp.so.0.6, needed by /root/stage/usr/lib/x86_64-linux-gnu/libmiral.so, not found (try using -rpath or -rpath-link) usr/bin/ld: warning: libmirplatform.so.21, needed by /root/stage/usr/lib/x86_64-linux-gnu/libmiral.so, not found (try using -rpath or -rpath-link) ![]() When this happens, rez-release also installs a set of metadata files into a hidden directory called. usr/bin/ld: warning: libmirclient.so.10, needed by /root/stage/usr/lib/x86_64-linux-gnu/libmiral.so, not found (try using -rpath or -rpath-link) You should do the same in your own build tool cmake files. usr/bin/ld: warning: libmirserver.so.54, needed by /root/stage/usr/lib/x86_64-linux-gnu/libmiral.so, not found (try using -rpath or -rpath-link) Some of the CMake Generators listed in the cmake (1) command-line tool -help output may have variants that specify. IDEs may use the cmake-file-api (7) to view CMake-generated project build trees. lmiral -lmircommon -lmircore -L/root/stage/usr/lib/x86_64-linux-gnu -lmircommon -lmircore -lwayland-client /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.71.0 -lfreetype -lxkbcommon Deprecated since version 3.27: Support for 'Extra Generators' is deprecated and will be removed from a future version of CMake. usr/bin/c++ -isystem/root/stage/usr/include -pthread -g -Werror -Wall -pedantic -Wextra -fPIC -Wnon-virtual-dtor -std=c++17 -L/root/parts/egmde/install/lib -L/root/parts/egmde/install/usr/lib -L/root/parts/egmde/install/lib/x86_64-linux-gnu -L/root/parts/egmdĮ/install/usr/lib/x86_64-linux-gnu -L/root/stage/lib -L/root/stage/usr/lib -L/root/stage/lib/x86_64-linux-gnu -L/root/stage/usr/lib/x86_64-linux-gnu -Wl,-z,defs CMakeFiles/egmde.dir/ CMakeFiles/egmde.dir/ CMakeFiles/egmde.dir/egwallpapĮr.cpp.o CMakeFiles/egmde.dir/ CMakeFiles/egmde.dir/ CMakeFiles/egmde.dir/ CMakeFiles/egmde.dir/ CMakeFiles/egmde.dir/ -o egmde -L/root/stage/usr/lib/x86_64-linux-gnu ![]() To open a project, you can point CLion to the top-level CMakeLists. When you create a new project, CLion generates CMakeLists.txt file automatically and places it in the project root directory. usr/bin/cmake -E cmake_link_script CMakeFiles/egmde.dir/link.txt -verbose=1 CMakeLists.txt file contains a set of directives and instructions describing the projects source files and targets (executable, library, or both). The build goes well right up until it comes to linking, at which point it fails with. (you’ll need to use mir-core20/latest/edge to reproduce locally)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |