Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Libartnet on Windows

From wiki.openlighting.org

Revision as of 09:32, 30 June 2009 by Sl1200mk2 (talk | contribs)
Jump to: navigation, search

This HOWTO outlines a method for compiling libartnet on Windows using MinGW.

you'll need msys, mingw and autotools installed.

         o autoconf 
         o automake
         o libtool
         

This is the biggest part of the job.


Download Libartnet

Sources (via git) - this will download latest libartnet version

git clone http://www.nomis52.net/git/libartnet

Build

edit libartnet/configure.in.

add AC_LIBTOOL_WIN32_DLL macro before AC_PROG_LIBTOOL


         o AC_PROG_CC 
         o AC_PROG_INSTALL
         o AC_PROG_LN_S
         o AC_PROG_MAKE_SET
         o AC_LIBTOOL_WIN32_DLL
         o AC_PROG_LIBTOOL


i did this with Bloc-notes because the way the file is recorded is important. you don't want \cr\lf end of lines, you just want \lf. otherwise, you'll get errors like

' is already registered with AC_CONFIG_FILES. ../../lib/autoconf/status.m4:305: AC_CONFIG_FILES is expanded from... configure.in:76: the top level