Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - PROJECT_BINARY_DIR=/home/mimre/workspace/tmp/cmake-problem/bin/subdir
- -- PROJECT_DIRS=/home/mimre/workspace/tmp/cmake-problem;/home/mimre/workspace/tmp/cmake-problem/subdir/;/home/mimre/workspace/tmp/cmake-problem/subdir/files
- -- PROJECT_NAME=cmake_problem
- -- PROJECT_SOURCE_DIR=/home/mimre/workspace/tmp/cmake-problem/subdir
- -- RUN_CONFIGURE=ON
- -- Triangle_CONFIG=/usr/local/lib/cmake/Triangle/TriangleConfig.cmake
- -- Triangle_CONSIDERED_CONFIGS=/usr/local/lib/cmake/Triangle/TriangleConfig.cmake
- -- Triangle_CONSIDERED_VERSIONS=1.7.0
- -- Triangle_DIR=/usr/local/lib/cmake/Triangle
- -- Triangle_FOUND=1
- -- Triangle_VERSION=1.7.0
- -- Triangle_VERSION_COUNT=3
- -- Triangle_VERSION_MAJOR=1
- -- Triangle_VERSION_MINOR=7
- -- Triangle_VERSION_PATCH=0
- -- Triangle_VERSION_TWEAK=0
- -- UNIX=1
- -- _CMAKE_INSTALL_DIR=/usr
- -- _CMAKE_TOOLCHAIN_LOCATION=/usr/bin
- -- _DIR=/usr/local/lib/cmake/Triangle
- -- _INCLUDED_FILE=/usr/share/cmake-3.5/Modules/Platform/Linux-GNU-CXX.cmake
- -- _INCLUDED_MULTIARCH_TOOLCHAIN_FILE=/usr/share/cmake-3.5/Modules/MultiArchCross.cmake
- -- _INCLUDED_SYSTEM_INFO_FILE=/usr/share/cmake-3.5/Modules/Platform/Linux.cmake
- -- _IN_TC=0
- -- __COMPILER_GNU=1
- -- __LINUX_COMPILER_GNU=1
- -- __UNIX_PATHS_INCLUDED=1
- -- _expectedTarget=
- -- _expectedTargets=Triangle::triangle;Triangle::triangle-api;Triangle::triangle-cli
- -- _targetsDefined=Triangle::triangle;Triangle::triangle-api;Triangle::triangle-cli
- -- cmake_problem_BINARY_DIR=/home/mimre/workspace/tmp/cmake-problem/bin/subdir
- -- cmake_problem_SOURCE_DIR=/home/mimre/workspace/tmp/cmake-problem/subdir
- -- f=
- -- file=
- -- l=
- -- target=
- -- type=
- -- val=0
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/mimre/workspace/tmp/cmake-problem/bin
- mimre@hpc-vis-1:~/workspace/tmp/cmake-problem/bin$ make -j1 VERBOSE=1
- /usr/bin/cmake -H/home/mimre/workspace/tmp/cmake-problem -B/home/mimre/workspace/tmp/cmake-problem/bin --check-build-system CMakeFiles/Makefile.cmake 0
- /usr/bin/cmake -E cmake_progress_start /home/mimre/workspace/tmp/cmake-problem/bin/CMakeFiles /home/mimre/workspace/tmp/cmake-problem/bin/CMakeFiles/progress.marks
- /usr/bin/make -f CMakeFiles/Makefile2 all
- make[1]: Entering directory '/home/mimre/workspace/tmp/cmake-problem/bin'
- /usr/bin/make -f subdir/CMakeFiles/subdir_lib.dir/build.make subdir/CMakeFiles/subdir_lib.dir/depend
- make[2]: Entering directory '/home/mimre/workspace/tmp/cmake-problem/bin'
- cd /home/mimre/workspace/tmp/cmake-problem/bin && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/mimre/workspace/tmp/cmake-problem /home/mimre/workspace/tmp/cmake-problem/subdir /home/mimre/workspace/tmp/cmake-problem/bin /home/mimre/workspace/tmp/cmake-problem/bin/subdir /home/mimre/workspace/tmp/cmake-problem/bin/subdir/CMakeFiles/subdir_lib.dir/DependInfo.cmake --color=
- Dependee "/home/mimre/workspace/tmp/cmake-problem/bin/subdir/CMakeFiles/subdir_lib.dir/DependInfo.cmake" is newer than depender "/home/mimre/workspace/tmp/cmake-problem/bin/subdir/CMakeFiles/subdir_lib.dir/depend.internal".
- Dependee "/home/mimre/workspace/tmp/cmake-problem/bin/subdir/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/mimre/workspace/tmp/cmake-problem/bin/subdir/CMakeFiles/subdir_lib.dir/depend.internal".
- Scanning dependencies of target subdir_lib
- make[2]: Leaving directory '/home/mimre/workspace/tmp/cmake-problem/bin'
- /usr/bin/make -f subdir/CMakeFiles/subdir_lib.dir/build.make subdir/CMakeFiles/subdir_lib.dir/build
- make[2]: Entering directory '/home/mimre/workspace/tmp/cmake-problem/bin'
- [ 25%] Building CXX object subdir/CMakeFiles/subdir_lib.dir/files/Test.cpp.o
- cd /home/mimre/workspace/tmp/cmake-problem/bin/subdir && /usr/bin/c++ -I/usr/local/lib/cmake/Triangle -std=gnu++11 -o CMakeFiles/subdir_lib.dir/files/Test.cpp.o -c /home/mimre/workspace/tmp/cmake-problem/subdir/files/Test.cpp
- [ 50%] Linking CXX static library libsubdir_lib.a
- cd /home/mimre/workspace/tmp/cmake-problem/bin/subdir && /usr/bin/cmake -P CMakeFiles/subdir_lib.dir/cmake_clean_target.cmake
- cd /home/mimre/workspace/tmp/cmake-problem/bin/subdir && /usr/bin/cmake -E cmake_link_script CMakeFiles/subdir_lib.dir/link.txt --verbose=1
- /usr/bin/ar qc libsubdir_lib.a CMakeFiles/subdir_lib.dir/files/Test.cpp.o
- /usr/bin/ranlib libsubdir_lib.a
- make[2]: Leaving directory '/home/mimre/workspace/tmp/cmake-problem/bin'
- [ 50%] Built target subdir_lib
- /usr/bin/make -f CMakeFiles/cmake_problem.dir/build.make CMakeFiles/cmake_problem.dir/depend
- make[2]: Entering directory '/home/mimre/workspace/tmp/cmake-problem/bin'
- cd /home/mimre/workspace/tmp/cmake-problem/bin && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/mimre/workspace/tmp/cmake-problem /home/mimre/workspace/tmp/cmake-problem /home/mimre/workspace/tmp/cmake-problem/bin /home/mimre/workspace/tmp/cmake-problem/bin /home/mimre/workspace/tmp/cmake-problem/bin/CMakeFiles/cmake_problem.dir/DependInfo.cmake --color=
- Dependee "/home/mimre/workspace/tmp/cmake-problem/bin/CMakeFiles/cmake_problem.dir/DependInfo.cmake" is newer than depender "/home/mimre/workspace/tmp/cmake-problem/bin/CMakeFiles/cmake_problem.dir/depend.internal".
- Dependee "/home/mimre/workspace/tmp/cmake-problem/bin/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/mimre/workspace/tmp/cmake-problem/bin/CMakeFiles/cmake_problem.dir/depend.internal".
- Scanning dependencies of target cmake_problem
- make[2]: Leaving directory '/home/mimre/workspace/tmp/cmake-problem/bin'
- /usr/bin/make -f CMakeFiles/cmake_problem.dir/build.make CMakeFiles/cmake_problem.dir/build
- make[2]: Entering directory '/home/mimre/workspace/tmp/cmake-problem/bin'
- [ 75%] Building CXX object CMakeFiles/cmake_problem.dir/main.cpp.o
- /usr/bin/c++ -I/usr/local/lib/cmake/Triangle -std=gnu++11 -o CMakeFiles/cmake_problem.dir/main.cpp.o -c /home/mimre/workspace/tmp/cmake-problem/main.cpp
- [100%] Linking CXX executable cmake_problem
- /usr/bin/cmake -E cmake_link_script CMakeFiles/cmake_problem.dir/link.txt --verbose=1
- /usr/bin/c++ CMakeFiles/cmake_problem.dir/main.cpp.o -o cmake_problem subdir/libsubdir_lib.a -ltriangle
- subdir/libsubdir_lib.a(Test.cpp.o): In function `Test::run()':
- Test.cpp:(.text+0xca): undefined reference to `triangle_context_create'
- Test.cpp:(.text+0xf5): undefined reference to `triangle_context_options'
- Test.cpp:(.text+0x12c): undefined reference to `triangle_mesh_create'
- Test.cpp:(.text+0x159): undefined reference to `triangle_context_destroy'
- collect2: error: ld returned 1 exit status
- CMakeFiles/cmake_problem.dir/build.make:95: recipe for target 'cmake_problem' failed
- make[2]: *** [cmake_problem] Error 1
- make[2]: Leaving directory '/home/mimre/workspace/tmp/cmake-problem/bin'
- CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/cmake_problem.dir/all' failed
- make[1]: *** [CMakeFiles/cmake_problem.dir/all] Error 2
- make[1]: Leaving directory '/home/mimre/workspace/tmp/cmake-problem/bin'
- Makefile:83: recipe for target 'all' failed
- make: *** [all] Error 2
Add Comment
Please, Sign In to add comment