» Home » library » Page 1
Linking a shared library against a static library: must the static library be compiled differently than if an application were linking it?
by rajnesh in Programming Languages

At least on Linux and Solaris, static libraries are really just a bunch of compiled .o's tossed into one big file. When compiling a static library, usually the -fpic flag is ommited, so the generated code is position dependent.


Now say my static library is B. I've built it and have the resulting .a file which is really just a glob of all of the position dependent .o files. Now I ha


Loading a custom controlfrom one library to another library throws xaml parser xception
by Jerome in Web Design

I have a custom control developed . When I place this custom control wrapped inside a library and try to instantiate it in my application page through the wrapper library developed, XAML parse exception is being raised. The exception details thrown also was not much clear .


A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in System.Windows.ni.dl


Building an android library and passing the client's R.java when making the library call, how?
by Dan in Android

I would like to build a library and be able to distribute it as a jar without having to give the source. In the library, layouts are used for specifying the UI, however android doesn't seem to facilitate easily bundling a jar and distributing it, as it doesn't properly scope the resources (anything in '/res/*') in this jar file, the references made with R.xxxx within the jar don't work.
I


Linking a static library into Boost Python (shared library) - Import Error
by visual-c++ in Programming Languages

I am building a Boost Python module (.so shared library file) which depends on another external library (STXXL)


While I can build and import the example Boost Python modules, I run into problems when STXXL is thrown into the mix. Specifically when running import fast_parts in python


I get ImportError: ./fast_parts.so: undefined symbol: _ZN5stxxl10ran3


APR based Apache Tomcat Native library was not found on the java.library.path?
by Puddle Jumper in Java

hi guys
when trying to run my app with eclipse/linux on tomcat
i got the following info message:


INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1

Runtime error: “Cannot find the library com.ibm.xsp.extlib.library” (browser)
by Gogonez in Web Design

I just created my first Xpage application, and I now wanted to port it to a simple mobile application, using the mobile controls in the Xpages Extension Library. Notes/Domino 8.5.3 Upgrade Pack 1 are installed on both client/Designer and server.
The Xpage application works fine in both client and browser.
I created a new Xpage, called "mobileMainPage", and simply add a Single Page App


How can i make it private members or methods of class so that it can be accessed within the static library itself and not outside the library?
by JoeKaras in Mobile Programming

I want to prepare small static library for below classes in objective-c :
Class A, Class B, Class C. I want to include these classes in static library. Now Class A can access public members of methods of Class B or Class C.


Now When I integrate above library in other project,
I prepare Class D which can access only Class A and Class B
Not Class C. How can I do this


Including Google Play Downloader Library | APK File Expansion Library
by jfraser in Programming Languages

I'm following dev guide at http://developer.android.com/guide/market/expansion-files.html in order to download additional assets to my apk.


I've done all the part about the importation of libraries, etc ..
I've also implemented the samples code in my main program (in order to detect if expansion files are already downloaded, if we need to download them and launch the download,


CMake cyclic dependency error when custom library name is the same of a system library
by Topweasel in Programming Languages

i have the following problem.
I'm writing a CMakeLists.txt to build a C++ project of mine, which is composed of


libhybris.so : A shared library with some exported functions.
hybris : An executable which links to libhybris.so
A set of various shared libraries which links to libhybris.so

The problem is that, libhybris.so depends on libpcre (for regexp capabilities)


CMake Error: TARGETS given no LIBRARY DESTINATION for shared library target
by comphollic in Programming Languages

When building an opensource project with CMake (in my case, it was the lemon graph library), I got this error when I tried to build shared libaries via -DBUILD_SHARED_LIBS=1:


TARGETS given no LIBRARY DESTINATION for shared library target

Where does this error come from and how do I fix it?


Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .