Ecere SDK/eC Forums
http://ecere.org/community/
Print view

.exe problems
http://ecere.org/community/viewtopic.php?f=9&t=109
Page 1 of 1
Author:  D.Bane [ Fri Sep 10, 2010 3:27 pm ]
Post subject:  .exe problems

Why some of the .exe files (built from samples) just crash (at least on PC's it was not built on)?

I'll check what samples are those exactly, and report back, it will be in Monday,Tuesday..

Does it mater if it's uno core :) ili dual core or if it's built on one it doesn't work on another?

Chess works nice :), I think free raider didn't :o ..
Author:  jerome [ Fri Sep 10, 2010 3:57 pm ]
Post subject:  Re: .exe problems

Perhaps it's specific to the samples?

I'm assuming you installed the SDK or at least copied the ecere.dll along with the samples...

Please let us know which ones you're having problems with :)

If you install the SDK on the machine, and you can run the sample in 'debug' mode, you could be able to have more helpful information.

It would also be useful if you could Add the Ecere project to the workspace (Project / Add project to workspace). Then you can build the ecere library from there (in debug configuration) and run your project with the debuggable ecere library. This will give us even more useful callstacks :D

Thanks,

Jerome
Author:  D.Bane [ Wed Sep 15, 2010 3:09 am ]
Post subject:  Re: .exe problems

Hi.
Sorry I haven't posted anything yesterday or 2 days ago..I thought I'll be able to try more samples, but that will have to wait as it seams..

So for the samples, OpenRider wasn't working if I remember correctly (can't remember did it crash prior to loading of the track, or while..), but it was working the last time I tried (this Monday), but the one that wasn't and is still not working is treeView. It gives out MS's famous Send/Don't Send Dialog, and it's a shame, it's so fast on P3, I was wondering how much faster would be on P4..

The deal on that machine is that I was able to install the Ecere SDK, but it's not able to build/run anything, probably because of the Visual Studio 6 (I believe it's his debug) that is installed, or Python, or something else..so I can't give any other info except this.. Oh yes, I copied all of the .dll files from the 'bin' directory.

So, they work on P3 on which they were built, but not on P4 on which I brought them..

Is there any other way I can do something to help, until I remove VS6?
Author:  jerome [ Wed Sep 15, 2010 6:34 pm ]
Post subject:  Re: .exe problems

Hi D.Bane,

The treeView sample is a directory lister thrown together really quickly, so there's a lot that could cause it to crash. Having the call stack from the debugger would be useful to figure out exactly why it's crashing...

Same goes for OpenRider... I'm wondering if it could be something related to the display color depth?

How did you install the SDK on that machine? Did you just copy it over, or ran the 0.43 installer which also installed MinGW?
Do you have a MinGW set up on that machine?

Having VisualStudio installed shouldn't change anything. I believe you're running 0.44, right? Which uses mingw32-make.exe as opposed to make.exe (which could potentially have conflicted with VisualStudio's make.exe). Are your paths properly configured in File/Global Settings/Compilers ?

Do the project makefiles get generated properly? And if so, what's the build output when you attempt to build the project? If all else fails, you can try running mingw32-make directly from the command prompt:

make -f MyProject-Debug.Makefile

There is surely something we can do to fix this and it doesn't require you to remove VS.
Author:  D.Bane [ Mon Sep 27, 2010 4:02 am ]
Post subject:  Re: .exe problems

Hi.

I tried allot of thing on the computer with vs6, and I really think it needs to be removed..I first installed the Ecere using the .exe on the front page (setup-ecere-0.43-win32),so the MingW came with it.., it didn't work ,then I removed it, and tried again, also I removed all of the other entrees (to vs's bin folders, Python's...), and left only ecere path (hasn't helped).Now I downloaded the new version redj uploaded (winbin) and overwritten the old bin and lib directories (better to say put where it needs to go)..
It still doesn't work as it should giving "child terminated unexpectedly" error.
In global Settings everything seams ok, the paths are as they are...so I don't see anything that would be a problem, in that section..

When I'll be at that computer, I'll run VM and install in one ecere and try, than vs6 next to it to see if there will be any problems than (I'll try vs6 and than ecere in third too..)

About makefiles.. on the computer that I use to program, it gives me "Regenerating makefile..", never if he did or not (stoped/finished)..but compiles the program right after it..

I have the error that it makes, but didn't have my flash with me and don't remember the pass (have it in portable Mozilla) so I couldn't report it here...next time..

I'll try the direct approach next time first..

PS: What do I need VS now for anyway :) :P
All times are UTC-05:00 Page 1 of 1