hi have build problem

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

winlap
decaying skeleton
decaying skeleton
Posts: 2
Joined: Mon Sep 27, 2004 1:43 am

hi have build problem

Post by winlap » Mon Sep 27, 2004 1:28 pm

hi all

I build up MQ2Main have 2 error core,
frist : error C2001:newline in Constant ----> file is MQ2Data.cpp
SEC: error C2143:syntax error:missing")"before 'if'

i click this 2 error is ,

pDefault=strtok(NULL,"?);
if (!pDefault)

sorry i very newbie at C++ so pls help me how can change it

thx a lot all

AndyZaft
orc pawn
orc pawn
Posts: 20
Joined: Thu Jun 24, 2004 1:42 pm

Post by AndyZaft » Mon Sep 27, 2004 1:32 pm

Heh, we just had a thread like this abotu exact same error somewhere here. You are using a non-english version of .NET VS right?

http://www.macroquest2.com/phpBB2/viewtopic.php?t=9432

You could ask him if he figured out a way to solve this without editing. Maybe there is some translation problem in the options or something.

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Mon Sep 27, 2004 5:13 pm

Dudes... please search before posting


-j

User avatar
peach
a hill giant
a hill giant
Posts: 156
Joined: Fri Sep 10, 2004 8:20 pm

Post by peach » Mon Sep 27, 2004 6:26 pm

You are using a non-english version of .NET VS right?
what gave it away? :p