Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 730 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Error Msg: E1512 - Empty Prototype... Beginner on T7 Tutorial [Re: Superku] #328921
06/16/10 03:51
06/16/10 03:51
Joined: Jun 2010
Posts: 7
M
MikeT Offline OP
Newbie
MikeT  Offline OP
Newbie
M

Joined: Jun 2010
Posts: 7
Hi Superku,

I checked and everything in your list is there.

Maybe the acklog.txt will help.

I haven't touched any of the coding generated by the Project Wizard.

Slin: As to when the error occurs:
The Wizard generates the level with terrain and entities fine.

1. I click the run (traffic light) button.
2. A dialog pops us with Engine Options: "myproj.c -nx 30", click ok
3. The information window appear with 'Compiling MYPROJ.C' then '2 objects'. Then the Error E1512 comes up.

I've also tried the build button along with the various build options. No error when building.
The error still occurs only with the run button.

In WED, I also tried the Resourses tab, Script files, MyProj.c > Open.
In SED, trying the Run Current Script, the Test Run or the Debug Run buttons all generated the error.


Thanks to everyone for your help,



MikeT

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 Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
There is nothing wrong with your (generated) code, the problem is here:

Quote:
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):

Code:
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
M
MikeT Offline OP
Newbie
MikeT  Offline OP
Newbie
M

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: MikeT] #328973
06/16/10 14:48
06/16/10 14:48
Joined: May 2009
Posts: 445
Peine, Germany
Razoron Offline
Senior Member
Razoron  Offline
Senior Member

Joined: May 2009
Posts: 445
Peine, Germany
Are there the following Dlls in the
XX:/Program Files/GStdio7/acknex_plugins/ folder?

-t7.dll
-ackport.dll
-ackwii.dll


Do you have VC++ redistributable correctly installed?

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 Offline
Senior Expert
Superku  Offline
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 Offline
Senior Member
Razoron  Offline
Senior Member

Joined: May 2009
Posts: 445
Peine, Germany
Originally Posted By: Superku
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: Superku] #329028
06/16/10 23:53
06/16/10 23:53
Joined: Jun 2010
Posts: 7
M
MikeT Offline OP
Newbie
MikeT  Offline OP
Newbie
M

Joined: Jun 2010
Posts: 7
I'm glad to find out what the problem was.

Perhaps a notice might be in order for the tutorial.
(Extra, Com or Pro editions only)


Thanks for everybody's replies.

We will go ahead and try some other tutorials.


MikeT

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
L
Laurentius Offline
Guest
Laurentius  Offline
Guest
L

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 frown

Page 2 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1