![]() |
【转帖】static Dwg Libraries In A Shared Library
static dwg libraries in a shared library
static dwg libraries in a shared library hi, my application loads extra functionaries (plugins) at runtime. one of these plugins is a dwg importer using opendesign libraries. on windows and macosx it works fine but on linux the library is no loaded. i'm using the dlopen. i tried both rtld_lazy and rtld_now flags without success. the compiler flags are: -pipe -fpic using gcc 3.4.4 and the last version of the libraries (downloaded today) for linux gcc 3.4. i tried also both lnxx86 and lnxx86pic versions. any idea? thanks, david as a test, you might try excluding dwgdirect from the shared library you are creating, and then trying to load that version of the shared lib. that will verify that it is the addition of dwgdirect that is causing problems, and not some other issue with the shared library itself. |
所有的时间均为北京时间。 现在的时间是 07:19 AM. |