0 registered members (),
730
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Error Msg: E1512 - Empty Prototype... Beginner on T7 Tutorial
[Re: MikeT]
#328953
06/16/10 11:09
06/16/10 11:09
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
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.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
Re: Error Msg: E1512 - Empty Prototype... Beginner on T7 Tutorial
[Re: Superku]
#328970
06/16/10 14:39
06/16/10 14:39
|
Joined: Jun 2010
Posts: 7
MikeT
OP
Newbie
|
OP
Newbie
Joined: Jun 2010
Posts: 7
|
The white start window: Mouse Found Speakers (Realtek...) ATI Radeon 3100... Compiling MYPROJ.C - [Esc] to abort.............0.270 sec. 2 objects Then the E1512 error pops up. There is no mention of dll's that load. http://drop.io/04oko54/asset/gstudio-error-jpg
|
|
|
Re: Error Msg: E1512 - Empty Prototype... Beginner on T7 Tutorial
[Re: Razoron]
#328977
06/16/10 15:15
06/16/10 15:15
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
The free version does not support DLLs (EDIT: as engine plug-ins), thus the Project Wizard won't work unless you have the Extra, Com or Pro edition (the templates are being replaced anyway).
You can download the 30-days trial, then you will be able to use the Project Wizard.
EDIT: I could be wrong.
Last edited by Superku; 06/16/10 16:04.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
Re: Error Msg: E1512 - Empty Prototype... Beginner on T7 Tutorial
[Re: Superku]
#328982
06/16/10 15:50
06/16/10 15:50
|
Joined: May 2009
Posts: 445 Peine, Germany
Razoron
Senior Member
|
Senior Member
Joined: May 2009
Posts: 445
Peine, Germany
|
The free version does not support DLLs, thus the Project Wizard won't work unless you have the Extra, Com or Pro edition (the templates are being replaced anyway).
You can download the 30-days trial, then you will be able to use the Project Wizard. Wow, that I didn't know yet, sorry.
|
|
|
Re: Error Msg: E1512 - Empty Prototype... Beginner on T7 Tutorial
[Re: MikeT]
#329549
06/21/10 05:28
06/21/10 05:28
|
Joined: May 2010
Posts: 4 Pennsylvania
Laurentius
Guest
|
Guest
Joined: May 2010
Posts: 4
Pennsylvania
|
Thx Superku! After spending several hours attempting to get the A7 templates to work, and another hour in the forums, your post explained to me my problem. You saved me hours of additional frustration. (NOTE TO ACKNET) It does seem to me that if the free version does not support the .dll files, perhaps the free version shouldn't provide a wizard that forces them to be used
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|