Advertisement
themoosemind

make fails for assignment 1

Oct 23rd, 2015
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.03 KB | None | 0 0
  1. $ make
  2. [ 42%] Building CXX object Common/CMakeFiles/GPUCommon.dir/CAssignmentBase.cpp.o
  3. [ 42%] Building CXX object Common/CMakeFiles/GPUCommon.dir/CLUtil.cpp.o
  4. [ 42%] Building CXX object Common/CMakeFiles/GPUCommon.dir/CTimer.cpp.o
  5. Linking CXX static library libGPUCommon.a
  6. [ 42%] Built target GPUCommon
  7. [ 42%] Building CXX object CMakeFiles/Assignment.dir/CAssignment1.cpp.o
  8. [ 42%] Building CXX object CMakeFiles/Assignment.dir/main.cpp.o
  9. [ 42%] Building CXX object CMakeFiles/Assignment.dir/CMatrixRotateTask.cpp.o
  10. [ 42%] Building CXX object CMakeFiles/Assignment.dir/CSimpleArraysTask.cpp.o
  11. Linking CXX executable Assignment
  12. Common/libGPUCommon.a(CAssignmentBase.cpp.o): In function `CAssignmentBase::InitCLContext()':
  13. CAssignmentBase.cpp:(.text+0x189): undefined reference to `clGetPlatformIDs'
  14. CAssignmentBase.cpp:(.text+0x2c4): undefined reference to `clGetDeviceIDs'
  15. CAssignmentBase.cpp:(.text+0x391): undefined reference to `clGetDeviceInfo'
  16. CAssignmentBase.cpp:(.text+0x3f5): undefined reference to `clGetPlatformInfo'
  17. CAssignmentBase.cpp:(.text+0x470): undefined reference to `clGetPlatformInfo'
  18. CAssignmentBase.cpp:(.text+0x4eb): undefined reference to `clGetPlatformInfo'
  19. CAssignmentBase.cpp:(.text+0x566): undefined reference to `clGetPlatformInfo'
  20. CAssignmentBase.cpp:(.text+0x617): undefined reference to `clGetDeviceInfo'
  21. CAssignmentBase.cpp:(.text+0x692): undefined reference to `clGetDeviceInfo'
  22. CAssignmentBase.cpp:(.text+0x70d): undefined reference to `clGetDeviceInfo'
  23. CAssignmentBase.cpp:(.text+0x788): undefined reference to `clGetDeviceInfo'
  24. Common/libGPUCommon.a(CLUtil.cpp.o): In function `CLUtil::PrintBuildLog(_cl_program*, _cl_device_id*)':
  25. CLUtil.cpp:(.text+0x23a): undefined reference to `clGetProgramBuildInfo'
  26. CLUtil.cpp:(.text+0x261): undefined reference to `clGetProgramBuildInfo'
  27. CLUtil.cpp:(.text+0x2ce): undefined reference to `clGetProgramBuildInfo'
  28. collect2: error: ld returned 1 exit status
  29. make[2]: *** [Assignment] Error 1
  30. make[1]: *** [CMakeFiles/Assignment.dir/all] Error 2
  31. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement