| Probably you must use the original workspace/project, because a lot of
preprocessor definitions are included there:
NDEBUG,WIN32,_CONSOLE,SFIRCAM,PIPES,MACROS,RTAUDIO,MSVC,GAB_RT,STRICT,GAB_EAX
and you have to link it using the following libraries:
winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib dsound.lib
eaxguid.lib
(You have to download the EAX SDK to compile DirectCsound using EAX,
else try to remove the GAB_EAX definition from project). I'm using MSVC
5.0, but your 6.0 should be backward compatible.
Good luck!
--
Gabriel Maldonado
http://web.tiscalinet.it/G-Maldonado
Chris Graham wrote:
>
> I'm trying to build AXCsound with Visual C++ 6.0, and I keep getting errors
> like the following:
>
> Midisend.c
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(25) : error
> C2061: syntax error : identifier 'RPC_NS_HANDLE'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(26) : error
> C2061: syntax error : identifier 'ProposedHandle'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(26) : error
> C2059: syntax error : ';'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(27) : error
> C2143: syntax error : missing '{' before '*'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(29) : error
> C2059: syntax error : '}'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcnsip.h(34) : error
> C2061: syntax error : identifier 'RPC_ENTRY'
>
> The same happens in Rtaudio.c. Everything else compiles cleanly.
>
> I'm compiling a freshly downloaded version of AXCsound using the included
> workspace, which opens cleanly.
> I also have tried building DirectCsound 3.0 using a workspace I constructed,
> but with the same result.
>
> It's a syntax error deep in the Visual Studio libraries, so I'm not sure
> what the problem could be - possibly an incorrectly set compile-time option,
> but I can't find what it could be.
>
> Anyone else experienced this, or have any suggestions?
>
> Thanks.
>
> - Chris Graham
>
> --
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
-- |