Discussion:
Unable to compile project in EiffelStudio
e***@public.gmane.org
2013-11-05 15:46:03 UTC
Permalink
Hi guys,

I haven't yet been able to compile a project since I got some problems with the "precomp". I was told it was probably due to the compiler that was installed with Visual Studio 2013, so I uninstalled that. I unfortunately don't have any screenshots of that error, but it was something with being unable to perform the precompile for the project.



Now, without VS13 installed anymore I am still unable to compile, but get some slightly different errors. When performing a "Freeze..."-compile it will stall at the point below, and I force-closed the IDE after 2 hours at that point:




When performing a normal compile (F7) it will say "Eiffel Compilation Succeeded" but when launching the project for execution it realizes dose.exe doesn't exist.


I changed the ISE_C_COMPILER in Registry Entity to mingx but that just made the compile fail like this:
...
"C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL/gcc/win64/msys/1.0/bin/touch" finished
make.exe[1]: Leaving directory `/c/Users/Emil/Documents/Eiffel User Files/7.3/projects/DOSE/dose2013/src/EIFGENs/dose/W_code/C1'
"C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL/gcc/win64/msys/1.0/bin/rm" -f big_file_C3_c.o
make.exe[1]: Leaving directory `/c/Users/Emil/Documents/Eiffel User Files/7.3/projects/DOSE/dose2013/src/EIFGENs/dose/W_code/C3'
"C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL/gcc/win64/msys/1.0/bin/rm" -f dose.exe
"C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL/gcc/win64/mingw/bin/gcc" -mwindows -o dose.exe E1/emain.o "c:\users\emil\documents\eiffel user files\7.3\precomp\spec\win64\EIFGENs\base-mt\W_code/mingw/precomp.lib" dose.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 C36/Cobj36.o C35/Cobj35.o C34/Cobj34.o C33/Cobj33.o C32/Cobj32.o C31/Cobj31.o C30/Cobj30.o C29/Cobj29.o C28/Cobj28.o C27/Cobj27.o C26/Cobj26.o C25/Cobj25.o C24/Cobj24.o C23/Cobj23.o C22/Cobj22.o C21/Cobj21.o C20/Cobj20.o C19/Cobj19.o C18/Cobj18.o C17/Cobj17.o C16/Cobj16.o C15/Cobj15.o C14/Cobj14.o C13/Cobj13.o C12/Cobj12.o C11/Cobj11.o C10/Cobj10.o C9/Cobj9.o C8/Cobj8.o C7/Cobj7.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 7.3 GPL\library\net\spec\mingw\win64\lib\mtnet.lib" "C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL\library\wel\spec\mingw\win64\lib\mtwel.lib" "C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL\library\vision2\spec\mingw\win64\lib\mtvision2.lib" "C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL\library\vision2\spec\mingw\win64\lib\libpng.lib" "C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL\library\vision2\spec\mingw\win64\lib\zlib.lib" "C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL/studio/spec/win64/lib/mingw/mtwkbench.a" -luser32 -lws2_32 -ladvapi32 -lgdi32 -lshell32 -lmsimg32 -lcomdlg32 -luuid -lole32 -loleaut32 -lcomctl32 -lmpr -lshlwapi -lwinspool -lstdc++
gcc.exe: c:\users\emil\documents\eiffel user files\7.3\precomp\spec\win64\EIFGENs\base-mt\W_code/mingw/precomp.lib: No such file or directory
make.exe": *** [dose.exe] Error 1



Has anyone had this problem or have any suggestion towards solving this, so I can finally run the project. I am using Windows 7 Professional 64-bit.


If you need any more information, dont hesitate to ask.


Thanks in advance
// Emil Juul Jacobsen Group7
Emmanuel Stapf
2013-11-05 18:26:12 UTC
Permalink
Hi,
Post by e***@public.gmane.org
I haven't yet been able to compile a project since I got some problems
with the "precomp". I was told it was probably due to the compiler that
was installed with Visual Studio 2013, so I uninstalled that. I
There was no need to uninstall VS 2013, it is just that EiffelStudio 7.3 was released before VS 2013 was released and cannot make use of it. Only VS 2012 or earlier is supported by EiffelStudio 7.3. The next release of EiffelStudio will support VS 2013.
Post by e***@public.gmane.org
Now, without VS13 installed anymore I am still unable to compile, but get
some slightly different errors. When performing a "Freeze..."-compile it
will stall at the point below, and I force-closed the IDE after 2 hours
When you switched from VS 2013 to MinGW, did you recompile your precompiled libraries from scratch? If not, then this would explain the problem. To do that simply go to

c:\users\emil\documents\eiffel user files\7.3

and delete the `precomp' directory.

Then recompile your project from scratch and it will redo the precompiled library properly and then your project should compile fine too.

Regards,
Manu



------------------------------------

------------------------------------------------------------------------
Eiffel Software
http://www.eiffel.com
Customer support: http://support.eiffel.com
User group: http://groups.eiffel.com/join
------------------------------------------------------------------------Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/eiffel_software/join
(Yahoo! ID required)

<*> To change settings via email:
eiffel_software-digest-***@public.gmane.org
eiffel_software-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
eiffel_software-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/
e***@public.gmane.org
2013-11-06 11:33:10 UTC
Permalink
Thanks for the reply. Now I get the following error, when trying to compile the project (in any mode):


VD21: Needed file is unreadable.
Error code: VD21


Configuration error: Needed file is unreadable.
What to do: Check file name and, if correct, fix the file permissions.


File name: c:\users\emil\documents\eiffel user files\7.3\precomp\spec\win64\EIFGENs\base-mt\COMP\S1\E17


---In ***@yahoogroups.com, <***@...> wrote:

Hi,
Post by e***@public.gmane.org
I haven't yet been able to compile a project since I got some problems
with the "precomp". I was told it was probably due to the compiler that
was installed with Visual Studio 2013, so I uninstalled that. I
There was no need to uninstall VS 2013, it is just that EiffelStudio 7.3 was released before VS 2013 was released and cannot make use of it. Only VS 2012 or earlier is supported by EiffelStudio 7.3. The next release of EiffelStudio will support VS 2013.
Post by e***@public.gmane.org
Now, without VS13 installed anymore I am still unable to compile, but get
some slightly different errors. When performing a "Freeze..."-compile it
will stall at the point below, and I force-closed the IDE after 2 hours
When you switched from VS 2013 to MinGW, did you recompile your precompiled libraries from scratch? If not, then this would explain the problem. To do that simply go to

c:\users\emil\documents\eiffel user files\7.3

and delete the `precomp' directory.

Then recompile your project from scratch and it will redo the precompiled library properly and then your project should compile fine too.

Regards,
Manu
Emmanuel Stapf
2013-11-06 18:54:15 UTC
Permalink
It seems that you are reloading the project you had previously compiled instead of recompiling from scratch. Make sure to check the `clean’ check box in the opening dialog.



Manu



From: eiffel_software-***@public.gmane.org [mailto:***@yahoogroups.com] On Behalf Of emiljuuljacobsen-/***@public.gmane.org
Sent: Wednesday, November 06, 2013 03:33
To: eiffel_software-***@public.gmane.org
Subject: [eiffel_software] RE: Unable to compile project in EiffelStudio








Thanks for the reply. Now I get the following error, when trying to compile the project (in any mode):



VD21: Needed file is unreadable.

Error code: VD21



Configuration error: Needed file is unreadable.

What to do: Check file name and, if correct, fix the file permissions.



File name: c:\users\emil\documents\eiffel user files\7.3\precomp\spec\win64\EIFGENs\base-mt\COMP\S1\E17



---In eiffel_software-***@public.gmane.org <mailto:***@yahoogroups.com> , <***@... <mailto:***@...> > wrote:

Hi,
Post by e***@public.gmane.org
I haven't yet been able to compile a project since I got some problems
with the "precomp". I was told it was probably due to the compiler that
was installed with Visual Studio 2013, so I uninstalled that. I
There was no need to uninstall VS 2013, it is just that EiffelStudio 7.3 was released before VS 2013 was released and cannot make use of it. Only VS 2012 or earlier is supported by EiffelStudio 7.3. The next release of EiffelStudio will support VS 2013.
Post by e***@public.gmane.org
Now, without VS13 installed anymore I am still unable to compile, but get
some slightly different errors. When performing a "Freeze..."-compile it
will stall at the point below, and I force-closed the IDE after 2 hours
When you switched from VS 2013 to MinGW, did you recompile your precompiled libraries from scratch? If not, then this would explain the problem. To do that simply go to

c:\users\emil\documents\eiffel user files\7.3

and delete the `precomp' directory.

Then recompile your project from scratch and it will redo the precompiled library properly and then your project should compile fine too.

Regards,
Manu
e***@public.gmane.org
2013-11-14 15:19:46 UTC
Permalink
The compilation worked fine for some time with your suggestion above, but now it shows the same problems as before, but still with the mingw, and the following error happens in C-compile:

"C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL/gcc/win64/msys/1.0/bin/rm" -f dose.exe
"C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL/gcc/win64/mingw/bin/gcc" -mwindows -o dose.exe E1/emain.o "c:\users\emil\documents\eiffel user files\7.3\precomp\spec\win64\EIFGENs\base-mt\W_code/mingw/precomp.lib" dose.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 C45/Cobj45.o C44/Cobj44.o C43/Cobj43.o C42/Cobj42.o C41/Cobj41.o C40/Cobj40.o C39/Cobj39.o C38/Cobj38.o C37/Cobj37.o C36/Cobj36.o C35/Cobj35.o C34/Cobj34.o C33/Cobj33.o C32/Cobj32.o C31/Cobj31.o C30/Cobj30.o C29/Cobj29.o C28/Cobj28.o C27/Cobj27.o C26/Cobj26.o C25/Cobj25.o C24/Cobj24.o C23/Cobj23.o C22/Cobj22.o C21/Cobj21.o C20/Cobj20.o C19/Cobj19.o C18/Cobj18.o C17/Cobj17.o C16/Cobj16.o C15/Cobj15.o C14/Cobj14.o C13/Cobj13.o C12/Cobj12.o C11/Cobj11.o C10/Cobj10.o C9/Cobj9.o C8/Cobj8.o C7/Cobj7.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 7.3 GPL\library\net\spec\mingw\win64\lib\mtnet.lib" "C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL\library\wel\spec\mingw\win64\lib\mtwel.lib" "C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL\library\vision2\spec\mingw\win64\lib\mtvision2.lib" "C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL\library\vision2\spec\mingw\win64\lib\libpng.lib" "C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL\library\vision2\spec\mingw\win64\lib\zlib.lib" "C:\Program Files\Eiffel Software\EiffelStudio 7.3 GPL/studio/spec/win64/lib/mingw/mtwkbench.a" -luser32 -lws2_32 -ladvapi32 -lgdi32 -lshell32 -lmsimg32 -lcomdlg32 -luuid -lole32 -loleaut32 -lcomctl32 -lmpr -lshlwapi -lwinspool -lstdc++
gcc.exe: c:\users\emil\documents\eiffel user files\7.3\precomp\spec\win64\EIFGENs\base-mt\W_code/mingw/precomp.lib: No such file or directory
make.exe": *** [dose.exe] Error 1


I have no clue as to why the problem has re-occured since I haven't changed any settings in the meanwhile, and only compiled the project from within EiffelStudio.
Loading...