[argyllcms] Re: Compiling from source

  • From: Florian Höch <lists+argyllcms@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Wed, 14 Jul 2010 09:23:15 +0200

Hi Martin,

compilation can be done with MinGW and ftjam, which is pretty easy to set up.


Some time ago I've created a small wrapper script to ease the process under Windows a bit (the script is really simple, it just sets up a few environment vars and then calls makeall.bat/install.bat, logging their output).

--- cut below ---
@echo off

REM Change paths as needed
set JAM=C:\ftjam-2.5.2-win32
set MingW=C:\MinGW

REM Do not change below this point
path %JAM%;%MingW%\bin;%PATH%
echo Jam: %JAM%
echo MinGW: %MingW%
echo Starting build process
echo Build logfile: %~dp0makeall.log
echo Please wait...
call makeall.bat > "%~dp0makeall.log" 2>&1
echo ...done.
echo Installing binaries to %~dp0bin
echo Install logfile: %~dp0install.log
echo Please wait...
call install.bat > "%~dp0install.log" 2>&1
echo ...done.
set /p l=View build logfile? (y/n)
if /i "%l%"=="y" start notepad.exe "%~dp0makeall.log"
set /p l=View install logfile? (y/n)
if /i "%l%"=="y" start notepad.exe "%~dp0install.log"
--- cut ---

You can save it as wrapper.bat in the unpacked Argyll CMS source directory and run it from there.


Florian Höch

Other related posts: