www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <1003e2170609290406p64be1992r878464cc3aa00d1c@mail.gmail.com> |
Date: | Fri, 29 Sep 2006 13:06:18 +0200 |
From: | "Jan Rottberg" <jan DOT rottberg AT googlemail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | 1.5.22: Xercesc compile problems |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi. When I try to compile a very basic c++-program that uses xercesc there are a lot of compiling errors. The errors are: "undefined reference to 'xercesc_2_5......'" I used the xercesc package from the dev-tree in the basic cygwin-install. Are there any hints to get solve this? BTW: the actual xerces-release is 2.7.0. For those of you, that want to try out by themself, here is the small program from the xercesc-tutorial. ===start tutorial program=== #include <xercesc/util/PlatformUtils.hpp> // Other include files, declarations, and non-Xerces-C++ initializations. XERCES_CPP_NAMESPACE_USE int main(int argc, char* argv[]) { try { XMLPlatformUtils::Initialize(); } catch (const XMLException& toCatch) { // Do your failure processing here return 1; } // Do your actual work with Xerces-C++ here. XMLPlatformUtils::Terminate(); // Other terminations and cleanup. return 0; } ===end tutorial program=== Thanks, Jan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |