X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0	tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <33665436.post@talk.nabble.com>
Date: Tue, 10 Apr 2012 17:36:21 -0700 (PDT)
From: "samuel.roy" <sgroy27@gmail.com>
To: cygwin@cygwin.com
Subject: Re: using a makefile to create an executable file
In-Reply-To: <4F84BD96.7080003@molconn.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <33664890.post@talk.nabble.com> <4F84BD96.7080003@molconn.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Thanks for setting me in the right direction, I'll do as you suggest and no
longer pollute your message board with irrelevant material!

cheers


LMHmedchem2 wrote:
> 
> This is a question that would be better posted to a programing forum 
> like CodeGuru Non Visual C++ Issues.
> 
> http://forums.codeguru.com/forumdisplay.php?s=111c5a2c3c03096907f8896f6194d142&f=9
> 
> You will need to post the entire output from make. It may be easier to 
> compile and build the application from the command line without using 
> make since make adds an additional level of errors that can occur.
> 
> If you find that the problem is from a missing cygwin component, than 
> that is something you could get help with here.
> 
> LMH
> 
> 
> 
> samuel.roy wrote:
>>
>> Hello,
>> I am very new to Cygwin and have little to no experience with
>> programming.
>> My professor gave me code for a landscape evolution modeling program
>> written
>> in C++. I am trying to compile the program so that I can run it as an
>> executable file through the command prompt on my Windows machine. He
>> wrote
>> the code on a mac, but he says that it can be compiled on a pc when using
>> Cygwin. I installed Cygwin version 1.7.5 (according to the website) with
>> devel (in order to get the make utility and to be compatible with gcc and
>> g++). I am trying to use the make tool to compile the code from a given
>> make
>> file (childi.mk) which is supposed to compile a laundry list of scripts
>> included in the uploaded zip file. When I run:
>> make -f childi.mk
>>
>> from the source directory, it begins to compile but catches on a warning:
>> A problem arises when the makefile script gets to tmesh.cpp, line 3982:3,
>> with the warning "the address of triVal will never be NULL".
>> Make then fails to create an executable file: "make ***
>> [childInterface.o]
>> Error 1".
>> The line in question from tmesh.cpp is:  "if(&triVal == 0 ) return 0;".
>>
>> As I mentioned previously, I have no experience with programming and my
>> only
>> intent here is to be able to create an executable file from the given
>> code
>> and makefile. I noticed that a cmake file is also present, but I am
>> unable
>> to get that to work and understand it even less. Does anyone have any
>> suggestions on how to successfully use Cygwin to create an exe file from
>> the
>> given C++ code?
>>
>> Thank you for your time,
>> Sam
>>
>> http://old.nabble.com/file/p33664890/Code.zip Code.zip
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/using-a-makefile-to-create-an-executable-file-tp33664890p33665436.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

