There is nothing wrong with your (generated) code, the problem is here:
PATH C:\Program Files\GStudio7\templates\xml\.......
anim_reload: function not found
[...]
entity_set_vec: function not found
project_level_: function not found
project_load: function not found
project_remove: function not found
project_update: function not found... 0.269 sec
Then there is the following code in your main-function (myProj.c):
void main()
{
if(project_load("myProj.xml") == 0) // load up game from an xml file
{
sys_exit("Couldn't load myProj.xml");
}
while(project_update() != 0)
{
wait(1);
}
sys_exit("Normal Exit");
}
Because project_load and project_update are not found, the engine outputs the "Empty prototype called in main" error. I don't use dll functions myself but this sounds as the t7.dll could not be loaded. When you run your script/ project, the white start window lists which dlls have been loaded, f.i.:
acknet.dll opened
ackwii.dll opened
t7.dll opened.
Check if the bold line appears in your start window.