Vladimir Prus
In general, static libraries should be specified on the command line
after
the object files that use symbols in them. Do things work better if you move -lboost_python to the end?
Oh, seriously: HEADDESK! Big thank you! I had to recompile with bjam cxxflags=-fPIC though, otherwise the link would fail. One question remains: The next step in the tutorial is to:
import hello_ext print hello.greet() hello, world
But I get:
import hello_ext hello.greet() Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'hello' is not defined print hello_ext.greet() hello, world
Why is my module named hello_ext, when in the tutorial it says its just hello? Regards, Philipp
- Volodya
_______________________________________________ Boost-users mailing list Boost-users <at> lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users