Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » why "___main: duplicate" ?
why "___main: duplicate" ? [message #12723] |
Wed, 14 November 2007 11:45 |
alex100
Messages: 118 Registered: November 2007
|
Experienced Member |
|
|
Hi all,
I am new to U++ and I think it is a great TOOL!!
So I am trying my first programs (examples) e for several times when linking the folowing erro appear:
___main: duplicate
-> used: libmingw32.a:gccmain.o:1
-> discarded: libgcc.a:__main.o:1
1 undefined symbol(s):
Why compiling MyUppApp downloaded from the forum it also have this error! see output:
----- CtrlLib ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (1 / 9)
----- CtrlCore ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (2 / 9)
----- RichText ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (3 / 9)
----- Draw ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (4 / 9)
----- Core ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (5 / 9)
----- plugin/bmp ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (6 / 9)
----- plugin\z ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (7 / 9)
----- plugin\png ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (8 / 9)
----- MyUppApp ( GUI MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (9 / 9)
Linking...
(option '-O 2' ignored)
___main: duplicate
-> used: libmingw32.a:gccmain.o:1
-> discarded: libgcc.a:__main.o:1
1 undefined symbol(s):
__imp__PathAppendA@8 (referenced from c:\upp\out\myuppapp\mingw.debug_full.gui.main\$blitz.o:1; ___tcf_0; AboutI
mg::Get(char const *); AboutImg::Get(char const*); AboutImg::Find(Upp::String const &); AboutImg::Find(Upp::
String const&); ...)
linking aborted due to fatal errors
collect2: ld returned 1 exit status
There were errors. (0:00.81)
Thank you!
Alex
|
|
|
Goto Forum:
Current Time: Sat Jun 08 08:31:36 CEST 2024
Total time taken to generate the page: 0.02132 seconds
|