Dev-cpp, Eclipse, geht alles nicht ...

make.exe war in minGW-Ordner.
Bei Eclipse funktioniert es jetzt. Dev-cpp funktioniert immernoch nicht. Aber ich denke Eclipse sollte ausreichen..

Danke dir jedenfalls :)

Edit:
Nun zum SDL, ich habe das Packet mit include eingebunden. In der Konsole kommt dann wieder der alte Fehler:
Code:
g++ -o test.exe test.o 
Info: resolving std::cin  by linking to __imp___ZSt3cin (auto-import)
c:/programme/c++/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
Info: resolving std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage by linking to __imp___ZNSs4_Rep20_S_empty_rep_storageE (auto-import)
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
c:/programme/c++/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
make: *** [test.exe] Error 1
 
Zuletzt bearbeitet:
Zurück