如何用Dev-CPP或VC++编译http://sourceforge.net/projects/cchess
对于Dev-CPP不熟,编译http://sourceforge.net/projects/cchess源代码出错不会修改,请指教
http://sourceforge.net/tracker/index.php?func=detail&aid=705285&group_id=75263&atid=543406
I also have difficulty in compiling the source code via
Dev-CPP 4.9.9.2 on windows.
I have downloaded SDL library and put SDL.lib,SDL_mixer.lib,
SDLmain.lib on the same directory as SDL_demo.dev
the absolute path of SDL_mixer.lib is also updated in
SDL_demo.dev
Now I have the following error:
Compiler: Default compiler
Building Makefile: "D:\Onega\test\cchess\Makefile.win"
Executing make...
make.exe -f "D:\Onega\test\cchess\Makefile.win" all
gcc.exe main.o token.o button.o chess.o combox.o edit.o
font.o game.o map.o obj_list.o pvsp.o rules.o selimg.o
block.o window.o trace.o audio.o -o "cchess.exe"
-L"d:/apps/Dev-Cpp/lib" -mwindows -lwsock32 -lmingw32
-lSDLmain -lSDL -mwindows
"D:/Onega/test/cchess/SDL_mixer.lib" -lobjc
d:\apps\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\
bin\ld.exe:
cannot find -lSDLmain
collect2: ld returned 1 exit status
make.exe: *** [cchess.exe] Error 1
Execution terminated
如果能提供vc++工程就更好了:-)