NoMachine Support

Your questions answered

Knowledge Base

Searching in: Articles & FAQs
Filter the search results
Applies to:
Last update:
Searching in: Articles & FAQs
ID: AR05H00564
Applies to: NoMachine Software
Added on: 2010-05-04
Last update: 2015-05-27
Build instructions for the NoMachine ESD (Esound) Win32 Port

Although it should be possible to build with Visual C++ 2005 and SDK Platform for Windows XP or later, the following instructions refer to compiling the NoMachine ESD portable version with MingW under a Cygwin environment.

Build instructions

1) Download the latest libaudiofile library source tar.gz package from the Web, for example at: http://www.68k.org/~michael/audiofile/

2) Extract the libaudiofile archive andcompile libaudiofile by running the following commands in the libaudiofile root directory:

$ export CFLAGS="-mno-cygwin"

$ export CPPFLAGS="-mno-cygwin"

$ export LDFLAGS="-mno-cygwin"

$ ./configure --disable-shared --build=i686-pc-mingw32 --host=i686-pc-mingw32

$make

3) Download EsounD portable for native Win32 from the NoMachine web site at:
https://www.nomachine.com/NoMachine-OSS-ports

4) Compile EsounD portable for native Win32 by running the commands below in the EsounD root directory. Please note that the audiofile version should be aligned with the version of libaudiofile you have effectively compiled before.

$ export CFLAGS="-I./vs2005 -mno-cygwin"

$ export CPPFLAGS="-I./vs2005 -mno-cygwin"

$ export LDFLAGS="-mno-cygwin"

$ export LIBS="-lws2_32 -lWinmm"

$ export AUDIOFILE_CFLAGS="-I../audiofile-0.2.7/libaudiofile"

$ export AUDIOFILE_LIBS="..audiofile-0.2.7/libaudiofile/.libs/libaudiofile.a"

$ ./configure --enable-debugging --disable-shared  --build=i686-pc-mingw32 --host=i686-pc-mingw32

$ cat vs2005/config.h.tail >> config.h

$ make