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.

Difference between revisions of "Libartnet on Windows"

From wiki.openlighting.org

Jump to: navigation, search
m
Line 18: Line 18:
 
== Build ==
 
== Build ==
  
edit libartnet/configure.in
+
edit libartnet/configure.in.
(i did this with Bloc-notes because the way the file is recorded is important.)
 
  
 
add AC_LIBTOOL_WIN32_DLL macro before AC_PROG_LIBTOOL
 
add AC_LIBTOOL_WIN32_DLL macro before AC_PROG_LIBTOOL
  
# Checks for programs.
+
 
AC_PROG_CC
+
          o AC_PROG_CC  
AC_PROG_INSTALL
+
          o AC_PROG_INSTALL
AC_PROG_LN_S
+
          o AC_PROG_LN_S
AC_PROG_MAKE_SET
+
          o AC_PROG_MAKE_SET
''AC_LIBTOOL_WIN32_DLL''
+
          o ''AC_LIBTOOL_WIN32_DLL''
AC_PROG_LIBTOOL
+
          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

Revision as of 09:32, 30 June 2009

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