eckankar / mosgame Goto Github PK
View Code? Open in Web Editor NEWAn attempt at making a PyGame-like library for Moscow ML.
License: BSD 3-Clause "New" or "Revised" License
An attempt at making a PyGame-like library for Moscow ML.
License: BSD 3-Clause "New" or "Revised" License
It would be great if the makefile was changed to allow compilation for Windows, either natively or through cross compilation.
Test::More for instance.
I get the following when trying to compile on 64-bit:
gcc -Dunix -O2 -fno-defer-pop -I/opt/mosml/include `sdl-config --cflags` -c -o obj/display.o -I./C C/display.c
gcc -Dunix -O2 -fno-defer-pop -I/opt/mosml/include `sdl-config --cflags` -c -o obj/draw.o -I./C C/draw.c
gcc -Dunix -O2 -fno-defer-pop -I/opt/mosml/include `sdl-config --cflags` -c -o obj/mosgame.o -I./C C/mosgame.c
gcc -Dunix -O2 -fno-defer-pop -I/opt/mosml/include `sdl-config --cflags` -c -o obj/util.o -I./C C/util.c
C/util.c: In function ‘Val_addr’:
C/util.c:9:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
gcc -Dunix -O2 -fno-defer-pop -I/opt/mosml/include `sdl-config --cflags` -c -o obj/event.o -I./C C/event.c
gcc -Dunix -O2 -fno-defer-pop -I/opt/mosml/include `sdl-config --cflags` -c -o obj/image.o -I./C C/image.c
gcc -Dunix -O2 -fno-defer-pop -I/opt/mosml/include `sdl-config --cflags` -c -o obj/surface.o -I./C C/surface.c
C/surface.c: In function ‘surface_fill’:
C/surface.c:23:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
C/surface.c: In function ‘surface_blit’:
C/surface.c:45:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
C/surface.c:46:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
ld -shared `sdl-config --libs` -lSDL_gfx -lSDL_image -o libmosgame.so obj/display.o obj/draw.o obj/mosgame.o obj/util.o obj/event.o obj/image.o obj/surface.o
ld: obj/display.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
obj/display.o: could not read symbols: Bad value
make: *** [libmosgame.so] Error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.