delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/18/05:19:59

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
Message-ID: <423AAB26.4080102@igd.fhg.de>
Date: Fri, 18 Mar 2005 11:19:18 +0100
From: =?ISO-8859-15?Q?Torsten_Schr=F6er?= <torsten DOT schroeer AT igd DOT fhg DOT de>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: linking WXVTK with CYGWIN.

Hello all,

I need help on compiling / linking WXVTK (http://wxvtk.sourceforge.net/) 
with *cygwin*. WXVTK is a library / tool for combining Kitwares 
Visualisation Toolkit VTK with wxWindows (an open Soure, 
platform-independent GUI library). These libraries are necessary 
building WXVTK.

What I did:

- setting up VTK 4.4 with shared-libs
- setting up wxWINDOWS 2.4.2 with static libs
- tried compiling WXVTK ...

I could fullfill all steps on linux machine using gcc 3.3, make and cmake.

Now, with *cygwin*, WXVTK compiles, but won't link. This is the Linker 
Info troubling me:
.
Info: resolving 
__/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../libcygwin.a(lib
cmain.o)(.text+0xb3): undefined reference to `_WinMain AT 16'
.

Is this a cygwin-problem? I assume it is, that's why I posting it in 
here. Please correct me, when I'm wrong.

Any ideas would be apreciated.

Thanks,
Torsten.

--- cygwin config ---
cygwin lates release (1.5.13-1)
gcc (GCC) 3.3.3 (cygwin special)
GNU ld version 2.15.94 20041229
GNU Make 3.80
ccmake version 2.0.5
VTK 4.4
wxWINDOWS 2.4.2
wxVTK 0.7


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019