Jump to content

bluexp

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. But the problem above does not related to win XP, I tried on another PC with Windwos 7 (32bit) and the result is the same: Linking .build/TestProject.exe /cygdrive/c/Users/bluexp/AppData/Local/Temp/ccJJHHFz.ltrans0.ltrans.o:ccJJHHFz. ltrans0.o:(.text+0x2380): multiple definition of `main' /usr/i686-w64-mingw32/sys-root/mingw/lib/../lib/libmingw32.a(lib32_libmingw32_a- crt0_c.o):/usr/src/debug/mingw64-i686-runtime-4.0.6-1/crt/crt0_c.c:17: first def ined here /usr/i686-w64-mingw32/sys-root/mingw/lib/../lib/libmingw32.a(lib32_libmingw32_a- crt0_c.o): In function `main': /usr/src/debug/mingw64-i686-runtime-4.0.6-1/crt/crt0_c.c:18: undefined reference to `WinMain@16' collect2: error: ld returned 1 exit status make: *** [../uGFX/tools/gmake_scripts/compiler_gcc.mk:284: .build/TestProject.e xe] Error 1
  2. I have this same problem and I couldn't use provided toolchain because it is a win64 application and I am running win xp: Linking .build/TestProject.exe /cygdrive/c/DOCUME~1/bluexp/LOCALS~1/Temp/cc4tuJ82.ltrans0.ltrans.o:cc4tuJ82.lt rans0.o:(.text+0x2380): multiple definition of `main' /usr/i686-w64-mingw32/sys-root/mingw/lib/../lib/libmingw32.a(lib32_libmingw32_a- crt0_c.o):/usr/src/debug/mingw64-i686-runtime-4.0.6-1/crt/crt0_c.c:17: first def ined here /usr/i686-w64-mingw32/sys-root/mingw/lib/../lib/libmingw32.a(lib32_libmingw32_a- crt0_c.o): In function `main': /usr/src/debug/mingw64-i686-runtime-4.0.6-1/crt/crt0_c.c:18: undefined reference to `WinMain@16' collect2: error: ld returned 1 exit status make: *** [../uGFX/tools/gmake_scripts/compiler_gcc.mk:284: .build/TestProject.e xe] Error 1
×
×
  • Create New...