![]() ![]() /././build/intermediates/cxx/Debug/681tx4bf/obj/armeabi-v7a/libreactnativezstd.so /././build/intermediates/cxx/Debug/681tx4bf/obj/armeabi-v7a/libreactnativezstd.soįAILED. Ninja: Entering directory `/home/julien/Projects/react-native-zstd/android/.cxx/Debug/681tx4bf/armeabi-v7a' Here is the full error: Build command failed.Įrror while executing process /home/julien/Android/Sdk/cmake/3.404/bin/ninja with arguments However I keep getting the same error: ld: error: cannot find -lzstd Set(ZSTD_BUILD_PROGRAMS OFF) # Avoid Target "zstd" of type EXECUTABLE may not be linked into another target errorĪdd_subdirectory(./zstd/build/cmake zstd) I cloned the repository as a submodule into the zstd folder. I’m trying to build zstd to be used in Android with jni with the following CMakeLists.txt. If a target built by the parent project depends on a target in the subdirectory, the dependee target will be included in the parent project build system to satisfy the dependency.First, I would like to say I’m new to using CMake to there might be an obvious solution to this that I’m missing. Note that inter-target dependencies supercede this exclusion. Typically the subdirectory should contain its own project() command invocation so that a full build system will be generated in the subdirectory (such as a VS IDE solution file). This is meant for use when the subdirectory contains a separate part of the project that is useful but not necessary, such as a set of examples. Users must explicitly build targets in the subdirectory. If the EXCLUDE_FROM_ALL argument is provided then targets in the subdirectory will not be included in the ALL target of the parent directory by default, and will be excluded from IDE project files. The CMakeLists.txt file in the specified source directory will be processed immediately by CMake before processing in the current input file continues beyond this command. If binary_dir is not specified, the value of source_dir, before expanding any relative path, will be used (the typical usage). If it is a relative path it will be evaluated with respect to the current output directory, but it may also be an absolute path. The binary_dir specifies the directory in which to place the output files. If it is a relative path it will be evaluated with respect to the current directory (the typical usage), but it may also be an absolute path. The source_dir specifies the directory in which the source CMakeLists.txt and code files are located. add_subdirectory(source_dir Īdd a subdirectory to the build. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |