Guest User

Untitled

a guest
Mar 22nd, 2020
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.34 KB | None | 0 0
  1. ~/projects/nim_sdl master*
  2. λ nim c -d:release --passL:"-Xlinker -rpath ." --dynlibOverride:SDL2 src/nim_sdl.nim                                                                                                             ~/projects/nim_sdl
  3. Hint: used config file '/nix/store/ll7d5k33rxa06v278ydxzjnqxb67jypb-nim-0.20.2/config/nim.cfg' [Conf]
  4. Hint: system [Processing]
  5. Hint: widestrs [Processing]
  6. Hint: io [Processing]
  7. Hint: nim_sdl [Processing]
  8. Hint: sdl2 [Processing]
  9. Hint: macros [Processing]
  10. Hint: strutils [Processing]
  11. Hint: parseutils [Processing]
  12. Hint: math [Processing]
  13. Hint: bitops [Processing]
  14. Hint: algorithm [Processing]
  15. Hint: unicode [Processing]
  16. Hint:  [Link]
  17. /nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ld: /home/kenran/.cache/nim/nim_sdl_r/nim__sdl.nim.c.o: in function `NimMainModule':
  18. nim__sdl.nim.c:(.text+0x9a): undefined reference to `SDL_Init'
  19. /nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ld: nim__sdl.nim.c:(.text+0xbf): undefined reference to `SDL_CreateWindow'
  20. /nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ld: nim__sdl.nim.c:(.text+0xd8): undefined reference to `SDL_CreateRenderer'
  21. /nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ld: nim__sdl.nim.c:(.text+0x142): undefined reference to `SDL_PollEvent'
  22. /nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ld: nim__sdl.nim.c:(.text+0x165): undefined reference to `SDL_SetRenderDrawColor'
  23. /nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ld: nim__sdl.nim.c:(.text+0x171): undefined reference to `SDL_RenderClear'
  24. /nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ld: nim__sdl.nim.c:(.text+0x17d): undefined reference to `SDL_RenderPresent'
  25. /nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ld: nim__sdl.nim.c:(.text+0x192): undefined reference to `SDL_DestroyRenderer'
  26. /nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ld: nim__sdl.nim.c:(.text+0x1a2): undefined reference to `SDL_DestroyWindow'
  27. collect2: error: ld returned 1 exit status
  28. Error: execution of an external program failed: 'gcc   -o /home/kenran/projects/nim_sdl/src/nim_sdl  /home/kenran/.cache/nim/nim_sdl_r/stdlib_system.nim.c.o /home/kenran/.cache/nim/nim_sdl_r/_7_7_7.nimble7pkgs7sdl2-2.0.27sdl2.nim.c.o /home/kenran/.cache/nim/nim_sdl_r/nim__sdl.nim.c.o  -lm  -Xlinker -rpath .  -ldl'
Advertisement
Add Comment
Please, Sign In to add comment