Page 1 of 1

I Have a Problem~ (iPhone)

PostPosted: May 15, 2009 @ 5:26am
by binarybard
I copied helloworld project(sample).

so, I get a below error message

----------------------------------------------------
Building target “Simulator” of project “EDGELIB” with configuration “Debug” — (1 error)

duplicate symbol _main in /Project/EDGELIB/Library/Simulator/libedge.a(cevent.o) and /Project/EDGELIB/build/EDGELIB.build/Debug-iphonesimulator/Simulator.build/Objects-normal/i386/main-26D6EFA4.o

cd /Project/EDGELIB
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH
----------------------------------------------------

Image

please help me. What can i do for build process?

What's the problem?

Re: duplicate _main

PostPosted: May 17, 2009 @ 8:10pm
by Planet9Dave

PostPosted: May 19, 2009 @ 11:11am
by edge
Hi,

I think you're using the default source files when creating a new project. Please remove those and replace them with your own code using the EDGELIB framework.

Thanks!

PostPosted: May 21, 2009 @ 2:50am
by binarybard