[ros-dev] SmartPDF (aka SumatraPDF) in rosapps, linking problems
Klemens Friedl
frik85 at gmail.com
Sun Sep 30 17:43:50 CEST 2007
I have fixed all remaining linking issues EXCEPT one, the '_WinMain at 16' issue.
[LD] output-i386\modules\rosapps\smartpdf\smartpdf.exe
obj-i386\lib\3rdparty\mingw\mingw_main.a(main.o): In function `main':
trunk/reactos/lib/3rdparty/mingw/main.c:73: undefined reference to `_WinMain at 16'
collect2: ld returned 1 exit status
mingw32-make: *** [output-i386\modules\rosapps\smartpdf\smartpdf.exe] Error 1
The main function of SmartPDF/SumatraPDF:
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPTSTR lpCmdLine, int nCmdShow) { ... }
... I have checked some other ros GUI apps like solitaire, which have
the save definition, except "WinAPI" instead of "APIENTRY". Although
using "WinAPI" there doesn't solve the issue.
Fixes for this mingw linking issue are appreciated.
Klemens
More information about the Ros-dev
mailing list