Installation report
OS | : Windows95a |
Compiler | : Watcom 11.0b (IDE) |
wxWindows | : 2.0.1 |
Makefiles
First i tried to use the makefiles but wmake fails with the
following error message:
Watcom Make Version 11.0 Copyright by Sybase, Inc., and its subsidiaries, 1988, 1997. All rights reserved. Watcom is a trademark of Sybase, Inc. Error(E61): Unexpected End of File Error(E02): Make execution terminatedSo i dropped the makefiles and created a project.
IDE Project 'wxwin'
I tried to get information out of the makefiles but they're cryptic
and i'm not good in reading makefiles.
I simply add all files in the given directories to my project and
set it's ouput directory to %wxwin%\lib
.
This result in an error with conflicting file names:
%wxwin%\src\msw\data.cpp
%wxwin%\src\xpm\data.cpp
Now i create a new directory structure under %wxwin%
:
%wxwin% +-- watcom +-- png +-- wx +-- xpm +-- zlibI put the project file in
%wxwin%\watcom
and every
target file to where it belongs.
All targets
$(%wxwin)\include
' to the compiler switches
(Include directories).
__WXMSW__ WIN32 __WIN32__ __WIN95__ __WINDOWS__
' to the
compiler switches (Macro definitions).
Target 'wx.lib
'
Because i added every file in the directorys
%wxwin% +-- src +-- common +-- generic +-- msw +-- oleto the
wx.lib
target i see some doubled files:
%wxwin%\src\generic\imaglist.cpp
%wxwin%\src\msw\imaglist.cpp (newer)
%wxwin%\src\generic\listctrl.cpp
%wxwin%\src\msw\listctrl.cpp (newer)
%wxwin%\src\generic\notebook.cpp
%wxwin%\src\msw\notebook.cpp (newer)
%wxwin%\src\generic\treectrl.cpp
%wxwin%\src\msw\treectrl.cpp (newer)
I added only the newer files.
File %wxwin%\src\generic\dirdlgg.cpp
conflicts
with %wxwin%\src\msw\dirdlg.cpp
because both define the
class wxDirDialog()
.
I added %wxwin%\src\msw\dirdlg.cpp
.
The following files doesn't belong to the target:
%wxwin%\src\generic\colrdlgg.cpp
%wxwin%\src\generic\fontdlgg.cpp
%wxwin%\src\generic\helpext.cpp
%wxwin%\src\generic\helpxlp.cpp
%wxwin%\src\generic\msgdlgg.cpp
%wxwin%\src\generic\printps.cpp
%wxwin%\src\generic\prntdlgg.cpp
%wxwin%\src\generic\thing.cpp
File %wxwin%\src\common\doslex.c
doesn't belong to the
target because it's included by
%wxwin%\src\common\dosyacc.c
.
As Julian Smart recommended i added the definition of
USE_DEFINE
to the C Compiler switches.
Changed the line 1481 in file %wxwin%\src\generic\dcpsg.cpp
because i get an 'ambiguous' error for bitmap().
/* more code */ /* blit into a bitmap */ // Changed by Markus Neifer 04/28/1999: // wxBitmap bitmap( fwidth, fheight ); wxBitmap bitmap( (int)fwidth, (int)fheight ); wxMemoryDC memDC; memDC.SelectObject(bitmap); /* TODO: Blit transparently? */ memDC.Blit(0, 0, fwidth, fheight, source, xsrc, ysrc, rop); memDC.SelectObject(wxNullBitmap); /* more code */
Changed the line 41 in file %wxwin%\src\msw\pnghand.cpp
to match my directory structure.
/* more #include */ extern "C" { // #include "png.h" changed by Markus Neifer 04/28/1999 #include "../../src/png/png.h" } /* more #define */
Added support for precompilation in line 12 file
%wxwin%\src\generic\helphtml.cpp
because the precompiled
header is re-created two times without it.
/* more #define */ // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" /* more #include */
Target 'png.lib
'
example.c
doesn't belong to the target.
Target 'zlib.lib
'
maketree.c
doesn't belong to the target.
Miscellaneous
It's a good idea to move files that doesn't belong to the target into
another directory.
Compilation time: about 1 hour (P5-133, 48MB RAM).
All product names mentioned on this page and on linked pages are the trademarks or registered trademarks of their respective owners.
HTML encoding by
Markus Neifer
First released: 05/03/1999
Last updated: 07/07/1999