Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - markus_d

Pages: [1]
1
C / -lsfml-system not found
« on: March 12, 2012, 06:21:34 pm »
So where is the C++ forum?  :lol:

2
C / -lsfml-system not found
« on: March 12, 2012, 06:20:28 pm »
I checked the directories. This is how it looks like:

Code: [Select]
lrwxrwxrwx 1 root root       20 2012-03-12 12:18 libsfml-audio-d.so -> libsfml-audio-d.so.2
lrwxrwxrwx 1 root root       22 2012-03-12 12:18 libsfml-audio-d.so.2 -> libsfml-audio-d.so.2.0
-rw-r--r-- 1 root root   489336 2012-03-12 11:52 libsfml-audio-d.so.2.0
lrwxrwxrwx 1 root root       23 2012-03-12 12:18 libsfml-graphics-d.so -> libsfml-graphics-d.so.2
lrwxrwxrwx 1 root root       25 2012-03-12 12:18 libsfml-graphics-d.so.2 -> libsfml-graphics-d.so.2.0
-rw-r--r-- 1 root root  1728860 2012-03-12 11:52 libsfml-graphics-d.so.2.0
lrwxrwxrwx 1 root root       22 2012-03-12 12:18 libsfml-network-d.so -> libsfml-network-d.so.2
lrwxrwxrwx 1 root root       24 2012-03-12 12:18 libsfml-network-d.so.2 -> libsfml-network-d.so.2.0
-rw-r--r-- 1 root root   620477 2012-03-12 11:52 libsfml-network-d.so.2.0
lrwxrwxrwx 1 root root       21 2012-03-12 12:18 libsfml-system-d.so -> libsfml-system-d.so.2
lrwxrwxrwx 1 root root       23 2012-03-12 12:18 libsfml-system-d.so.2 -> libsfml-system-d.so.2.0
-rw-r--r-- 1 root root   246327 2012-03-12 11:52 libsfml-system-d.so.2.0
lrwxrwxrwx 1 root root       21 2012-03-12 12:18 libsfml-window-d.so -> libsfml-window-d.so.2
lrwxrwxrwx 1 root root       23 2012-03-12 12:18 libsfml-window-d.so.2 -> libsfml-window-d.so.2.0
-rw-r--r-- 1 root root   539525 2012-03-12 11:52 libsfml-window-d.so.2.0



Code: [Select]
markus@markus-AMILO-Pro-V3205:/usr/local/include/SFML$ ls -l
total 52
drwxr-xr-x 2 root root 4096 2012-03-12 12:18 Audio
-rw-r--r-- 1 root root 1811 2012-03-07 16:55 Audio.hpp
-rw-r--r-- 1 root root 5280 2012-03-07 16:55 Config.hpp
drwxr-xr-x 2 root root 4096 2012-03-12 12:18 Graphics
-rw-r--r-- 1 root root 2337 2012-03-07 16:55 Graphics.hpp
drwxr-xr-x 2 root root 4096 2012-03-12 12:18 Network
-rw-r--r-- 1 root root 1858 2012-03-07 16:55 Network.hpp
-rw-r--r-- 1 root root 2092 2012-03-07 16:55 OpenGL.hpp
drwxr-xr-x 2 root root 4096 2012-03-12 12:18 System
-rw-r--r-- 1 root root 2010 2012-03-07 16:55 System.hpp
drwxr-xr-x 2 root root 4096 2012-03-12 12:18 Window
-rw-r--r-- 1 root root 1898 2012-03-07 16:55 Window.hpp

3
C / -lsfml-system not found
« on: March 12, 2012, 06:09:36 pm »
I guess I want to use sfml?
I downloaded the newest version from git.

just did:
cmake
make
sudo make install

then I added the following paths to codeblocks:
/usr/local/include (headers)
/usr/local/lib (libraries)

Now I get:
Code: [Select]
-------------- Build: Debug in lost labyrinth dx ---------------

Compiling: main.cpp
/home/markus/lost labyrinth dx/main.cpp: In function ‘int main()’:
/home/markus/lost labyrinth dx/main.cpp:11:19: error: ‘class sf::Texture’ has no member named ‘LoadFromFile’
/home/markus/lost labyrinth dx/main.cpp:17:16: error: ‘class sf::Font’ has no member named ‘LoadFromFile’
/home/markus/lost labyrinth dx/main.cpp:23:17: error: ‘class sf::Music’ has no member named ‘OpenFromFile’
/home/markus/lost labyrinth dx/main.cpp:27:12: error: ‘class sf::Music’ has no member named ‘Play’
/home/markus/lost labyrinth dx/main.cpp:30:20: error: ‘class sf::RenderWindow’ has no member named ‘IsOpen’
/home/markus/lost labyrinth dx/main.cpp:34:24: error: ‘class sf::RenderWindow’ has no member named ‘PollEvent’
/home/markus/lost labyrinth dx/main.cpp:37:24: error: ‘class sf::Event’ has no member named ‘Type’
/home/markus/lost labyrinth dx/main.cpp:38:25: error: ‘class sf::RenderWindow’ has no member named ‘Close’
/home/markus/lost labyrinth dx/main.cpp:42:17: error: ‘class sf::RenderWindow’ has no member named ‘Clear’
/home/markus/lost labyrinth dx/main.cpp:45:17: error: ‘class sf::RenderWindow’ has no member named ‘Draw’
/home/markus/lost labyrinth dx/main.cpp:48:17: error: ‘class sf::RenderWindow’ has no member named ‘Draw’
/home/markus/lost labyrinth dx/main.cpp:51:17: error: ‘class sf::RenderWindow’ has no member named ‘Display’
Process terminated with status 1 (0 minutes, 0 seconds)
12 errors, 0 warnings

4
C / -lsfml-system not found
« on: March 10, 2012, 01:15:19 am »
Hy everybody,

I successfully compiled and installed sfml 2.0.
I use kubuntu. Was an easy cmake, make and make install
Then I installed codeblocks and added the paths to the linker (libs) and compiler (headers).
But when I try to compile the created demo file I get:

Code: [Select]

cannot find -lsfml-graphic
cannot find -lsfml-network
cannot find -lsfml-system
cannot find -lsfml-window


What could I try to make this work?

Pages: [1]