Guest User

Untitled

a guest
Jan 23rd, 2025
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. clang camera.c glad.c main.c mesh.c state.c texture.c -I./include -I./ -I/usr/local/include/freetype2 -I./vendor/assimp/include -L./vendor/assimp/lib -lglfw -lGL -lX11 -lpthread -lXrandr -lXi -ldl -lfreetype -lm -o RUNME
  2. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `LoadShaders':
  3. mesh.c:(.text+0x0): multiple definition of `LoadShaders'; /tmp/main-a77ff5.o:main.c:(.text+0x0): first defined here
  4. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `loadShaderFromFile':
  5. mesh.c:(.text+0xa0): multiple definition of `loadShaderFromFile'; /tmp/main-a77ff5.o:main.c:(.text+0xa0): first defined here
  6. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `checkCompileErrors':
  7. mesh.c:(.text+0x210): multiple definition of `checkCompileErrors'; /tmp/main-a77ff5.o:main.c:(.text+0x210): first defined here
  8. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `useShader':
  9. mesh.c:(.text+0x280): multiple definition of `useShader'; /tmp/main-a77ff5.o:main.c:(.text+0x280): first defined here
  10. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setBool':
  11. mesh.c:(.text+0x2a0): multiple definition of `setBool'; /tmp/main-a77ff5.o:main.c:(.text+0x2a0): first defined here
  12. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setInt':
  13. mesh.c:(.text+0x2f0): multiple definition of `setInt'; /tmp/main-a77ff5.o:main.c:(.text+0x2f0): first defined here
  14. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setFloat':
  15. mesh.c:(.text+0x340): multiple definition of `setFloat'; /tmp/main-a77ff5.o:main.c:(.text+0x340): first defined here
  16. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setVec2':
  17. mesh.c:(.text+0x390): multiple definition of `setVec2'; /tmp/main-a77ff5.o:main.c:(.text+0x390): first defined here
  18. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setVec2_XY':
  19. mesh.c:(.text+0x3e0): multiple definition of `setVec2_XY'; /tmp/main-a77ff5.o:main.c:(.text+0x3e0): first defined here
  20. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setVec3':
  21. mesh.c:(.text+0x440): multiple definition of `setVec3'; /tmp/main-a77ff5.o:main.c:(.text+0x440): first defined here
  22. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setVec3_XYZ':
  23. mesh.c:(.text+0x490): multiple definition of `setVec3_XYZ'; /tmp/main-a77ff5.o:main.c:(.text+0x490): first defined here
  24. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setVec4':
  25. mesh.c:(.text+0x4f0): multiple definition of `setVec4'; /tmp/main-a77ff5.o:main.c:(.text+0x4f0): first defined here
  26. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setVec4_XYZW':
  27. mesh.c:(.text+0x540): multiple definition of `setVec4_XYZW'; /tmp/main-a77ff5.o:main.c:(.text+0x540): first defined here
  28. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setMat2':
  29. mesh.c:(.text+0x5b0): multiple definition of `setMat2'; /tmp/main-a77ff5.o:main.c:(.text+0x5b0): first defined here
  30. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setMat3':
  31. mesh.c:(.text+0x600): multiple definition of `setMat3'; /tmp/main-a77ff5.o:main.c:(.text+0x600): first defined here
  32. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `setMat4':
  33. mesh.c:(.text+0x650): multiple definition of `setMat4'; /tmp/main-a77ff5.o:main.c:(.text+0x650): first defined here
  34. /usr/bin/ld: /tmp/mesh-6961d0.o: in function `ShaderCleanUp':
  35. mesh.c:(.text+0x6a0): multiple definition of `ShaderCleanUp'; /tmp/main-a77ff5.o:main.c:(.text+0x6a0): first defined here
  36. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  37. make: *** [Makefile:43: RUNME] Error 1
Advertisement
Add Comment
Please, Sign In to add comment