Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Re: Help & Support (Stable) » Troubles with SDL. » 2015-04-18 17:09:31

renatinho@crunchbang:~$ g++ ~/jogo/01_hello_SDL/01_hello_SDL.cpp -w lSDL2 -o 01_hello_sdl
g++: error: lSDL2: Arquivo ou diretório não encontrado

Sorry by taking your time, i've found my mistake the right code is #include "SDL2/SDL.h".

#2 Help & Support (Stable) » Troubles with SDL. » 2015-04-18 15:27:43

Replies: 5

Hey guys, when I try to compile a c/c++ code whit SDL geany returns to me that canot find the SDL archive.

SDL/SDL.h : File or directory not found ( maybe not exactly like this, I'm brasilian, my geany is in portuguese, I only translate the error.)

It happens in VI too, it's not a IDE problem.

The sdl is instaled in usr/SDL2/SDL.h. I tried to switch SDL ( in #include SDL/SDL.h) to SDL2, but still doesnt work.

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo