04-07-2010
Could static library include static library?
I have some static library(libxxx.a libyyy.a).
And I want to generate my library(libzzz.a), libzzz.a will use libxxx.a and libyyy.a
I wan't my application only use libzzz.a, (means libzzz.a had include libxxx.a, libyyy.a), how can I do that? Thank you.
example:
I have zzz.c.
I do
gcc -c zzz.c -o zzz.o
ar cr libzzz.a libxxx.a libyyy.a zzz.o
But It can't work.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi:
I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library)
Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies
2. IP Networking
hello, i need help on setting my coyote linux, i've working on this for last 5 days, can't get it to work. I've been posting this message to coyote forum, and other linux forum, but haven't get any answer yet. Hope someone here can help me...... please see my attached picture first.
... (0 Replies)
Discussion started by: dlwoaud
0 Replies
3. Programming
Hi,
The following is my Makefile, I wanted to add a staic library named libtimer.a. I'm using the following Makefile. Please let me know how to add this static library:
Makefile:-
It produces "usbserial" executable.
Thanks,
S (1 Reply)
Discussion started by: suryaemlinux
1 Replies
4. Programming
I am having a devil of a time with a very simple make file. The program needs two shared and one static library. If I link the shared libraries only like below the mysql test app works
... (1 Reply)
Discussion started by: jadsys
1 Replies
5. Programming
I'm writing a program which uses curl to be run on Linux PCs which will be used by a number of different users. I cannot make the users all install curl on their individual machines, so I have tried to link curl in statically, rather than using libcurl.so. I downloaded the source and created a... (8 Replies)
Discussion started by: BrandonShw
8 Replies
6. Linux
Hello,
./configure script fails to configure libsf. Please check the following last few lines of configure script error.
checking for db1/db.h... no
checking for db.h... yes
checking for dbopen in -ldb1... no
configure: error: No libdb? No libsf.
But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies
7. Programming
Hello All,
I've encountered a strange behaviour from g++ that doesn't make sense to me. Maybe you can shed some light on it:
I have a bunch of source files and want to compile them and link them with a static library liba.a located in /usr/local/lib64 into an executable
Approach 1 works... (0 Replies)
Discussion started by: magelord
0 Replies
8. UNIX for Dummies Questions & Answers
Hello
Please what does mean shared static library and LD-Preload?
Thank you (3 Replies)
Discussion started by: chercheur857
3 Replies
9. HP-UX
I have solved this but now cannot recall the syntax. I want to strip or change the hard wired library paths on binaries I download from a repository. I do not have root and just want a personal install, but would rather not build every tool. I even posted the solution here once for others, but... (2 Replies)
Discussion started by: DGPickett
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I've got a project to write a C++ code to open a webpage,read the content and write it in a file. I'm using cURL and compiling the code using G++ in unix. I'm getting compilation error as: "cURL.h: no file or directory".
Can some one please tell me how to install/link this library in... (3 Replies)
Discussion started by: Ribosome
3 Replies
LEARN ABOUT DEBIAN
soglprojectionmatrixelement
SoGLProjectionMatrixElement(3) Coin SoGLProjectionMatrixElement(3)
NAME
SoGLProjectionMatrixElement -
The SoGLProjectionMatrixElement class is yet to be documented.
FIXME: write doc.
SYNOPSIS
#include <Inventor/elements/SoGLProjectionMatrixElement.h>
Inherits SoProjectionMatrixElement.
Public Member Functions
virtual void pop (SoState *state, const SoElement *prevTopElement)
FIXME: write doc.
Static Public Member Functions
static SoType getClassTypeId (void)
static int getClassStackIndex (void)
static void * createInstance (void)
static void initClass (void)
Protected Member Functions
virtual ~SoGLProjectionMatrixElement ()
virtual void setElt (const SbMatrix &matrix)
FIXME: write doc.
Additional Inherited Members
Detailed Description
The SoGLProjectionMatrixElement class is yet to be documented.
FIXME: write doc.
Constructor & Destructor Documentation
SoGLProjectionMatrixElement::~SoGLProjectionMatrixElement (void) [protected], [virtual]
The destructor.
Member Function Documentation
SoType SoGLProjectionMatrixElement::getClassTypeId (void) [static]
This static method returns the class type.
Reimplemented from SoReplacedElement.
int SoGLProjectionMatrixElement::getClassStackIndex (void) [static]
This static method returns the state stack index for the class.
Reimplemented from SoReplacedElement.
void * SoGLProjectionMatrixElement::createInstance (void) [static]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
void SoGLProjectionMatrixElement::initClass (void) [static]
This static method initializes static data for the SoGLProjectionMatrixElement class.
Reimplemented from SoReplacedElement.
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 SoGLProjectionMatrixElement(3)