Return-Path: Delivered-To: apmail-xerces-c-users-archive@www.apache.org Received: (qmail 21506 invoked from network); 29 Jan 2007 17:40:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2007 17:40:35 -0000 Received: (qmail 95491 invoked by uid 500); 29 Jan 2007 17:40:40 -0000 Delivered-To: apmail-xerces-c-users-archive@xerces.apache.org Received: (qmail 95477 invoked by uid 500); 29 Jan 2007 17:40:40 -0000 Mailing-List: contact c-users-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: c-users@xerces.apache.org Delivered-To: mailing list c-users@xerces.apache.org Received: (qmail 95466 invoked by uid 99); 29 Jan 2007 17:40:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 09:40:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 09:40:30 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HBaU9-0000Xd-CH for c-users@xerces.apache.org; Mon, 29 Jan 2007 09:40:05 -0800 Message-ID: <8693905.post@talk.nabble.com> Date: Mon, 29 Jan 2007 09:40:05 -0800 (PST) From: MBoudreaux To: c-users@xerces.apache.org Subject: Linker Error with Visual Studio 2003 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mboudreaux@shff.com X-Virus-Checked: Checked by ClamAV on apache.org I'm trying to learn the Xerces API for an XML application I have in the works. I've read through the documentation a few times and I'm having trouble compiling my application. I'm getting about ~50 Linker 2001 errors (unresolved external symbols). I have the library linked in and the directories are correctly defined in the project settings, so I'm a bit lost. Here is how my example application is linking in everything: #pragma comment(lib, "xerces-c_2.lib") #include #include #include #include #include #include #if defined(XERCES_NEW_IOSTREAMS) #include #else #include #endif XERCES_CPP_NAMESPACE_USE XERCES_CPP_NAMESPACE_BEGIN class Attributes; XERCES_CPP_NAMESPACE_END class SaxParser : public DefaultHandler { ... } Am I linking in things improperly? Is there something else I should check? I have already looked at the Environment variable and the PATH is set correctly. Here is an example of the type of errors I am getting: XMLBinary error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_7::DefaultHandler::startElement(wchar_t const * const,wchar_t const * const,wchar_t const * const,class xercesc_2_7::Attributes const &)" (?startElement@DefaultHandler@xercesc_2_7@@UAEXQB_W00ABVAttributes@2@@Z) Any suggestions? -- View this message in context: http://www.nabble.com/Linker-Error-with-Visual-Studio-2003-tf3137215.html#a8693905 Sent from the Xerces - C - Users mailing list archive at Nabble.com.