|
Written by iarwain
|
|
Tuesday, 06 October 2009 03:40 |
|
Well, I know it's an unusual title, but I found it as keywords used in search engines by someone visiting this site.  As I didn't see such inquiries in the forum, I'll try to reply here hoping it will help someone! So I presume you're using the linux dynamic version of orx. Usually libraries under linux should be in directories that are referenced in the library path (see the man page for LD_LIBRARY_PATH). However, so as to make it easier when I made the linux tutorial executables, I instructed them to search for the current active directory. If you're building a stand alone and you want to have liborx.so in your executable path, provide this flag to gcc (so that he can then forward it to ld, its linker): -Wl,-rpath ./ That will tell your executable to look for needed libraries in its own directory. And of course don't forget to link against orx's library with -lorx. Hope this helps! If you have any other issue, don't hesitate to ask on our forum, you'll most likely find someone to help you there pretty fast!  - iarwain
|
|
Last Updated ( Saturday, 10 October 2009 20:07 )
|