Ecere SDK/eC Forums http://www.ecere.com/community/ Print view |
|
Compiler stops right away http://www.ecere.com/community/viewtopic.php?f=4&t=228 |
Page 2 of 2 |
Author: | jerome [ Sat Mar 24, 2012 2:42 pm ] |
Post subject: | Re: Compiler stops right away |
Hi D.Bane, If 'gcc --version' is not working from you from outside the folder, then gcc is not in your path Which folder did you cd into for it to work? Is it C:\Program Files (x86)\ECERE SDK\mingw\bin ? You should have a gcc.exe in that folder (You ARE on a 64 bit Windows right?). Also make sure you restart a new command prompt anytime you modify the path, as it will only take effect then. If the build went as far as the 2nd stage ear like you pasted though, gcc should be in your path! Very strange. Maybe you haven't tried gcc --version after changing the path and starting a new command prompt? About the ear error... Could you try cd'ing into sdk\ear\cmd and from there doing a mingw32-make ? From there you should see the commands being run as well as the exact output. Please paste the make build log here. Thanks for working this through with me Regards, Jerome |
Author: | D.Bane [ Sat Mar 24, 2012 7:51 pm ] |
Post subject: | Re: Compiler stops right away |
Hi. Thank you Jerome for working with me I am sorry, I forgot to destroy the cmd window so yes, I am able to just call it from any folder and I get the version info... for both of them. Now, I tried what you said about building inside of "sdk\ear\cmd" I had to do clean first.. Code: Select all
Best Regards, D.Bane. |
Author: | jerome [ Sun Mar 25, 2012 12:16 pm ] |
Post subject: | Re: Compiler stops right away |
Hi D.Bane, OK we're making a bit of progress here! hehe Can you try taking out the 'q' (quiet) in the ear awq command, and then doing make clean/make again? Also can you try directly calling the command that seems to be failing (from the ear/cmd directory): ..\..\obj\win32\bin\ear awq obj/release.win32/ear.exe locale/es_ES/LC_MESSAGES/ear.mo "locale/es_ES/LC_MESSAGES" You do have this file "locale/es_ES/LC_MESSAGES/ear.mo" there, right? And your disk is not out of free space? Thanks! Jerome |
Author: | D.Bane [ Sun Mar 25, 2012 4:02 pm ] |
Post subject: | Re: Compiler stops right away |
Hi. Uf... It is not working... If you meant that I should open sdk/ear/cmd/ear.epj and change this section: Code: Select all
Now..The command prompt is much longer, here is the output: Code: Select all
Code: Select all
O, and when I go to sdk/ear folder and type ear.exe and the location of the file (I copyed what you wrote and then entered the exact location as well...it is not working, it was only showing the ear.exe "usage manual". Also, regarding calling the part that makes error without q parameter, if that is what you were actually thinking off gives this: Code: Select all
Yes, and I do have Code: Select all
Code: Select all
Code: Select all
Sorry for all the hassle.. A question: I was searching the forums and found Sam's post about not being able to build at one point, so I added the gettext and other dependencies (libiconv-2.dll and libintl-8.dll in the ecere/bin folder) and gettext in mingw/bin folder..that is OK right? And could that be an issue? Best Regards, D.Bane |
Author: | jerome [ Sun Mar 25, 2012 10:34 pm ] |
Post subject: | Re: Compiler stops right away |
Hi again D.Bane, Yes, what I meant was simply taking out the 'q' from the ear awq commands in the makefile. When you completely disabled the option in the code, had you just commented out the 'quiet = true' line, it would have had the same effect. But because you commented out the case 'q' as well, it resulted in ear giving showing you the syntax (because you made 'awq' invalid syntax). The reason I wanted you to do that, was to see what error ear was reporting. I was asking if you are out of space (as in 0..2 megabyte available), because I saw error code 1 was reported when running out of space. But make might be changing the error code into 1, because the error reported now (Failed to open archive obj/release.win32/ear.exe for writing!) should actually be 4. Now, I have a feeling this has to do with the problem you were having with Windows doing funny things with your files! The output file (ear.exe in this case) is opened multiple times to add multiple resources to it, and it seems to be failing because the file is still opened! Are you running any anti-virus software on your system? Or perhaps you actually have some kind of malware on your system, messing around with your files. Do you have any other computer on which you can try the same thing? I suspect this won't happen on a fresh Windows install. FYI I have NOT had that issue with locked .exe on multiple computers, regardless of it running Windows 7 or not. Ecere does not require libiconv-2.dll or libintl-8.dll anymore. That was only required for a short time period of time, as I was working on the internationalization support. I have decided to write my own internationalization routines rather than using the GNU gettext library. I hope you can figure out what's going on with your Windows setup Something is wrong! Good luck! Jerome |
Author: | D.Bane [ Mon Mar 26, 2012 2:54 am ] |
Post subject: | Re: Compiler stops right away |
Hi, Thank you Jerome, I will see what may be the problem. I have access to other computers so I will try that, although I am thinking of switching to Ubuntu I already have it setup and everything Since I do not have Kaspersky any more I feel like I am not using anything..I do have Ad-Aware..should change it to something else, as the free version I was testing till now does not have file scanner (just found out yesterday when I wanted to see it's reports to see what it is blocking).
Great. Thank you Jerome, I will post my findings or if I went to Ubuntu without resolving the issue (I do not think that that will happen). Best Regards, D.Bane |
All times are UTC-05:00 | Page 2 of 2 |
Powered by phpBB® Forum Software © phpBB Limited |