Progs.h out of date error with Scratch Tutorials
Moderator: InsideQC Admins
7 posts
• Page 1 of 1
Progs.h out of date error with Scratch Tutorials
Hi All,
I am getting the progs.h out of date error when I try to run the code created from the Scratch tutorials (here at Inside3D). Why would this be? I followed the tutorials precisely and my code is identical to the tutorials.
Its wierd.
It would be really awsome if someone can help me with this as I am trying to make a TC and it is a bit hard having to sift through all the ID code and add in my own... I think it would be easier to start with the Scratch model and then work my way up.
Thanks for any help you can provide.
-Timbobsteve
I am getting the progs.h out of date error when I try to run the code created from the Scratch tutorials (here at Inside3D). Why would this be? I followed the tutorials precisely and my code is identical to the tutorials.
Its wierd.
It would be really awsome if someone can help me with this as I am trying to make a TC and it is a bit hard having to sift through all the ID code and add in my own... I think it would be easier to start with the Scratch model and then work my way up.
Thanks for any help you can provide.
-Timbobsteve
- timbobsteve
- Posts: 15
- Joined: Mon Oct 10, 2005 12:56 pm
I don't remember adding anything to defs.QC other than
.entity camera;
(for my custom camera mod I am trying to make)
and I added that right down at the bottom after:
//End
Hmmmm I will go home and check again... Thanks Ren!
-Timbobsteve
.entity camera;
(for my custom camera mod I am trying to make)
and I added that right down at the bottom after:
//End
Hmmmm I will go home and check again... Thanks Ren!
-Timbobsteve
- timbobsteve
- Posts: 15
- Joined: Mon Oct 10, 2005 12:56 pm
I don't seem to be able to get to the scratch tutorials anyway.
in defs.qc, never add any definitions before void end_sys_fields;
doing so will cause the crc built into the engine to not match, and the engine will complain with that cryptic message about a file that you never even saw being out of date...
qcc generates a c header file which is compiled into the engine. this header file contains the same crc as the one built into the progs. the header file consists of all the defs before the end_sys_fields def.
Which explains the cryptic message, at least.
So don't change the top of defs.qc unless you know what you're doing. You can use precompiler stuff (in supporting qccs), so long as it ends up with the right progdefs.h
Some compilers don't write the progdefs.h anymore. However, they still generate it, just never write it.
Hurrah for the wierdness of QC.
in defs.qc, never add any definitions before void end_sys_fields;
doing so will cause the crc built into the engine to not match, and the engine will complain with that cryptic message about a file that you never even saw being out of date...
qcc generates a c header file which is compiled into the engine. this header file contains the same crc as the one built into the progs. the header file consists of all the defs before the end_sys_fields def.
Which explains the cryptic message, at least.
So don't change the top of defs.qc unless you know what you're doing. You can use precompiler stuff (in supporting qccs), so long as it ends up with the right progdefs.h
Some compilers don't write the progdefs.h anymore. However, they still generate it, just never write it.
Hurrah for the wierdness of QC.
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
Thanks for that Spike. I don't usually add anything at all to the defs.qc file anyways... I hava a bad habbit of declaring globals when I need them (right above the function
).... its messy I know.... but its just me ATM that reads the code.
- timbobsteve
- Posts: 15
- Joined: Mon Oct 10, 2005 12:56 pm
Thanks for that Frik... that was the problem. I got it to work now.
Bummer for me though... I am too confused to make anything worthwhile. I have been trying to code a camera that is Top-down... but I have no idea what I am doing
Anyways... I am on my way now... hopefully I will have something to show soon... thanks for your help all..
-Timbobsteve
Bummer for me though... I am too confused to make anything worthwhile. I have been trying to code a camera that is Top-down... but I have no idea what I am doing
Anyways... I am on my way now... hopefully I will have something to show soon... thanks for your help all..
-Timbobsteve
- timbobsteve
- Posts: 15
- Joined: Mon Oct 10, 2005 12:56 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest