Comments (8)
when i type the make file the error
generated
the error code is below
~/Desktop/MyHobby/tetris-sdl-c$ make
gcc -g sdl2-config --cflags
-c src/init.c
In file included from src/init.h:1:0,
from src/init.c:1:
src/defs.h:10:26: fatal error: SDL2/SDL_ttf.h: No such file or directory
compilation terminated.
makefile:13: recipe for target 'init.o' failed
make: *** [init.o] Error 1
from tetris-sdl-c.
@MockBond hi, please create a new issue regarding your compilation issues. It looks like you need to install SDL2_ttf
library.
from tetris-sdl-c.
i sloved it by :-> sudo apt-get install libSDL2-ttf-2.0-0
thanks a lot sir!!
sir , i would like to work with this project further by adding some fancy tweaks and feature .
also please get mario game with SDL2 .. we can work with that too!!
with slight changes , if your interested let me know sir ,,
have a great day sir !!
from tetris-sdl-c.
@MockBond glad it works. feel free to fork this repository and as much tweaks and features you like 👍
from tetris-sdl-c.
Sir again same problem
tetris-sdl-c$ make
gcc -g sdl2-config --cflags
-c src/init.c
In file included from src/init.h:1:0,
from src/init.c:1:
src/defs.h:10:26: fatal error: SDL2/SDL_ttf.h: No such file or directory
compilation terminated.
makefile:13: recipe for target 'init.o' failed
make: *** [init.o] Error 1
from tetris-sdl-c.
libsdl2-ttf-2.0-0 This what the library i downloaded while ago!!
Sorry for interruption sir !!
from tetris-sdl-c.
@MockBond Sorry, I don't have an immediate access to a ubuntu machine (assuming that is your OS you're working in) to help you. I made the tetris program in mac, and thus only know how to compile it in that OS.
from tetris-sdl-c.
Thank you for the reply !!
Im still struggling with output ... I will try to get the output and update for the same .
Do u have any open source projects that you would like to suggest me ..
my skills are C,C++,Python, Linux shell
from tetris-sdl-c.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tetris-sdl-c.