Guest User

Untitled

a guest
Feb 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.78 KB | None | 0 0
  1. - PROJECT_BINARY_DIR=/home/mimre/workspace/tmp/cmake-problem/bin/subdir
  2. -- PROJECT_DIRS=/home/mimre/workspace/tmp/cmake-problem;/home/mimre/workspace/tmp/cmake-problem/subdir/;/home/mimre/workspace/tmp/cmake-problem/subdir/files
  3. -- PROJECT_NAME=cmake_problem
  4. -- PROJECT_SOURCE_DIR=/home/mimre/workspace/tmp/cmake-problem/subdir
  5. -- RUN_CONFIGURE=ON
  6. -- Triangle_CONFIG=/usr/local/lib/cmake/Triangle/TriangleConfig.cmake
  7. -- Triangle_CONSIDERED_CONFIGS=/usr/local/lib/cmake/Triangle/TriangleConfig.cmake
  8. -- Triangle_CONSIDERED_VERSIONS=1.7.0
  9. -- Triangle_DIR=/usr/local/lib/cmake/Triangle
  10. -- Triangle_FOUND=1
  11. -- Triangle_VERSION=1.7.0
  12. -- Triangle_VERSION_COUNT=3
  13. -- Triangle_VERSION_MAJOR=1
  14. -- Triangle_VERSION_MINOR=7
  15. -- Triangle_VERSION_PATCH=0
  16. -- Triangle_VERSION_TWEAK=0
  17. -- UNIX=1
  18. -- _CMAKE_INSTALL_DIR=/usr
  19. -- _CMAKE_TOOLCHAIN_LOCATION=/usr/bin
  20. -- _DIR=/usr/local/lib/cmake/Triangle
  21. -- _INCLUDED_FILE=/usr/share/cmake-3.5/Modules/Platform/Linux-GNU-CXX.cmake
  22. -- _INCLUDED_MULTIARCH_TOOLCHAIN_FILE=/usr/share/cmake-3.5/Modules/MultiArchCross.cmake
  23. -- _INCLUDED_SYSTEM_INFO_FILE=/usr/share/cmake-3.5/Modules/Platform/Linux.cmake
  24. -- _IN_TC=0
  25. -- __COMPILER_GNU=1
  26. -- __LINUX_COMPILER_GNU=1
  27. -- __UNIX_PATHS_INCLUDED=1
  28. -- _expectedTarget=
  29. -- _expectedTargets=Triangle::triangle;Triangle::triangle-api;Triangle::triangle-cli
  30. -- _targetsDefined=Triangle::triangle;Triangle::triangle-api;Triangle::triangle-cli
  31. -- cmake_problem_BINARY_DIR=/home/mimre/workspace/tmp/cmake-problem/bin/subdir
  32. -- cmake_problem_SOURCE_DIR=/home/mimre/workspace/tmp/cmake-problem/subdir
  33. -- f=
  34. -- file=
  35. -- l=
  36. -- target=
  37. -- type=
  38. -- val=0
  39. -- Configuring done
  40. -- Generating done
  41. -- Build files have been written to: /home/mimre/workspace/tmp/cmake-problem/bin
  42. mimre@hpc-vis-1:~/workspace/tmp/cmake-problem/bin$ make -j1 VERBOSE=1
  43. /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
  44. /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
  45. /usr/bin/make -f CMakeFiles/Makefile2 all
  46. make[1]: Entering directory '/home/mimre/workspace/tmp/cmake-problem/bin'
  47. /usr/bin/make -f subdir/CMakeFiles/subdir_lib.dir/build.make subdir/CMakeFiles/subdir_lib.dir/depend
  48. make[2]: Entering directory '/home/mimre/workspace/tmp/cmake-problem/bin'
  49. 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=
  50. 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".
  51. 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".
  52. Scanning dependencies of target subdir_lib
  53. make[2]: Leaving directory '/home/mimre/workspace/tmp/cmake-problem/bin'
  54. /usr/bin/make -f subdir/CMakeFiles/subdir_lib.dir/build.make subdir/CMakeFiles/subdir_lib.dir/build
  55. make[2]: Entering directory '/home/mimre/workspace/tmp/cmake-problem/bin'
  56. [ 25%] Building CXX object subdir/CMakeFiles/subdir_lib.dir/files/Test.cpp.o
  57. 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
  58. [ 50%] Linking CXX static library libsubdir_lib.a
  59. cd /home/mimre/workspace/tmp/cmake-problem/bin/subdir && /usr/bin/cmake -P CMakeFiles/subdir_lib.dir/cmake_clean_target.cmake
  60. cd /home/mimre/workspace/tmp/cmake-problem/bin/subdir && /usr/bin/cmake -E cmake_link_script CMakeFiles/subdir_lib.dir/link.txt --verbose=1
  61. /usr/bin/ar qc libsubdir_lib.a CMakeFiles/subdir_lib.dir/files/Test.cpp.o
  62. /usr/bin/ranlib libsubdir_lib.a
  63. make[2]: Leaving directory '/home/mimre/workspace/tmp/cmake-problem/bin'
  64. [ 50%] Built target subdir_lib
  65. /usr/bin/make -f CMakeFiles/cmake_problem.dir/build.make CMakeFiles/cmake_problem.dir/depend
  66. make[2]: Entering directory '/home/mimre/workspace/tmp/cmake-problem/bin'
  67. 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=
  68. 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".
  69. 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".
  70. Scanning dependencies of target cmake_problem
  71. make[2]: Leaving directory '/home/mimre/workspace/tmp/cmake-problem/bin'
  72. /usr/bin/make -f CMakeFiles/cmake_problem.dir/build.make CMakeFiles/cmake_problem.dir/build
  73. make[2]: Entering directory '/home/mimre/workspace/tmp/cmake-problem/bin'
  74. [ 75%] Building CXX object CMakeFiles/cmake_problem.dir/main.cpp.o
  75. /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
  76. [100%] Linking CXX executable cmake_problem
  77. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmake_problem.dir/link.txt --verbose=1
  78. /usr/bin/c++ CMakeFiles/cmake_problem.dir/main.cpp.o -o cmake_problem subdir/libsubdir_lib.a -ltriangle
  79. subdir/libsubdir_lib.a(Test.cpp.o): In function `Test::run()':
  80. Test.cpp:(.text+0xca): undefined reference to `triangle_context_create'
  81. Test.cpp:(.text+0xf5): undefined reference to `triangle_context_options'
  82. Test.cpp:(.text+0x12c): undefined reference to `triangle_mesh_create'
  83. Test.cpp:(.text+0x159): undefined reference to `triangle_context_destroy'
  84. collect2: error: ld returned 1 exit status
  85. CMakeFiles/cmake_problem.dir/build.make:95: recipe for target 'cmake_problem' failed
  86. make[2]: *** [cmake_problem] Error 1
  87. make[2]: Leaving directory '/home/mimre/workspace/tmp/cmake-problem/bin'
  88. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/cmake_problem.dir/all' failed
  89. make[1]: *** [CMakeFiles/cmake_problem.dir/all] Error 2
  90. make[1]: Leaving directory '/home/mimre/workspace/tmp/cmake-problem/bin'
  91. Makefile:83: recipe for target 'all' failed
  92. make: *** [all] Error 2
Add Comment
Please, Sign In to add comment