473,543 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to link static library to another static libraries

Hi,
I have two c++ static libraries say A.lib and B.lib.
I am creating third static library C
I create project in microsoft visual studio as win32 static library.
I go to project-> settings -> link , i dont find object/library module
where I
can type in the names of A.lib and b.lib.. this option is available if
i create dynamic library.
Thanks
cric

Jul 23 '05 #1
2 3148
fr*******@yahoo .com wrote:
I have two c++ static libraries say A.lib and B.lib.
I am creating third static library C
I create project in microsoft visual studio as win32 static library.
I go to project-> settings -> link , i dont find object/library module
where I
can type in the names of A.lib and b.lib.. this option is available if
i create dynamic library.


Please ask in 'microsoft.publ ic.vc.project_m gt'. This is not a C++
_language_ question, it's a question how to maintain and manage your
projects in Visual C++.

V
Jul 23 '05 #2
fr*******@yahoo .com wrote:
Hi,
I have two c++ static libraries say A.lib and B.lib.
I am creating third static library C
I create project in microsoft visual studio as win32 static library.
I go to project-> settings -> link , i dont find object/library module
where I
can type in the names of A.lib and b.lib.. this option is available if
i create dynamic library.
Thanks
cric


Why do you want to link your static library with any other library ?
A static library is just a collection of object files;
no resolution of external symbols is done,
so there is no need to link with anything.

Cheers
Maett
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
5682
by: Christos TZOTZIOY Georgiou | last post by:
Last night I was compiling the latest python snapshot at my home Linux system (a K6-III @420 --the extra 20 Hz is overclocking :); then I tried building a shared version of the interpreter. I did some speed comparisons, and pystone reported ~6090 pystones for the shared and ~7680 pystones for the (default) static build. This is quite a...
1
2530
by: rajesh_krec | last post by:
Hello Everybody, I'm using Microsoft Visual Studio .NET 2003 (with Vc7 compiler) I have some 15 projects each of which generate a static library when i build the solution in release mode. The solution also contains a project which includes all the above generated static libraries.I have set all the above projects as dependent projects...
13
2678
by: Derek | last post by:
As I understand it there is a good amount of link compatibility among C compilers. For example, I can compile main.c with GCC and func.c with Sun One and link the objects using either linker (GNU or Sun). What I'm curious about is why this compatibility exists in the absence of a standard C ABI? What encourages C compiler vendors to...
2
2220
by: Angel Lopez | last post by:
I am quite a beginner in C. I am writting an application on my debian linux computer that uses some imagemagick library functions. I can link them and compile (with cc) in my computer but when I move the binary to another computer it says: error while loading shared library: libWand.so.6: cannot open shared object file: No such file or...
3
2311
by: joseluismarchetti | last post by:
Hello everybody, Although I am sure this is an important question for this group, I am not sure this question belongs to this group and I will be happy to move it to the correct one after you point it to me. Direct question: How can I know if a function is defined in more than one static library that I am using to link ?
2
1731
by: Cliff Cooley | last post by:
Will static libraries generated by VB++ 6 always be usable by VC++ 7 applications ? Many thanks, Cliff
5
1872
by: meendar | last post by:
can anyone tell me what the static and dynamic library? thnkx in advance.
4
4435
by: yhebib | last post by:
Hello All, I've been browsing and reading all articles I could find on technet ,msdn and other knowledgeable sources to understand the issue I'm dealing with. However, I did not find so far how to fix that. Investigations are still under progress and I hope you'll be able to give hints or feedback that will drive me to the solution. The...
1
2347
by: ankur.cdac | last post by:
I have Sun WorkShop 6 update 1 C++ 5.2 2000/09/11 compiler running on SunOS 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-60 machine. i am using /opt/SUNWspro/bin//CC for building C++ code. I want to link a shared library libxyz.so to my binary satically, so that i may not need that at run time. i used -staticlib=xyz but its not working ....
0
7726
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7329
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7675
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5877
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4884
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3384
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3385
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
948
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
626
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.