C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lBattle.lib
I dont't really understand your question, I'speak a little bit english only...
I tried to rename the battle.lib to battle.a but the error is always the same
cannot find -lBattle.a
any other ideas ??
thank you
There is a program in the bin folder called libimp or something like that to convert libs to a files, I don't know how / if it works.Almost :) reimp
There is a program in the bin folder called libimp or something like that to convert libs to a files, I don't know how / if it works.
reimp is a tool to convert Microsoft's new-style (short) import libraries to import libraries for the Win32 ports of GNU tools (MinGW, Cygwin)
reimp reads an MS import library and writes all imports to the corresponding .DEF file(s) that it feeds to dlltool that creates the import library. reimp also attempts to write to the current directory every static member that is found.
But I don't have any reimp in the bin directory of mingw !!
Do I have to download something more ?
I find that link
http://jrfonseca.planetaclix.pt/projects/gnu-win32/software/reimp/
and this one but I don't know what to do !
http://sourceforge.net/project/showfiles.php?group_id=2435&release_id=115457
> reimp battle.lib (that creat a battle.obj)
> ar rcs battle.obj battle.a (This packages the library)