Follow-up Comment #11, task #4159 (project wormux):
First some comments about building:
- need to install libtool
- an error : g++ -g -O2 -o physics -R/usr/lib physics.o color.o
constraint.o link.o object_generator.o particle.o physical_engine.o
physical_polygon.o affine_transform.o error.o random.o -L/usr/lib -lSDL
-lSDL_image -lSDL_gfx -lSDL_image -lpng12
g++: unrecognized option '-R/usr/lib'
to fix, remove the unrecognized option ;-) :
cd src/
g++ -g -O2 -o physics physics.o color.o constraint.o link.o
object_generator.o particle.o physical_engine.o physical_polygon.o
affine_transform.o error.o random.o -L/usr/lib -lSDL -lSDL_image -lSDL_gfx
-lSDL_image -lpng12
run:
./physics
Wouw! it's amazing!!! Good work Drayan!
Will it be difficult to integrate into Wormux ?
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?4159>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna