Giter VIP home page Giter VIP logo

tetris2k's People

Stargazers

 avatar  avatar

Watchers

 avatar

tetris2k's Issues

missing path or include

this looks...strange:

bastian@X301-II:~/software/Tetris2k$ git grep Bibliotheken
src/smol.py:    spaths = args.libdir + paths['Bibliotheken']
src/smol.py:    libraries=paths['Bibliotheken']

see this problem:

bastian@X301-II:~/software/Tetris2k$ LC_ALL=C make
mkdir: created directory 'obj/'
cc -flto -Wall -Wextra -Wpedantic -std=gnu11 -nostartfiles -fno-PIC -Os -fno-plt -fwhole-program -fno-stack-protector -fno-stack-check -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-exceptions  -funsafe-math-optimizations -fomit-frame-pointer -ffast-math -no-pie -fno-pic -march=i386 -mtune=i386 -ffunction-sections -fdata-sections -fno-plt   -m32 -D_REENTRANT -I/usr/include/SDL2 -c "test/tetris.c" -o "obj/tetris.lto.o"
test/tetris.c: In function 'audio_callback':
test/tetris.c:78:27: warning: unused parameter 'unused' [-Wunused-parameter]
 void audio_callback(void *unused, uint8_t *byte_stream, int byte_stream_length)
                           ^~~~~~
test/tetris.c: At top level:
test/tetris.c:303:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main()
      ^~~~
cc -flto -Wall -Wextra -Wpedantic -std=gnu11 -nostartfiles -fno-PIC -Os -fno-plt -fwhole-program -fno-stack-protector -fno-stack-check -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-exceptions  -funsafe-math-optimizations -fomit-frame-pointer -ffast-math -no-pie -fno-pic -march=i386 -mtune=i386 -ffunction-sections -fdata-sections -fno-plt   -m32 -D_REENTRANT -I/usr/include/SDL2 -c "rt/crt1.c" -o "obj/crt1.lto.o"
rt/crt1.c:22:1: warning: '__externally_visible__' attribute have effect only on public objects [-Wattributes]
 ) {
 ^
rt/crt1.c: In function '_start':
rt/crt1.c:38:23: warning: passing argument 1 of '__libc_start_main' from incompatible pointer type [-Wincompatible-pointer-types]
     __libc_start_main(main, NULL, NULL, NULL, NULL,
                       ^~~~
rt/crt1.c:6:12: note: expected 'int (*)(int,  char **)' but argument is of type 'void (*)()'
 extern int __libc_start_main(int (*main)(int, char**),
            ^~~~~~~~~~~~~~~~~
rt/crt1.c:38:29: warning: passing argument 2 of '__libc_start_main' makes integer from pointer without a cast [-Wint-conversion]
     __libc_start_main(main, NULL, NULL, NULL, NULL,
                             ^~~~
rt/crt1.c:6:12: note: expected 'int' but argument is of type 'void *'
 extern int __libc_start_main(int (*main)(int, char**),
            ^~~~~~~~~~~~~~~~~
rt/crt1.c:18:25: warning: unused parameter 'stack' [-Wunused-parameter]
 static int _start(void* stack
                         ^~~~~
cc -m32 -Wl,--build-id=none -Wl,--hash-style=gnu -Wl,-z,norelro -nostartfiles -nostdlib  -r -o "obj/tetris.start.o" obj/tetris.lto.o obj/crt1.lto.o
python3 src/smol.py -s -lc -lSDL2 "obj/tetris.start.o" "obj/symbols.tetris.start.asm"
Traceback (most recent call last):
  File "src/smol.py", line 78, in <module>
    main()
  File "src/smol.py", line 61, in main
    spaths = args.libdir + paths['Bibliotheken']
KeyError: 'Bibliotheken'
Makefile:78: recipe for target 'obj/symbols.tetris.start.asm' failed
make: *** [obj/symbols.tetris.start.asm] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.