wxWidgets 2 Installation Reports |
Date: Fri, 12 Nov 1999 16:25:35 -0500 From: Chris GreenSubject: wxwindows. Organization: Leaping Lizard Software, Inc. (301)-963-8230 FAX (301)-963-9016 I use watcom c 11.0a and also tried 11.0b. Using the supplied make files, I had to do a couple of tweaks: change the one in ZLIB to not -DMSDOS, and fix the wlib command to put spaces between the '+s. change a couple of lines that had ifdef's for watcom in variant.c to not have them. when all compiled built, none of the examples link. They get: Error! E2028: wxFile near * near wxFileInputStream::m_file is an undefined reference Error! E2028: wxFFile near * near wxFFileInputStream::m_file is an undefined reference creating a Windows NT windowed executable file d:\llwork\wxw\lib\wx.lib(d:\llwork\wxw\src\common\wfstream.cpp): undefined symbol wxFile near * near wxFileInputStream::m_file file d:\llwork\wxw\lib\wx.lib(d:\llwork\wxw\src\common\wfstream.cpp): undefined symbol wxFFile near * near wxFFileInputStream::m_file Any ideas? I looked at the def of m_file in the header files and it doesn't appear to be any kind of global symbol at all, but a class field. Weird, huh?
From: "Emile van Raaij"To: wxwin-users@wx.dent.med.uni-muenchen.de Date: Fri, 12 Nov 1999 22:11:54 +0100 Subject: CBuilder4 & wxmsw 2.1.11 -- some patches for compiling it. Hello wx'ers, First, thanks to the developers for the new release! I just downloaded the setup files and tried to compile it with CBuilder 4 (Patch1.zip also applied). I got some compile errors, but applying the changes mentioned below will build a library. Changes for CBuilder4 +++++++++++++++++++++++ (e:\wx2\include\wx\msw\) diff private.h~ private.h 72c72,75 < # define CASTWNDPROC --- > > > typedef long (_stdcall * WndProcCast) (HWND, unsigned int, unsigned int, long); > # define CASTWNDPROC (WndProcCast) (e:\wx2\include\wx\) diff wxchar.h~ wxchar.h 175c175,176 < #elif --- > //#elif > #else (e:\wx2\src\common\) diff strconv.cpp~ strconv.cpp 457,458c457,458 < // return wcslen(psz); Abmiguity error in CBuilder < return std::wcslen(psz); // --- > // return wcslen(psz); Abmiguity error in CBuilder std::.. > return std::wcslen(psz); // we give it std::wcslen(.. (e:\wx2\src\msw\ole\) diff dataobj.cpp~ dataobj.cpp 471c471,472 < size = wcslen((const wchar_t *)pBuf); --- > // size = wcslen((const wchar_t *)pBuf); std::wcslen vs wcslen > size = std::wcslen((const wchar_t *)pBuf); // Furthermore: ============ + Change 'tlink' to 'ilink' where mentioned in makesystem Regards, -Emile