Help with compiler settings please.

18 messages Options
Embed this post
Permalink
BruceMount

Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink

On computer #1, Eiffel 6.4 works fine.  However, when I try to use it on computer #2 (same project), it works differently.  Both computers are Win XP, service pack 3, 32-bit.

On computer #1, I compile with F7 and run with F5.  This works fine.
On computer #2, I compile with F7, which says it works, but when I press F5, I get the error message "You must compile a project first".

Although both systems were installed the same way, I get the sense that, somehow, I must have changed some setting on computer #2.  Does this right a bell for anyone?  Any suggestions of what setting I need to reset?  (I did Restore Defaults under Tools/Preferences and got the same result.)

Thanks,

--Bruce



Jimmy Johnson

Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
Just an-off-the cuff answer.  Are you sure it is the same project?  I have seen this when I accendentally sellected a library ecf instead of the test ecf for that library.  Because in the clusters view the library looks almost like the test project (the test project used the library so the classes were all there.)

--- In [hidden email], "brucemount" <brucemount@...> wrote:

>
>
> On computer #1, Eiffel 6.4 works fine.  However, when I try to use it on computer #2 (same project), it works differently.  Both computers are Win XP, service pack 3, 32-bit.
>
> On computer #1, I compile with F7 and run with F5.  This works fine.
> On computer #2, I compile with F7, which says it works, but when I press F5, I get the error message "You must compile a project first".
>
> Although both systems were installed the same way, I get the sense that, somehow, I must have changed some setting on computer #2.  Does this right a bell for anyone?  Any suggestions of what setting I need to reset?  (I did Restore Defaults under Tools/Preferences and got the same result.)
>
> Thanks,
>
> --Bruce
>


BruceMount

Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
"boxer41a" <boxer41a@...> wrote:
> Just an-off-the cuff answer.  Are you sure it is the same project?

More specifically, it's the same source code.  I copied the *.e files from computer #1 to computer #2 and compiled the project.  My project uses Gobo, so I had to add Gobo for it to compile.

It SAYS it compiles when I hit F7, but then says I need to compile when I hit F5.  The same sequence works fine on computer #1.

Both installations are with the Gnu C compiler.

--Bruce

Colin LeMahieu

Re: Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
I've also had this happen when the project doesn't have a root creation
procedure set and is set to compile "All classes."

On Tue, Sep 8, 2009 at 1:02 PM, brucemount <[hidden email]> wrote:

>
>
> "boxer41a" <boxer41a@...> wrote:
> > Just an-off-the cuff answer. Are you sure it is the same project?
>
> More specifically, it's the same source code. I copied the *.e files from
> computer #1 to computer #2 and compiled the project. My project uses Gobo,
> so I had to add Gobo for it to compile.
>
> It SAYS it compiles when I hit F7, but then says I need to compile when I
> hit F5. The same sequence works fine on computer #1.
>
> Both installations are with the Gnu C compiler.
>
> --Bruce
>
>  
>


[Non-text portions of this message have been removed]

Jimmy Johnson

Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
In reply to this post by BruceMount
> More specifically, it's the same source code.  I copied the *.e files from computer #1 to computer #2 and compiled the project.  My project uses Gobo, so I had to add Gobo for it to compile.

Are the ecf files identical?

>
> It SAYS it compiles when I hit F7, but then says I need to compile when I hit F5.  The same sequence works fine on computer #1.

Try Project->Freeze (Ctrl-F7).

Paul Bates [ES]

Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jimmy Johnson
I think this might be a bug with the graphical environment and a project using precompiled libraries, when compiling from scratch. You need to freeze your project using the precompiled library. Hit CTRL+F7 and try again.

I cannot speak for why the two environments differ of different systems.

I'll look into this issue.

Paul.

--- In [hidden email], "boxer41a" <boxer41a@...> wrote:

>
> Just an-off-the cuff answer.  Are you sure it is the same project?  I have seen this when I accendentally sellected a library ecf instead of the test ecf for that library.  Because in the clusters view the library looks almost like the test project (the test project used the library so the classes were all there.)
>
> --- In [hidden email], "brucemount" <brucemount@> wrote:
> >
> >
> > On computer #1, Eiffel 6.4 works fine.  However, when I try to use it on computer #2 (same project), it works differently.  Both computers are Win XP, service pack 3, 32-bit.
> >
> > On computer #1, I compile with F7 and run with F5.  This works fine.
> > On computer #2, I compile with F7, which says it works, but when I press F5, I get the error message "You must compile a project first".
> >
> > Although both systems were installed the same way, I get the sense that, somehow, I must have changed some setting on computer #2.  Does this right a bell for anyone?  Any suggestions of what setting I need to reset?  (I did Restore Defaults under Tools/Preferences and got the same result.)
> >
> > Thanks,
> >
> > --Bruce
> >
>


BruceMount

Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
In reply to this post by Colin LeMahieu
Colin LeMahieu <clemahieu@...> wrote:
> I've also had this happen when the project doesn't have a root
> creation procedure set and is set to compile "All classes."

Colin, thanks for chiming in.  As far as I know, I have a root creation procedure (I filled in the box) when I did "create" on a project at the opening screen.  (I did the same thing on both computers.)

Is there some way this could get un-set?

--Bruce

BruceMount

Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jimmy Johnson
"boxer41a" <boxer41a@...> wrote:
> Are the ecf files identical?

I don't know.  Computer #1 is in a different location.  I have not edited the .ecf, if that's what you are asking

> Try Project->Freeze (Ctrl-F7).

I tried this, but got the "C Compilation Failed" messages (which was the subject or a prior posting).  The full messages were:

Degree 6: Examining System
Degree 5: Parsing Classes
Degree 4: Analyzing Inheritance
Degree 3: Checking Types
Degree 2: Generating Byte Code
Freezing System Changes
Degree -1: Generating Code
Eiffel Compilation Succeeded
Background Workbench C Compilation Launched.
Background Workbench C Compilation Failed.

Thanks to everyone for thinking about this.  It gives me hope that we can figure this out.

--Bruce


Colin LeMahieu

Re: Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
What does your C Output window show?

On Tue, Sep 8, 2009 at 1:23 PM, brucemount <[hidden email]> wrote:

>
>
> "boxer41a" <boxer41a@...> wrote:
> > Are the ecf files identical?
>
> I don't know. Computer #1 is in a different location. I have not edited the
> .ecf, if that's what you are asking
>
> > Try Project->Freeze (Ctrl-F7).
>
> I tried this, but got the "C Compilation Failed" messages (which was the
> subject or a prior posting). The full messages were:
>
> Degree 6: Examining System
> Degree 5: Parsing Classes
> Degree 4: Analyzing Inheritance
> Degree 3: Checking Types
> Degree 2: Generating Byte Code
> Freezing System Changes
> Degree -1: Generating Code
> Eiffel Compilation Succeeded
> Background Workbench C Compilation Launched.
> Background Workbench C Compilation Failed.
>
> Thanks to everyone for thinking about this. It gives me hope that we can
> figure this out.
>
> --Bruce
>
>  
>


[Non-text portions of this message have been removed]

BruceMount

Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
--- In [hidden email], Colin LeMahieu <clemahieu@...> wrote:
>
> What does your C Output window show?

Full text is below (sorry if this is long).

--Bruce
==========================
Eiffel C/C++ Compilation Tool - Version: 6.4
Copyright Eiffel Software 1985-2009. All Rights Reserved.

Preparing C compilation...
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c eoption.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c epattern.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c efrozen.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c ecall.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c eplug.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c eskelet.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c enames.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c evisib.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c ececil.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c einit.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c eparents.c
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/cp" "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/config/windows/templates/emain.template" E1/emain.c
cd E1 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" emain.o  ; fi  && cd ..
make.exe[1]: Entering directory `/c/Bruce/summarize-option-range/EIFGENs/summarize_option_range/W_code/E1'
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c emain.c
make.exe[1]: Leaving directory `/c/Bruce/summarize-option-range/EIFGENs/summarize_option_range/W_code/E1'
cd C6 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj6.o ; fi  && cd ..
cd C5 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj5.o ; fi  && cd ..
cd C4 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj4.o ; fi  && cd ..
cd C3 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj3.o ; fi  && cd ..
cd C2 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj2.o ; fi  && cd ..
cd C1 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj1.o ; fi  && cd ..
if [ ! -f ../../../summarize_option_range.rc ] ; then "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/cp" "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/config/windows/mingw/eiffel.rc" ../../../summarize_option_range.rc ; fi
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/windres" --preprocessor='"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/cpp.exe"' -I../../.. ../../../summarize_option_range.rc -O coff -o summarize_option_range.res
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/rm" -f summarize_option_range.exe
"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc"  -mwindows -o summarize_option_range.exe E1/emain.o "c:\program files\eiffel software\eiffelstudio 6.4 gpl\precomp\spec\windows\EIFGENs\base\W_code/mingw/precomp.lib" summarize_option_range.res E1/eparents.o  E1/einit.o  E1/ececil.o  E1/evisib.o  E1/enames.o  E1/eskelet.o  E1/eplug.o  E1/ecall.o  E1/efrozen.o  E1/epattern.o  E1/eoption.o  C6/Cobj6.o C5/Cobj5.o C4/Cobj4.o C3/Cobj3.o C2/Cobj2.o C1/Cobj1.o   "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/lib/mingw/wkbench.a" -luser32 -lws2_32 -ladvapi32 -lgdi32 -lshell32 -lmsimg32 -lcomdlg32 -luuid -lole32 -loleaut32 -lcomctl32 -lmpr
gcc.exe: c:\program files\eiffel software\eiffelstudio 6.4 gpl\precomp\spec\windows\EIFGENs\base\W_code/mingw/precomp.lib: No such file or directory
make.exe": *** [summarize_option_range.exe] Error 1


Colin LeMahieu

Re: Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
It looks like your precompilation didn't complete correctly.  Try removing
the precompile library.

On Tue, Sep 8, 2009 at 1:35 PM, brucemount <[hidden email]> wrote:

>
>
> --- In [hidden email] <eiffel_software%40yahoogroups.com>,
> Colin LeMahieu <clemahieu@...> wrote:
> >
> > What does your C Output window show?
>
> Full text is below (sorry if this is long).
>
> --Bruce
> ==========================
> Eiffel C/C++ Compilation Tool - Version: 6.4
> Copyright Eiffel Software 1985-2009. All Rights Reserved.
>
> Preparing C compilation...
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c eoption.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c epattern.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c efrozen.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c ecall.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c eplug.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c eskelet.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c enames.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c evisib.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c ececil.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c einit.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c eparents.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/msys/1.0/bin/cp" "C:\Program Files\Eiffel
> Software\EiffelStudio 6.4
> GPL/studio/config/windows/templates/emain.template" E1/emain.c
> cd E1 && if [ ! -f finished ] ; then "C:\Program Files\Eiffel
> Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" emain.o ;
> fi && cd ..
> make.exe[1]: Entering directory
> `/c/Bruce/summarize-option-range/EIFGENs/summarize_option_range/W_code/E1'
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h
> -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE
> -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/include" -I. -c emain.c
> make.exe[1]: Leaving directory
> `/c/Bruce/summarize-option-range/EIFGENs/summarize_option_range/W_code/E1'
> cd C6 && if [ ! -f finished ] ; then "C:\Program Files\Eiffel
> Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj6.o ;
> fi && cd ..
> cd C5 && if [ ! -f finished ] ; then "C:\Program Files\Eiffel
> Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj5.o ;
> fi && cd ..
> cd C4 && if [ ! -f finished ] ; then "C:\Program Files\Eiffel
> Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj4.o ;
> fi && cd ..
> cd C3 && if [ ! -f finished ] ; then "C:\Program Files\Eiffel
> Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj3.o ;
> fi && cd ..
> cd C2 && if [ ! -f finished ] ; then "C:\Program Files\Eiffel
> Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj2.o ;
> fi && cd ..
> cd C1 && if [ ! -f finished ] ; then "C:\Program Files\Eiffel
> Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj1.o ;
> fi && cd ..
> if [ ! -f ../../../summarize_option_range.rc ] ; then "C:\Program
> Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/cp"
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/config/windows/mingw/eiffel.rc"
> ../../../summarize_option_range.rc ; fi
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/windres" --preprocessor='"C:\Program Files\Eiffel
> Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/cpp.exe"' -I../../..
> ../../../summarize_option_range.rc -O coff -o summarize_option_range.res
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/msys/1.0/bin/rm" -f summarize_option_range.exe
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/gcc/windows/mingw/bin/gcc" -mwindows -o summarize_option_range.exe
> E1/emain.o "c:\program files\eiffel software\eiffelstudio 6.4
> gpl\precomp\spec\windows\EIFGENs\base\W_code/mingw/precomp.lib"
> summarize_option_range.res E1/eparents.o E1/einit.o E1/ececil.o E1/evisib.o
> E1/enames.o E1/eskelet.o E1/eplug.o E1/ecall.o E1/efrozen.o E1/epattern.o
> E1/eoption.o C6/Cobj6.o C5/Cobj5.o C4/Cobj4.o C3/Cobj3.o C2/Cobj2.o
> C1/Cobj1.o "C:\Program Files\Eiffel Software\EiffelStudio 6.4
> GPL/studio/spec/windows/lib/mingw/wkbench.a" -luser32 -lws2_32 -ladvapi32
> -lgdi32 -lshell32 -lmsimg32 -lcomdlg32 -luuid -lole32 -loleaut32 -lcomctl32
> -lmpr
> gcc.exe: c:\program files\eiffel software\eiffelstudio 6.4
> gpl\precomp\spec\windows\EIFGENs\base\W_code/mingw/precomp.lib: No such file
> or directory
> make.exe": *** [summarize_option_range.exe] Error 1
>
>  
>


[Non-text portions of this message have been removed]

rfo

RE: Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
In reply to this post by BruceMount
Hi Bruce

It seems you don't have a precompiled library, or it's in the wrong
place.  Perhaps during installation there was an issue, or you skipped a
step, or selected different precomp options. The F7 thinks it's done
because it only looks at the Eiffel compilation step and that succeeds.
The linking is failing on the C compilation.
gpl\precomp\spec\windows\EIFGENs\base\W_code/mingw/precomp.lib: No such
file or directory pretty much says it all.
It looks to me like a you're missing an environment variable like
ISE_EIFFEL because there's no path components before 'gpl'.
The missing env variable might be because the installation was done by
root and you're not running as root, or some other such common issue.

     R

==================================================
Roger F. Osmond


> -------- Original Message --------
> Subject: [eiffel_software] Re: Help with compiler settings please.
> From: "brucemount" <[hidden email]>
> Date: Tue, September 08, 2009 2:35 pm
> To: [hidden email]
> --- In [hidden email], Colin LeMahieu <clemahieu@...> wrote:
> >
> > What does your C Output window show?
> Full text is below (sorry if this is long).
> --Bruce
> ==========================
> Eiffel C/C++ Compilation Tool - Version: 6.4
> Copyright Eiffel Software 1985-2009. All Rights Reserved.
> Preparing C compilation...
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c eoption.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c epattern.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c efrozen.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c ecall.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c eplug.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c eskelet.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c enames.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c evisib.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c ececil.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c einit.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c eparents.c
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/cp" "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/config/windows/templates/emain.template" E1/emain.c
> cd E1 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" emain.o  ; fi  && cd ..
> make.exe[1]: Entering directory `/c/Bruce/summarize-option-range/EIFGENs/summarize_option_range/W_code/E1'
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc" -O0 -imacros eif_config.mingw.h -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x400 -D_UNICODE -DUNICODE   -DWORKBENCH -I"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/include" -I.  -c emain.c
> make.exe[1]: Leaving directory `/c/Bruce/summarize-option-range/EIFGENs/summarize_option_range/W_code/E1'
> cd C6 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj6.o ; fi  && cd ..
> cd C5 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj5.o ; fi  && cd ..
> cd C4 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj4.o ; fi  && cd ..
> cd C3 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj3.o ; fi  && cd ..
> cd C2 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj2.o ; fi  && cd ..
> cd C1 && if [ ! -f finished ] ; then  "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/make.exe" Cobj1.o ; fi  && cd ..
> if [ ! -f ../../../summarize_option_range.rc ] ; then "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/cp" "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/config/windows/mingw/eiffel.rc" ../../../summarize_option_range.rc ; fi
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/windres" --preprocessor='"C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/cpp.exe"' -I../../.. ../../../summarize_option_range.rc -O coff -o summarize_option_range.res
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/msys/1.0/bin/rm" -f summarize_option_range.exe
> "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/gcc/windows/mingw/bin/gcc"  -mwindows -o summarize_option_range.exe E1/emain.o "c:\program files\eiffel software\eiffelstudio 6.4 gpl\precomp\spec\windows\EIFGENs\base\W_code/mingw/precomp.lib" summarize_option_range.res E1/eparents.o  E1/einit.o  E1/ececil.o  E1/evisib.o  E1/enames.o  E1/eskelet.o  E1/eplug.o  E1/ecall.o  E1/efrozen.o  E1/epattern.o  E1/eoption.o  C6/Cobj6.o C5/Cobj5.o C4/Cobj4.o C3/Cobj3.o C2/Cobj2.o C1/Cobj1.o   "C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL/studio/spec/windows/lib/mingw/wkbench.a" -luser32 -lws2_32 -ladvapi32 -lgdi32 -lshell32 -lmsimg32 -lcomdlg32 -luuid -lole32 -loleaut32 -lcomctl32 -lmpr
> gcc.exe: c:\program files\eiffel software\eiffelstudio 6.4 gpl\precomp\spec\windows\EIFGENs\base\W_code/mingw/precomp.lib: No such file or directory
> make.exe": *** [summarize_option_range.exe] Error 1

BruceMount

Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
In reply to this post by Colin LeMahieu
Colin LeMahieu <clemahieu@...> wrote:
> It looks like your precompilation didn't complete correctly.
>  Try removing the precompile library.

I'm not sure I've done this correctly.  I right-clicked on the library and selected "Remove Current Item" from the drop-down menu for the base_pre library.  However, the library still appears in the window and I get the same compiler failure.

Shoot.  I can't seem to get it to work on this computer and the "failure" message just doesn't suggest any course of action I can take to make this work.  Ugh.

--Bruce

Colin LeMahieu

Re: Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
After you remove the pre-compile like you did, close the project and when
you open it, click clean and try compiling again.

On Tue, Sep 8, 2009 at 1:57 PM, brucemount <[hidden email]> wrote:

>
>
> Colin LeMahieu <clemahieu@...> wrote:
> > It looks like your precompilation didn't complete correctly.
> > Try removing the precompile library.
>
> I'm not sure I've done this correctly. I right-clicked on the library and
> selected "Remove Current Item" from the drop-down menu for the base_pre
> library. However, the library still appears in the window and I get the same
> compiler failure.
>
> Shoot. I can't seem to get it to work on this computer and the "failure"
> message just doesn't suggest any course of action I can take to make this
> work. Ugh.
>
> --Bruce
>
>  
>


[Non-text portions of this message have been removed]

BruceMount

Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
In reply to this post by rfo
<rfo@...> wrote:
> ....It looks to me like a you're missing an environment
> variable like ISE_EIFFEL because there's no path components

Ahhhh, I think you've hit it.  I did a SET in a command window and don't see ISE_EIFFEL anywhere.  I wonder why the installation didn't create that?  Eiffel was installed from an Admin account.  I'll look into that.

Thanks,

--Bruce


Peter Gummer-2

Re: Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
Bruce Mount wrote:

> <rfo@...> wrote:
>> ....It looks to me like a you're missing an environment
>> variable like ISE_EIFFEL because there's no path components
>
> Ahhhh, I think you've hit it.  I did a SET in a command window and  
> don't see ISE_EIFFEL anywhere.  I wonder why the installation didn't  
> create that?  Eiffel was installed from an Admin account.  I'll look  
> into that.



You're running on Windows. On Windows, EiffelStudio uses the registry  
instead of environment variables. Don't set the ISE_EIFFEL environment  
variable yourself, Bruce: on Windows, it tends to cause even more  
trouble, and it will create more confusion.

Roger misread the the error message. The path components _are_ there  
before 'gpl':

>> gcc.exe: c:\program files\eiffel software\eiffelstudio 6.4 gpl
>> \precomp\spec\windows\EIFGENs\base\W_code/mingw/precomp.lib: No  
>> such file or directory
>


Your ISE_EIFFEL appears to be fine. Don't touch it.

- Peter Gummer
BruceMount

Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
In reply to this post by BruceMount

Posted by:      "Peter Gummer"      
      [hidden email]      
              ?
       
          peter_gummer

> .....Roger misread the the error message. The path components _are_ there
>
before 'gpl':

> Your ISE_EIFFEL appears to be fine. Don't touch it.

Peter, thanks for the comment.? When I went back to Computer #1 I realized it did not have and env variable set either, so I didn't touch it.? So that leaves me back at square one....it works on computer #1, but not on computer #2 and I have no idea why.

Anyone else have any other suggestions to try?

--Bruce




[Non-text portions of this message have been removed]

Jocelyn.Fiat

Re: Re: Help with compiler settings please.

Reply Threaded More More options
Print post
Permalink
Maybe I missed it, but you should post the compilation trace of the
precompilation
 From the C compilation trace you provided I can see at the end

gcc.exe: c:\program files\eiffel software\eiffelstudio 6.4 gpl\precomp\spec\windows\EIFGENs\base\W_code/mingw/precomp.lib: No such file or directory
> make.exe": *** [summarize_option_range.exe] Error 1

This means the precompilation of "base" went wrong.

You might go to
c:\program files\eiffel software\eiffelstudio 6.4 gpl\precomp\spec\windows\EIFGENs\base\W_code

and see what went wrong.

Do you have the same mingw version on both machine?
Did you installed EiffelStudio at the same place (i.e: c:\program files\eiffel software\eiffelstudio 6.4 gpl\) ?

hope this helps,
-- Jocelyn



[hidden email] wrote:

> Posted by:      "Peter Gummer"      
>       [hidden email]      
>               ?
>        
>           peter_gummer
>
>  
>> .....Roger misread the the error message. The path components _are_ there
>>
>>    
> before 'gpl':
>
>  
>> Your ISE_EIFFEL appears to be fine. Don't touch it.
>>    
>
> Peter, thanks for the comment.? When I went back to Computer #1 I realized it did not have and env variable set either, so I didn't touch it.? So that leaves me back at square one....it works on computer #1, but not on computer #2 and I have no idea why.
>
> Anyone else have any other suggestions to try?
>
> --Bruce
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
>