delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/10/09:42:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <712d4a980809100641k2e76548eq106dd0e0c4c6270d@mail.gmail.com>
Date: Wed, 10 Sep 2008 15:41:04 +0200
From: "Maika V" <maika314 AT googlemail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Executable file is there but it said could not find
In-Reply-To: <48C6A4E2.6040005@cygwin.com>
MIME-Version: 1.0
References: <712d4a980809090238k46dcea54nffafc52810faa3e5 AT mail DOT gmail DOT com> <48C6A4E2 DOT 6040005 AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Thanks Larry for your advice about file permission. But it does not
help. Following is what I've done:
0. I have cygwin 1.5.25 installed on Windows XP, qt3 lib inside
cygwin, QGLViewer lib 2.3.0 (compiled with cygwin),  and C++ source
that uses  these libs: opengl32, GLU32, glut32, m, glib, qt-mt,
QGLViewer, makefile with paths to include files and libs. I  did next
steps to get an executable file named abc.exe
1. Log in with admin permission.
2. Start cygwin, go to my c++ source folder.
3. Type 'make', I get abc.exe (and .o files)   and warnings:
This should work unless it involves constant data structures
referencing symbols from auto-imported DLLs. Info: resolving
QString::shared_null       by linking to
__imp___ZN7QString11shared_nullE (auto-import).
4. Type './abc',  get message  'Could not find ./abc !'. I get the
same message when type './abc.exe'
5. Type 'where abc', it returns full path to abc.exe
I tried a simple c++ program  without QGLViewer lib, then compiled and
executed successfully .
How can I do to get over that problem? Is there something wrong with
my QGLViewer lib?
Thanks for any suggestion.
Maika


On Tue, Sep 9, 2008 at 6:31 PM, Larry Hall (Cygwin)
<reply-to-list-only-lh AT cygwin DOT com> wrote:
> Maika V wrote:
>>
>> Hi,
>> I'm new to cygwin. I've just intalled it for building my C++ using QT3
>> lib (installed inside cygwin).
>> When compiling my program with 'make', I got these warnings:
>> This should work unless it involves constant data structures
>> referencing symbols from auto-imported DLLs.
>> Info: resolving QString::shared_null       by linking to
>> __imp___ZN7QString11shared_nullE (auto-import)
>> and executable file  "abc.exe". It said "could not find abc" when I
>> tried "./abc" but found with "where abc" command. How can I solve
>> this?
>
> In general, I would say there's not enough information here to make a
> clear determination about what's wrong.  I'd recommend reading and
> following the problem reporting guidelines found here:
>
>> Problem reports:       http://cygwin.com/problems.html
>
> But here are a couple of WAGs: Permissions on the file could be a problem.
> Check those.  Also try './abc.exe'.
>
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 216 Dalton Rd.                          (508) 893-9889 - FAX
> Holliston, MA 01746
>
> _____________________________________________________________________
>
> A: Yes.
>> Q: Are you sure?
>>> A: Because it reverses the logical flow of conversation.
>>>> Q: Why is top posting annoying in email?
>
> --
> 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/
>
>

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