Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Limit size on compiled .exe file

Author
Message
Ghost Games
16
Years of Service
User Offline
Joined: 1st Aug 2007
Location:
Posted: 20th Jul 2015 11:56
Hi

i think i had ran into a problem, until now i had no problem compiling my project. but as the compiled file reached 10mb in the .exe file it crash with this error at the compile process


Compilation Failed (No exe created)


i had tryed removing the last function i made and then the compiled file was under 10mb and it compiled with no problem. so i add my function Again. "a simple printing function not any fancy" and boom crash Again

so my question is, had i hit the dbp limitation?? for file size??


Thx
wilindron
11
Years of Service
User Offline
Joined: 2nd Aug 2012
Location: carmona /spain
Posted: 20th Jul 2015 17:41
not get a screen error message when the compiler fails?
It may be a syntax error in your code or an external dll missing ...
or failure of compilation of multimedia (you included multimedia within the exe?)

no size limit ... But the exe compilation works best if it is light (only code, not media) ...

sorry for my English, I'm using google translator ...
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 20th Jul 2015 18:19
Quote: "so my question is, had i hit the dbp limitation?? for file size??"


I doubt it. I'm sure I've seen DBPro exe files much larger than 10MB. But you might have hit some other limit I suppose. Perhaps it's a problem caused by the IDE?



Powered by Free Banners
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 20th Jul 2015 18:32 Edited at: 20th Jul 2015 18:34
Quote: "Compilation Failed (No exe created)"


Quote: "and boom crash Again"


Crash means the application ran and crashed... failed to compile means the application did not complete and therefore did not run in order to crash....... or do you mean the IDE stopped working/responding?

Which one is your actual issue?

Also are you by any chance still running on XP?

Some things may help here... [Not all important but it helps answer many questions sometimes]

What OS are you running?
What 'BIT' is your OS... 32bit or 64bit?
How much System RAM have you got installed?
How much system memory is available when you compile?
Where is DBPro Installed?
What DX version are you running? [EDIT I mean did you install DX9.0C]
Did you install the latest official [Not BETA] release of DBPro? [U7.62 found here: http://www.thegamecreators.com/?m=view_product&id=2000&page=upgrade7-62]
Are you using an admin account?

And regarding the limitation factor... How many functions have you got in your project and also how many dba files have you got? [I mean like... is everything in a single dba file? ]

Help us Help you

Any other questions I missed out someone should ask them at some point too...

Hmm... maybe we should have a FAQ debug list

Cescano
9
Years of Service
User Offline
Joined: 4th Sep 2014
Location: Italy
Posted: 20th Jul 2015 18:51
I can confirm size doesn't mean anything, my exe is 15 MB at the moment and I never have problems of crashes or code not compiled, the only problem, obviously, is the compiling time of around 3 minutes
Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 20th Jul 2015 20:15
I recently started getting this same error on compile on my large on going project after making an insignificant change to one line. no exe gets created, it doesn't run/crash, it's not syntax error nor throws any line error. its more similar to an error I sometimes get 'failed to add pck file...' usually retrying the compile goes through OK, but not this time.

I use version control, but even after reverting to a state that was known to compile without error I continued to get the error.

the system had plenty of ram, and other projects did compile OK. it was odd.

I rebooted and it all started working again, including after reapplying the new changes and more. so it definitely send to be some sort of system/compiler issue and not an issue of the project/code

John Y
Synergy Editor Developer
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 23rd Jul 2015 10:22
Personally I would check your anti-virus application. I've seen them get upset with the way DBPro builds the final exe, and locks the file from the compiler.

Maybe add your build location to the exceptions list.

Assuming you're using Synergy Editor, it doesn't take any part in the build process. When the compiler reports that it has finished, the editor performs a simple check to see if the exe exists. If not then that error is added to the output window.

Synergy Editor - Available for free HERE!
Scorpyo
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 24th Jul 2015 10:19
John Y antivirus advice might do the trick.
I personally have to disable real time scan of mine if I want to use DBP.
(I'm on Win 8 with McAfee)
Cheers
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 24th Jul 2015 13:08
Quote: "with McAfee"




Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 27th Jul 2015 21:51
Quote: "I personally have to disable real time scan of mine if I want to use DBP."


So do I (I use Norton).



Powered by Free Banners
CumQuaT
AGK Master
13
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 30th Jul 2015 17:58
This may be related to an issue I'm having also. I've just disabled all the real-time scanning and firewalls in McAffee and am running a compile on code I know throws this error. Will report back....


CumQuaT
AGK Master
13
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 30th Jul 2015 18:14
Hmm... Didn't seem to fix the issue.


Login to post a reply

Server time is: 2024-04-25 00:50:36
Your offset time is: 2024-04-25 00:50:36