My compile error

Stuck? This is the place to go to get and give help.

My compile error

Postby cjt_96 » April 27th, 2012, 7:55 pm

I have tried updating devkit and it's still the same does anyone know how to fix it, this school project is in on thursday xD

Image
cjt_96
 
Posts: 14
Joined: January 6th, 2012, 7:39 pm

Re: My compile error

Postby Nobody » April 27th, 2012, 8:04 pm

this isn't a devkit problem, it's a coding error with your variables. How did you declare them? Better yet post your DSGM file so we can take a look.
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082 (latest project!)
The Living Dead - viewtopic.php?f=13&t=1582
Mario Craft - viewtopic.php?f=8&t=1736 (Most Popular!)
Spawn Zombies - viewtopic.php?f=13&t=3444 (Newest)
User avatar
Nobody
 
Posts: 1945
Joined: February 14th, 2011, 12:08 am
Location: United States of America

Re: My compile error

Postby cjt_96 » April 27th, 2012, 8:15 pm

all of the lines above the error 1 always used to pop up when the game compiled successfully so those variables are fine since they have been there from the beginning. If you need me to post the dsgm file i will though
cjt_96
 
Posts: 14
Joined: January 6th, 2012, 7:39 pm

Re: My compile error

Postby cjt_96 » April 27th, 2012, 8:20 pm

forgot to post
Attachments
New Project2.dsgm
here you go
(924.99 KiB) Downloaded 16 times
cjt_96
 
Posts: 14
Joined: January 6th, 2012, 7:39 pm

Re: My compile error

Postby Nobody » April 27th, 2012, 10:01 pm

i didn't try anything yet, but i think i know the problem. You're using CanMoveUp, CanMoveLeft, ect. but you never declared them.
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082 (latest project!)
The Living Dead - viewtopic.php?f=13&t=1582
Mario Craft - viewtopic.php?f=8&t=1736 (Most Popular!)
Spawn Zombies - viewtopic.php?f=13&t=3444 (Newest)
User avatar
Nobody
 
Posts: 1945
Joined: February 14th, 2011, 12:08 am
Location: United States of America

Re: My compile error

Postby cjt_96 » April 29th, 2012, 11:33 am

any success?
cjt_96
 
Posts: 14
Joined: January 6th, 2012, 7:39 pm

Re: My compile error

Postby Nobody » April 29th, 2012, 6:51 pm

i haven't, but did you try what i told you first?
Nobody wrote:i didn't try anything yet, but i think i know the problem. You're using CanMoveUp, CanMoveLeft, ect. but you never declared them.


i maybe wrong, but i couldn't find the decelerations anywhere and that would be a good source for trying to solve the problem.
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082 (latest project!)
The Living Dead - viewtopic.php?f=13&t=1582
Mario Craft - viewtopic.php?f=8&t=1736 (Most Popular!)
Spawn Zombies - viewtopic.php?f=13&t=3444 (Newest)
User avatar
Nobody
 
Posts: 1945
Joined: February 14th, 2011, 12:08 am
Location: United States of America

Re: My compile error

Postby cjt_96 » April 29th, 2012, 8:26 pm

Yeah i tried it gave me the exact same error, I really hope i can get this fixed deadline is rapidly coming up and i still have a whole quest to code in
cjt_96
 
Posts: 14
Joined: January 6th, 2012, 7:39 pm

Re: My compile error

Postby Foxi4 » April 29th, 2012, 11:00 pm

The error is not in the declared variables. They're declared but not used.

The issue here is the first error - you missed a parenthesis somewhere or added one parenthesis too much.

Re-check all your custom functions, alternatively, access GameWorks.H using a proper code-editor and locate the missing parenthesis, then lock the statement in DSGM.
Current Projects:

FalloutDS: Postponed until proper libraries are created, 10%
Foxi_Lib: A completely revised version of NitroSprites[FINAL], NitroBackgrounds and NitroText[FINAL], 40%
Foxi4
 
Posts: 1114
Joined: December 31st, 2010, 3:25 am

Re: My compile error

Postby cjt_96 » April 30th, 2012, 11:12 pm

Ok crysis over now guys loaded up the game and tried compiling at it worked this time, guess it was just a random error :S
cjt_96
 
Posts: 14
Joined: January 6th, 2012, 7:39 pm

Re: My compile error

Postby Foxi4 » April 30th, 2012, 11:17 pm

Good for you!

It happens sometimes, don't worry. Probably just uncleaned junk in the compile folder.
Current Projects:

FalloutDS: Postponed until proper libraries are created, 10%
Foxi_Lib: A completely revised version of NitroSprites[FINAL], NitroBackgrounds and NitroText[FINAL], 40%
Foxi4
 
Posts: 1114
Joined: December 31st, 2010, 3:25 am

Re: My compile error

Postby cjt_96 » April 30th, 2012, 11:26 pm

yeah thanks for suggesting help anyway im glad there are people here who still try and help. Thank you also Nobody
cjt_96
 
Posts: 14
Joined: January 6th, 2012, 7:39 pm

Re: My compile error

Postby Foxi4 » April 30th, 2012, 11:35 pm

Yeah, I can't see this forum working out if not for Yoshi, Buck_7, Nobody and myself. Even Jan seems to be missing lately, DSGM's dying. I'm moving away from it myself.

<JamesRant> No updates in ages, locked source, obsolete library used as the core of the system, no way to modify GameWorks and ActionWorks header files, no integrated Nitro loading DESPITE THE FACT that libraries for it have been created and are BEGGING to be used at this point and it's been suggested a HUNDRED times by now, not to mention no .mod support. </JamesRant>
Current Projects:

FalloutDS: Postponed until proper libraries are created, 10%
Foxi_Lib: A completely revised version of NitroSprites[FINAL], NitroBackgrounds and NitroText[FINAL], 40%
Foxi4
 
Posts: 1114
Joined: December 31st, 2010, 3:25 am

Re: My compile error

Postby Nobody » May 1st, 2012, 1:50 am

cjt_96 wrote:yeah thanks for suggesting help anyway im glad there are people here who still try and help. Thank you also Nobody

your welcome. I don't know that much when it comes to programming but i try :P

Foxi4 wrote:Yeah, I can't see this forum working out if not for Yoshi, Buck_7, Nobody and myself. Even Jan seems to be missing lately, DSGM's dying. I'm moving away from it myself.

<JamesRant> No updates in ages, locked source, obsolete library used as the core of the system, no way to modify GameWorks and ActionWorks header files, no integrated Nitro loading DESPITE THE FACT that libraries for it have been created and are BEGGING to be used at this point and it's been suggested a HUNDRED times by now, not to mention no .mod support. </JamesRant>

yeah, i'll probably leave for good soon too :roll: . It depends when i get an sdk i've been wanting. If i get it i probably won't pick DSGM back up again or touch it rarely not really doing anything with it. If i do get it idk if i'll finish my game for the comp :|
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082 (latest project!)
The Living Dead - viewtopic.php?f=13&t=1582
Mario Craft - viewtopic.php?f=8&t=1736 (Most Popular!)
Spawn Zombies - viewtopic.php?f=13&t=3444 (Newest)
User avatar
Nobody
 
Posts: 1945
Joined: February 14th, 2011, 12:08 am
Location: United States of America

Re: My compile error

Postby Bobbyloujo » May 1st, 2012, 2:00 am

Foxi4 wrote:Yeah, I can't see this forum working out if not for Yoshi, Buck_7, Nobody and myself. Even Jan seems to be missing lately, DSGM's dying. I'm moving away from it myself.

<JamesRant> No updates in ages, locked source, obsolete library used as the core of the system, no way to modify GameWorks and ActionWorks header files, no integrated Nitro loading DESPITE THE FACT that libraries for it have been created and are BEGGING to be used at this point and it's been suggested a HUNDRED times by now, not to mention no .mod support. </JamesRant>

*sadness for not being mentioned :(*

Ah, well. I don't really help that much.
Seriously never posting again, lawlz.
jk
Bobbyloujo
 
Posts: 1295
Joined: December 30th, 2010, 8:40 pm
Location: Uh-merica

Re: My compile error

Postby Foxi4 » May 1st, 2012, 2:43 am

Bobbyloujo wrote:*sadness for not being mentioned :(*

Ah, well. I don't really help that much.

I totally forgot. Of course you're helping man, mentioning everyone just wasn't my point - my point was that at right now DSGM is only attractive to beginners and in some cases it actually teaches bad programming habits and those things need to change in order for anyone to treat this venture seriously.

In fact, lots of the errors that "we" have to resolve in the help sections are errors strictly connected with DSGM's short-commings, not with the coding. It's sort of annoying if you ask me.
Current Projects:

FalloutDS: Postponed until proper libraries are created, 10%
Foxi_Lib: A completely revised version of NitroSprites[FINAL], NitroBackgrounds and NitroText[FINAL], 40%
Foxi4
 
Posts: 1114
Joined: December 31st, 2010, 3:25 am


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron