[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] Compiling FS - getting errors
From: |
BCA |
Subject: |
Re: [fluid-dev] Compiling FS - getting errors |
Date: |
Sat, 27 Oct 2012 12:35:54 +0200 |
Hi GrahamG,
thank you very much...
"I had to create my own definition of 'bzero'
#define bzero...;"
which line to put it in?
Biggest thanks
Bernd.
----- Folgende Nachricht wurde empfangen -----
Absender: Graham Goode
Empfänger: FluidSynth mailing list
Zeit: 2012-10-27, 12:05:51
Betreff: Re: [fluid-dev] Compiling FS - getting errors
>Hi,
>
>@Antoine, PortAudio is for Linux, OS-X and Windows... and I have built
>fluidsynth for Windows with PortAudio (ASIO/WDM-KS/WASAPI) in the
>past.
>
>@Bernd,
>
>I had to create my own definition of 'bzero'
>
>#define bzero(b,len) (memset((b), '\0', (len)), (void) 0);
>
>And I think that this is the unistd.h that I used:
>
>-------------------------
>
>#ifndef _UNISTD_H
>#define _UNISTD_H 1
>
>/* This file intended to serve as a drop-in replacement for
> * unistd.h on Windows
> * Please add functionality as neeeded
> */
>
>#include
>#include
>#include /* getopt from: http://www.pwilson.net/sample.html. */
>#include /* for getpid() and the exec..() family */
>
>#define srandom srand
>#define random rand
>
>/* Values for the second argument to access.
> These may be OR'd together. */
>#define R_OK 4 /* Test for read permission. */
>#define W_OK 2 /* Test for write permission. */
>//#define X_OK 1 /* execute permission - unsupported in windows*/
>#define F_OK 0 /* Test for existence. */
>
>#define access _access
>#define ftruncate _chsize
>
>#define ssize_t int
>
>#define STDIN_FILENO 0
>#define STDOUT_FILENO 1
>#define STDERR_FILENO 2
>/* should be in some equivalent to */
>typedef __int8 int8_t;
>typedef __int16 int16_t;
>typedef __int32 int32_t;
>typedef __int64 int64_t;
>typedef unsigned __int8 uint8_t;
>typedef unsigned __int16 uint16_t;
>typedef unsigned __int32 uint32_t;
>typedef unsigned __int64 uint64_t;
>
>#endif /* unistd.h */
>
>_____________________
>
>Hope that helps,
>GrahamG
>
>_______________________________________________
>fluid-dev mailing list
>address@hidden
>https://lists.nongnu.org/mailman/listinfo/fluid-dev
- [fluid-dev] Compiling FS - getting errors, BCA, 2012/10/27
- Re: [fluid-dev] Compiling FS - getting errors, Antoine Schmitt, 2012/10/27
- Re: [fluid-dev] Compiling FS - getting errors, Graham Goode, 2012/10/27
- Re: [fluid-dev] Compiling FS - getting errors, Antoine Schmitt, 2012/10/27
- Re: [fluid-dev] Compiling FS - getting errors,
BCA <=
- Re: [fluid-dev] Compiling FS - getting errors, Graham Goode, 2012/10/27
- Re: [fluid-dev] Compiling FS - getting errors, BCA, 2012/10/27
- Re: [fluid-dev] Compiling FS - getting errors, Dan Dietzer, 2012/10/27
- Re: [fluid-dev] Compiling FS - getting errors, BCA, 2012/10/27
- Re: [fluid-dev] Compiling FS - getting errors, Dan Dietzer, 2012/10/27
- Re: [fluid-dev] Compiling FS - getting errors, BCA, 2012/10/28
- Re: [fluid-dev] Compiling FS - getting errors, David Henningsson, 2012/10/27