delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <4096C34B.4090204@x-ray.at> |
Date: | Tue, 04 May 2004 00:10:19 +0200 |
From: | Reini Urban <rurban AT x-ray DOT at> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7b) Gecko/20040421 MultiZilla/1.5.0.4h |
MIME-Version: | 1.0 |
To: | "'Cygwin List'" <cygwin AT cygwin DOT com> |
Subject: | Re: More Info |
References: | <c76bin$hku$1 AT sea DOT gmane DOT org> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040503165516 DOT 0302ab38 AT 127 DOT 0 DOT 0 DOT 1> <c76f2a$k1o$1 AT sea DOT gmane DOT org> |
In-Reply-To: | <c76f2a$k1o$1@sea.gmane.org> |
X-Spam-Checker-Version: | SpamAssassin 2.63 (2004-01-11) on hornet.mur.at |
X-Spam-Level: | |
X-Spam-Status: | No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 |
X-IsSubscribed: | yes |
Judd schrieb: > Oh I know. This is the Windows PC version (should have stated that > earlier). OpenInventor has a freeware Linux version and a Windows PC > version distributed by TGS. The version I'm using is the Windows PC version > which has libraries that work with Visual C++. I just don't know if Cygwin > can use VC++ type library binaries. I don't recall the format of Visual C++ > objects anymore (OMT?). It's a been a bit. > >>>I have a feeling they work with isual C++ and their object format. >>>Can the g++ linker in Cygwin work with Visual C++ object libraries? Generally not, only if they provided their libs as extern "C". http://cygwin.com/faq/faq_4.html#SEC103 And Google for "cygwin g++ msvc link +site:cygwin.com" > OK... that's good news. I wonder what I have to do to link them. What I'm > doing now for instance is this: > > g++ -O -g C:/Cygwin/home/root/bin/myApp myApp.o graphics.o > /usr/lib/InvSV110.lib /usr/lib/DataViz400.LIB /usr/lib/INV400.LIB /usr/lib/ > DataViz400D.LIB /usr/lib/INV400D.LIB /usr/lib/DataVizW400.LIB > /usr/lib/INVU400.L > IB /usr/lib/DataVizW400D.LIB /usr/lib/INVU400D.LIB /usr/lib/DialogViz100.LIB > /us > r/lib/INVW400.LIB /usr/lib/DialogViz100D.LIB /usr/lib/INVW400D.LIB > /usr/lib/Hard > Copy400.LIB /usr/lib/IVF400.LIB /usr/lib/HardCopy400D.LIB > /usr/lib/IVF400D.LIB / > usr/lib/HardCopyW400.LIB /usr/lib/IVvr400.LIB /usr/lib/HardCopyW400D.LIB > /usr/li > b/Ivvr400D.LIB -L > C:/Cygwin/home/root/lib -lm -lpthread -lGLU.dll -lGL.dll -lG > Lw -lg2c > > Is there a switch that I need to use for linking windows .LIB files? I'm > getting lots of undefined references in the Inventor code (included headers) > letting me know that I'm not linking the libraries (at least that's > typically the problem when that happens). -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- 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 |