Plz plz plz plzzz help me with this:
screen3.jpg (609.9 KB)
The issue is with a duplicate symbol _x
In the 5 references to the issue, MainMenu.o seems to be the common factor.
And How To Fix That,plz help, i need it!
stackoverflow.com is my favorite source for looking up issues like this. If you cannot find an answer on it, then post a new question (on stackoverflow).
try these and see if they help:
I really appreciate your help
no, IT DID’nt HELP!
BUT THANKS YOUR QUICK REPLY:)
can u or anyone plzplzplz help me again!
and the last link u gave, there is a prob.
i can’t find main.m/h and fmdb.m/h, and if that could help…
plz help me again:)
You have a duplicate symbol called “x” in your code, this means you have defined “x” somewhere (maybe an “int x” or a “float x”, can be anything else too). You are also defining “x” in the other files listed (“MainMenu.cpp” “Utils.cpp” “GameButton.cpp” “Gem.cpp” and “AppDelegate.cpp”).
I would guess that you have defined “int x” (or similar) in a header file (probably MainMenu.h) and this file is included in all the others, hence defining the “x” variable again and again, hence it is a duplicate symbol.
Go check your code and find your “x” definitions. Go learn about “global variables”, it sounds like you have defined “x” globally and not as part of a class definition.
OMg OMG OMG I LOVE U!!!
U HAVE SAVED MY LIFE, ITS WORKING~!