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 - gtoast

Pages: [1]
1
Python / pysfml2-cython
« on: February 04, 2012, 03:41:50 pm »
Figured it out.

Though its not really detailed on the either the SFML2 or the PySFML2 install page, you need to make sure you uncheck the box saying build frameworks when you generate your unix make files in cmake for SFML2.

After that things work fine.

2
Python / pysfml2-cython
« on: February 03, 2012, 01:43:18 pm »
I'm having trouble getting pysfml2 to build. I'm on Mac OS X Lion using python2.7 via Macports. I've successfully installed SFML2 and been able to run examples but I when I try to build pysfml2 I get a bunch of warnings and a failure to find the sfml-[blah] libraries.

Code: [Select]

...tons and tons of warnings...
363 warnings generated.
/Developer/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c hacks.cpp -o build/temp.macosx-10.7-x86_64-2.7/hacks.o
/Developer/usr/bin/clang++ -bundle -undefined dynamic_lookup -L/opt/local/lib build/temp.macosx-10.7-x86_64-2.7/sf.o build/temp.macosx-10.7-x86_64-2.7/hacks.o -L/Users/cdimara/Development/SFML/build-release/lib/sfml-graphics.framework -lsfml-graphics -lsfml-window -lsfml-audio -lsfml-system -o /Users/cdimara/Development/pysfml2-cython/sf.so
ld: library not found for -lsfml-graphics
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/Developer/usr/bin/clang++' failed with exit status 1
Full error log

Any thoughts on what I'm doing wrong?

Pages: [1]
anything