re cwchessboard (Carlos Wood)



Hi
 
I have a query about compiling cwchessboard widget (using tstcpp.cc - using DevC++ /Gtk).
I think Carlos Wood is responsible for this but I do not have contact details for him.
 
This is the error log I get when compiling:
>>>>>>>>>>
Compiler: Default compiler
Building Makefile: "C:\CHESS\RD chess gui\cwchessboard (cwidget www.xs4all.nl)\Newtestcwc\Makefile.win"
Executing  make...
make.exe -f "C:\CHESS\RD chess gui\cwchessboard (cwidget www.xs4all.nl)\Newtestcwc\Makefile.win" all
g++.exe  -o "RDcwc.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/Lib/libz.a" -L"C:/Dev-Cpp/Lib/libglib-2.0.dll.a" -L"C:/Dev-Cpp/Lib/libgtk.dll.a" -L"C:/Dev-Cpp/Lib/libgdk.dll.a" -mwindows C:/Dev-Cpp/Lib/libz.a C:/Dev-Cpp/Lib/libglib-2.0.dll.a C:/Dev-Cpp/Lib/libgtk.dll.a C:/Dev-Cpp/Lib/libgdk.dll.a
 
C:/Dev-Cpp/lib/libmingw32.a(main.o)(.text+0x106):main.c: undefined reference to `WinMain 16'
collect2: ld returned 1 exit status
 
make.exe: *** [RDcwc.exe] Error 1
 
Execution terminated
 
>>>>>>>>>>>>>
 
I am new to widget/C?C++ programming. Can someone please help me fix this so I can compile & run this chess widget as an exe file?
I look forward to a reply, many thanks
 
Richard


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]