|
From: | Brian C |
Subject: | Re: Library Issue |
Date: | Sun, 22 Apr 2007 14:33:17 -0400 |
User-agent: | Thunderbird 1.5.0.10 (Windows/20070221) |
Paul Pluzhnikov wrote:
Most likely you do something like this: g++ -ldec -lmascot main.cpp Read the link below to understand why you shouldn't do that: http://webpages.charter.net/ppluzhnikov/linker.htmlI brought the code home to finish up on it, and it fails to compile w/ g++ (unchanged).It doesn't fail to compile. It fails to link. There is a big difference between the two.
That worked. It's odd that it works fine with IBM xlC compiler and Visual C++.
Yes, sorry I said compile, I meant to say link which I said below that snippet you took.
[Prev in Thread] | Current Thread | [Next in Thread] |