delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/03/11:43:16

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
X-Originating-IP: [35.12.228.63]
X-Originating-Email: [sasakand2 AT hotmail DOT com]
X-Sender: sasakand2 AT hotmail DOT com
From: "Andrew Sasak" <sasakand2 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: weird compile command issues
Date: Wed, 03 Mar 2004 11:42:31 -0500
Mime-Version: 1.0
Message-ID: <BAY9-F17Ug0aNL8CkQK0003dd31@hotmail.com>
X-OriginalArrivalTime: 03 Mar 2004 16:42:32.0006 (UTC) FILETIME=[85F23660:01C4013E]
X-IsSubscribed: yes

I'm using a library I found on sourceforge called tclap. I installed the 
library correctly as far as I know. I have no problems compiling using the 
following command line: g++ -Wno-deprecated -o massflow.exe massflow.cpp 
cycle.cpp datapoint.cpp -L F:\cygwin\usr\local\lib -ltclap

The following command line will compile in a Windows cmd.exe but not in the 
cygwin interface (or using Xemacs): g++ -mno-cygwin -Wno-deprecated -o 
massflow.exe -I %CYGWIN%\usr\local\include massflow.cpp cycle.cpp 
datapoint.cpp -L %CYGWIN%\usr\local\lib -ltclap

I get the following errors:
massflow.cpp:9:27: tclap/CmdLine.h: No such file or directory
massflow.cpp:13: error: namespace `TCLAP' undeclared

I've tried reversing the slashes, putting paths in quotes, etc. I would like 
to be able to use Xemacs to compile and use the -mno-cygwin flag so that I 
can distribute my software without the cygwin .dll. I'm guessing there might 
be something simple I'm not seeing. Thanks for your help.

_________________________________________________________________
Store more e-mails with MSN Hotmail Extra Storage – 4 plans to choose from! 
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/


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