Electronic Music mailing list archives

Previous Message: Re: KNOPPIX Live CD and csoundgbs
Next Message: Re: Mac, MIDI & FLTK

From: ramsdell ()
Date: Dec 1, 2004
Subject: Re: Updates to csound4
"Michael Gogins"  writes:

> Perhaps _WINDOWS is not defined by the build system, but WINDOWS
> is. If _WINDOWS is not defined _beginthread will not be called. It
> is supposed to launch the fltkRun function in a separate thread of
> execution. I would check all the macros and make sure they are
> consistent -- I wouldn't be surprised if they were rather
> inconsistent.

A grep of the csound module says that _WINDOWS is defined only by IDEs
that use either *.dsp or *.plg files.  Nether the Makefiles generated
by the GNU Build System or the makefiles that match csound/Makefile.*
define it.

John

$ grep _WINDOWS * csound/*
consound.dsp:# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /D "USE_CSOUND_YIELD" /D "_WINDOWS" /D "HAVE_FLTK" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "MSVC" /D "WINDOWS" /D "RTAUDIO" /D "SFIRCAM" /D "PIPES" /D "USE_FLTK" /D "HAVE_ITOA" /YX /FD /c
consound.plg:/nologo /MD /W3 /GX /O2 /I "." /D "USE_CSOUND_YIELD" /D "_WINDOWS" /D "HAVE_FLTK" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "MSVC" /D "WINDOWS" /D "RTAUDIO" /D "SFIRCAM" /D "PIPES" /D "USE_FLTK" /D "HAVE_ITOA" /Fp"Release/consound.pch" /YX /Fo"Release/" /Fd"Release/" /FD /c 
csound/hetro.c:#define _WINDOWS_
csound/pvfileio.h:#ifdef _WINDOWS
csound/pvfileio.h:#ifndef _WINDOWS
csound/sdif.h:#elif defined(_WIN32) || defined(_WINDOWS)
csound/sdif.h:    #ifndef _WINDOWS_
csound/sdif.h:#if defined(_WIN32) || defined(_WINDOWS)
csound/widgets.cpp:#ifdef _WINDOWS
csound/winsound.dsp:# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FR /YX /c
csound/winsound.dsp:# ADD BASE CPP /nologo /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /c
$ 
--  [EMAIL REMOVED]               (or to http://www.cs.bath.ac.uk/cgi-bin/csound ) [EMAIL REMOVED] 

+Re: Updates to csound4 ramsdell (12/01/04)

Previous Message: Re: KNOPPIX Live CD and csoundgbs
Next Message: Re: Mac, MIDI & FLTK