The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
Development Assistance
/
An error while compiling
«
1
»
An error while compiling
Clankrocks
10th Nov 2010
Member
0
Permalink
Hello just me again sorry...
Anyway just wondering why won't it let me compile. If i don't add a new substance it goes but, if i do add a substance it says:
1>------ Build started: Project: Clankrocks mod, Configuration: Debug Win32 ------
1>Build started 10/11/2010 6:53:34 PM.
1>InitializeBuildStatus:
1> Creating "Debug\Clankrocks mod.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> powder.c
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(262): error C2059: syntax error : '{'
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(262): error C2059: syntax error : ','
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(341): fatal error C1903: unable to recover from previous error(s); stopping compilation
1> main.c
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(262): error C2059: syntax error : '{'
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(262): error C2059: syntax error : ','
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(341): fatal error C1903: unable to recover from previous error(s); stopping compilation
1> interface.c
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(262): error C2059: syntax error : '{'
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(262): error C2059: syntax error : ','
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(341): fatal error C1903: unable to recover from previous error(s); stopping compilation
1> graphics.c
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(262): error C2059: syntax error : '{'
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(262): error C2059: syntax error : ','
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(341): fatal error C1903: unable to recover from previous error(s); stopping compilation
1> air.c
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(262): error C2059: syntax error : '{'
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(262): error C2059: syntax error : ','
1>c:\users\jacky-chan\documents\games\powder toy\source code\powder.h(341): fatal error C1903: unable to recover from previous error(s); stopping compilation
1> Generating Code...
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:03.20
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Can Anyone please help me with this error it will be very helpful
Cheers Clankrocks
Vanadium
10th Nov 2010
Member
0
Permalink
It looks like on line 262 you've missed out a { and a , eg: {"FIRE", looks like "FIRE"
jakester12345
10th Nov 2010
Member
0
Permalink
You are missing a { on line 262 in powder.h to start with. Fix that then try again and post what comes up then :D
cheers, Jakester12345
jakester12345
10th Nov 2010
Member
0
Permalink
Aha vanadium we posted at the same time xD
Clankrocks
10th Nov 2010
Member
0
Permalink
no on line 262 i put both brackets in {} Sozz
jakester12345
10th Nov 2010
Member
0
Permalink
Lol does it compile now?
Clankrocks
10th Nov 2010
Member
0
Permalink
don't worry i fixed it a missing comma , on line 261 close but
Clankrocks
10th Nov 2010
Member
0
Permalink
lol got to check before i put on the web
Clankrocks
10th Nov 2010
Member
0
Permalink
thanks 4 your help guys
«
1
»