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 - kishy nivas

Pages: [1]
1
General / Re: Any one installed Box2d in Ubuntu?
« on: June 29, 2017, 04:36:36 pm »
I followed the below link's installation procedure and it worked for Box2d . ...

http://bulletphysics.org/mediawiki-1.5.8/index.php/Installation    ;D ;D ;D

2
General / Any one installed Box2d in Ubuntu?
« on: June 29, 2017, 08:28:59 am »
I am asking here, because I can't register  there, they are asking questions   ::)

I followed these instructions from here : http://www.iforce2d.net/b2dtut/setup-linux

wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/box2d/Box2D_v2.1.2.zip
unzip Box2D_v2.1.2.zip
cd Box2D_v2.1.2/Box2D/Build
cmake ..
make


but I am getting
 CMakeFiles/Makefile2:307: recipe for target 'Testbed/CMakeFiles/Testbed.dir/all' failed
make[1]: *** [Testbed/CMakeFiles/Testbed.dir/all] Error 2
Makefile:127: recipe for target 'all' failed

 

any ubuntu users who installed it can you help me ! 

3
General / Re: How to compile SFML programs in c++11 ?
« on: June 24, 2017, 09:18:05 am »
I used this in terminal and it works and I can't ask for more, thanks a lot for helping me guys !!!!

 
g++ -std=c++11 -c main.cpp
g++ main.o -o sfml-app -lsfml-graphics -lsfml-window -lsfml-system
./sfml-app

4
General / Re: How to compile SFML programs in c++11 ?
« on: June 24, 2017, 09:06:49 am »
Gee it worked, also how do  I link this to codeblocks, as it also emits the same error ( this is my first time using codeblocks too)

5
General / Re: How to compile SFML programs in c++11 ?
« on: June 24, 2017, 08:48:53 am »
Codeblocks didn't work for me when I compile it with ordinary c++ -sfml program it says
error while loading shared libraries llbsfml-graphics.so.2 like that

But it works correctly on terminal ,

So I looked how to compile with external libraries and I did this in terminal :

 g++ -std=c++11  -I/home/kishore/SFML-2.4.2/include -c main.cpp -o main.o
which compiles with no problem

g++ main.o -o sfml-app -L/home/kishore/SFML-2.4.2/lib -lsfml-graphics -lsfml-window -lsfml-system
again no problem

but when i try to run ./sfml-app
I get the following error :

error while loading shared libraries: libsfml-graphics.so.2.4: cannot open shared object file: No such file or directory

The same one I got during codeblocks , What am I doing wrong ? any help would be appreciated .

6
General / How to compile SFML programs in c++11 ?
« on: June 23, 2017, 09:53:17 pm »
When I try to compile with c++ 11,  it says undefined reference to SFML libraries ,

g++ -std=c++11 main.cpp

it works for other c++11 programs but not working for SFML programs

7
if learning c# is  not a big deal, what after learning SFML ?  whether Unity or unreal engine 4 ?

Pages: [1]
anything