Edit wxWidgets\include\wx\msw\setup0.h file as outlined in wxWidgets documentation, copy it to wxWidgets\include\wx\setup.h
Ensure that the WXWIN environment variable points to the wxWidgets folder.
Ensure that the TurboExplorer C++ Bin folder is in the path, preferably at the front so that it is searched first.
Use command prompt,
make -f makefile.bcc BUILD=release MONOLITHIC=1 USE_OPENGL=1 USE_XRC=1 USE_ODBC=1 RUNTIME_LIBS=static USE_RTTI=0 USE_EXCEPTIONS=1 2> error_base.txt
Note that this is for a monolithic release static build, adjust these as required. I do this twice - release and debug
Once the libraries have been compiled correctly, it is time to:
Fire up TurboExplorer C++
File - New - Other...
Ensure that the three Check Boxes are NOT selected (Use VCL, Multi Threaded, Console Application)
Ensure that the Specify Project Source check box is selected, click on the ... button and browse to the folder containing the source file you wish to use. Select the source file, Click on Open, then OK.
File - Save Project As...
Choose a suitable name, Turbo C++ doesnt seen to like having the project name the same as that of the included source file, so I choose to name it <samplename>Proj.bdsproj
Project - Options...
In the following Dialog, select C++ compiler, Paths and Defines
Click the Edit button next to the Include Search Path edit box,
In the Path dialog, click the ... button
Browse to the wxWidgets\lib\bcc_lib\mswd folder, then click on OK, then on Add
repeat to add the wxWidgets\include folder
The list of include directories should now be:(Assuming the notebook sample)
C:\wxWidgets\lib\bcc_lib\mswd // this would obviously be C:\wxWidgets\lib\bcc_lib\msw for a release build
(there may be ..\..\include instead of C:\wxWidgets\include)
In the Conditional defines edit box add the text
_DEBUG;__WXMSW__;__WXDEBUG__ (for release it would be just __WXMSW__)
Select C++ compiler, Warnings in the listbox, You may choose to enable "W8057 Parameter is never used", it is turned off by default, but this is up to you.
Select C++ compiler, Compiling
enable "enums always integer sized"
Select C++ compiler, data Alignment
select 8 byte data alignment
Select C++ compiler, Register Variables
select Register Variables
Select C++ compiler, C++ Compatibility
Uncheck Zero-length empty base class
Uncheck Zero=length empty class member functions
Project - Add to Project...
Select "Files of Type" Library Files (*.lib), browse to the wxWidgets\lib\bcc_lib folder, select the required libraries, then click on Open
Wait forever while TurboExplorer adds the libraries to the project. there seems to be an error in Turbo C++ where it opens one of the library files in the IDE, simply close this pane and proceed.
Repeat the above for the resource files should one exist, and also any added source files.
Save your project
File - Save All
Choose Project - Build projectname (Shift+F9)
Then try Running (F9)
I believe that this is everything.
Next is making a template for creating your own programs.
I hope that this is sufficient.