Article View: comp.os.ms-windows.programmer.tools.owl
Article #46Re: How do I link a library to my program??
From: MMuratet
Date: Sun, 24 Mar 1996 23:05
Date: Sun, 24 Mar 1996 23:05
14 lines
998 bytes
998 bytes
Greetings All, I have a set of routines in C (for random number generation) which I compiled using IDE with the target set to static library. The header has a conditional extern "C" on __cplusplus. It compiles and the library gets built. I then include this library into my C++ IDE project as a node, put calls to two routines in the C++ code, compile and link. The code compiles, but the two routines generate unknown symbol errors for the unresolved external. Any thoughts? Thanks. Mike
Technical Details
Message-ID:
<4j4kga$rtj@newsbf02.news.aol.com>Path:
arc1-ca.pugleaf.net!newsbf02.news.aol.com!not-for-mailReferences:
<3143BFEE.167EB0E7@fnx.com.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newsbf02.news.aol.com!not-for-mail From: mmuratet@aol.com (MMuratet) Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c Subject: Re: How do I link a library to my program?? Date: 24 Mar 1996 18:05:46 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <4j4kga$rtj@newsbf02.news.aol.com> References: <3143BFEE.167EB0E7@fnx.com.au> Reply-To: mmuratet@aol.com (MMuratet) NNTP-Posting-Host: newsbf02.mail.aol.com