R3 Host Kit Addendum - r3n/rebol-wiki GitHub Wiki
A place for developers to add notes related to the R3 Host-Kit.
You can use four ~ to add your name and date to comments (optional).
- Depending on your toolchain, the makefile in the Linux A107 Host Kit may need a fix for A107 to build, as first noted by Andreas: add -ldl to LIBS in line 16.
- The makefile needs a minor fix for A104 to build, as first noted by Adrian. See bug#1643 for a fix to work around this.
- Andreas has the Linux host-kit build working now using the libr3-a102.so. -Carl 13:49, 30 July 2010 (EDT)
- You can download Cyphre's codeblocks project file (Windows) here: http://www.rebol.cz/r3/host-kit/r3.cbp
- Adrian has contributed a solution file for Visual Studio 2010: http://www.rebol.cz/r3/host-kit/r3-host-kit-msbuild-a102.zip
- Download the MinGW 5.1.6 installer and install as admin (preferably to c:\mingw, but see the note below)
- Add mingw\bin to the windows command path
- Download the R3 A102 Host Kit for Windows and unpack
- Open a normal Windows command prompt, change to the unpacked host kit directory
- Copy mingw32-make.exe from mingw\bin to the host kit directory as make.exe
- Run make
- Test the r3.exe built by running r3 go.r
- Download the Code::Blocks 10.05 MingW installer and install
- Download the R3 A102 Host Kit for Windows and unpack
- Download Cyphre's project file and store it where you unpacked the host kit
- Start the Code::Blocks IDE and open the r3.cbp file (File > Open Project)
- Download Visual Studio 2010 solution and unarchive it where you unpacked the host kit (should be sibling to the older VS build directories. All artifacts of this build will be produced under this directory (except for some generated C files).
- Start up Visual Studio 2010 and open the solution file r3.sln. This solution contains four projects - r3 (the full R3 including Draw - for R3 GUI you'll need Henrik's external source at this time), r3-core, and two other projects that the first two depend on to create some needed C source files using a Rebol executable. The C file generation depends on Rebol 3 (a pre-compiled version of a107 is included in this archive, parallel to the build files) being on the path with the name rebol.exe. If you already have R3 on the path, this local copy of Rebol 3 can be deleted.
- In the Solution Explorer, you can right click on the r3, r3-core (and other) projects to invoke the build or clean targets (there's currently an issue in that only the first of the generated graphics related includes is cleaned by the clean command). Note that the generated files are the only artifacts outside of the directory containing the MS build files which are deleted by the clean target. These will be re-generated if their Rebol source dependencies change, including the the generator source itself).