Comments (2)
Hi,
So there should only be one case of this, and bgt actually suffers the same issue. If you compile a script specifically without an entry point (void main or int main), the app will compile as there are no actual syntax errors in your code, but then the engine errors out because it can't call a specific function in the compiled code.
It does seem like it would be better user interface indeed however to do a check for the main function as part of the compilation process as well, so we can certainly do that in the future.
If there is another case you know about that can generate this behavior, can you please post an example script?
Thanks.
from nvgt.
it can be anything, for example, follow the steps below.
in nvgt
1: press application on music.nvgt, which is inside the inclood folder, and compile it as releace for example
2: you will see that it showes a dialog box saying the script has been compiled and saved in blaablaablaa, and then we have a music.exe file added in there
3: press enter on music.exe, you'll see compilation error dialog appearing
in bgt
1: try to compile logger.bgt or form.bgt or whatever file inside the inclood folder as releace or debug doesn't matter, and you'll see that it gives compilation error and doesn't compile, and doesn't give you the exe file from that script all.
in steps above, bgt does the correct job and nvgt should become like bgt in this case. Hopefully I was clear and specific enough
Thanks
from nvgt.
Related Issues (20)
- Figure out how to print proper exceptions if they take place while initializing global variables HOT 3
- Datetime Function Existence HOT 2
- can't install it on MacOS HOT 4
- Orca sleeps when focused on game window on Linux
- Timespan new properties request
- builtin tts_voice::set_xxx not working? HOT 5
- compiled execs not working w10 ltsc2021x64 HOT 8
- I can't build using just the windev.zip on Windows HOT 2
- CodeFactory Eloquence sometimes not playing nicely with tts_voice
- Glitching/clicking with rapid volume changes for positioned sounds with HRTF enabled (even when sliding) HOT 1
- form. Change the text search functionality, Change the find dialog a bit HOT 1
- File system new dialog methods request HOT 1
- form. A fue improvements for go to line functions HOT 22
- form. A bug with selecting text with shift + right/left arrow keys HOT 6
- make the compile scripts compile the stubs for other systems HOT 1
- Audio Form Text encode issue HOT 4
- Form. Inclood the f2 key to be changing the keyboard ekko by default like stw, And like ctrl+f and ctrl+g was inclooded by default HOT 5
- Documentation about create_subform and set_subform
- Make Possible to Make Handles of vectors
- Flac sounds are not closing properly. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvgt.