bjz

Untitled

bjz
Jul 10th, 2012
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. # This works
  2.  
  3. dmd \
  4. -Isrc \
  5. -I/usr/local/src/Derelict3/import/ \
  6. -L-L/usr/local/src/Derelict3/lib/ \
  7. -L-lDerelictUtil -L-lDerelictGL3 -L-lDerelictGLFW3 \
  8. -odbuild -ofbuild/triangle \
  9. src/*.d ../../src/*/*.d
  10.  
  11. # This doesn't:
  12.  
  13. ldc2 \
  14. -Isrc \
  15. -I/usr/local/src/Derelict3/import/ \
  16. -L-L/usr/local/src/Derelict3/lib/ \
  17. -L-lDerelictUtil -L-lDerelictGL3 -L-lDerelictGLFW3 \
  18. -odbuild -ofbuild/triangle \
  19. src/*.d ../../src/*/*.d
  20.  
  21. # Output:
  22.  
  23. Undefined symbols for architecture x86_64:
  24. "__D8derelict7opengl39functions7glClearPUNbkZv", referenced from:
  25. __D4test4main4Game8onRenderMFZv in main.o
  26. "__D8derelict5glfw35glfw38__ModuleZ", referenced from:
  27. __D4test4main8__ModuleZ in main.o
  28. __D7odyssey4core11application8__ModuleZ in application.o
  29. __D7odyssey4util9glfwdebug8__ModuleZ in glfwdebug.o
  30. "__D8derelict7opengl33gl38__ModuleZ", referenced from:
  31. __D4test4main8__ModuleZ in main.o
  32. __D7odyssey4core11application8__ModuleZ in application.o
  33. __D7odyssey4geom6buffer8__ModuleZ in buffer.o
  34. __D7odyssey4geom11vertexarray8__ModuleZ in vertexarray.o
  35. __D7odyssey6render6shader8__ModuleZ in shader.o
  36. __D7odyssey4util7gldebug8__ModuleZ in gldebug.o
  37. "__D8derelict5glfw39functions12glfwIsWindowPUNbPvZi", referenced from:
  38. __D7odyssey4core11application11Application3runMFZv in application.o
  39. "__D8derelict5glfw39functions14glfwPollEventsPUNbZv", referenced from:
  40. __D7odyssey4core11application11Application3runMFZv in application.o
  41.  
  42. # ...
  43.  
  44. "__D8derelict5glfw39functions18glfwGetDesktopModePUNbPS8derelict5glfw35types11GLFWvidmodeZv", referenced from:
  45. __D7odyssey4util9glfwdebug13writeGLFWInfoFZv in glfwdebug.o
  46. "__D8derelict5glfw39functions20glfwGetVersionStringPUNbZPxa", referenced from:
  47. __D7odyssey4util9glfwdebug13writeGLFWInfoFZv in glfwdebug.o
  48. ld: symbol(s) not found for architecture x86_64
  49. collect2: ld returned 1 exit status
  50. Error: linking failed:
  51. status: 1
Advertisement
Add Comment
Please, Sign In to add comment