| The #ifdef approach is correct.
scons -c should work, don't know why it didn't.
My main question is, why use Visual C++ 6.0 when MinGW is now a better compiler, is free, and works with csound5 and scons out of the box?
There is COM, DirectX, and openGL support available for MinGW.
I'm glad to see you're taking an interest in Csound 5!
Best,
Mike
-----Original Message-----
From: Gabriel Maldonado
Sent: Nov 8, 2005 10:45 AM
To: csound@lists.bath.ac.uk
Subject: [Csnd] Csound5 and scons
Hi all (especially Michael G.),
I've just succesfully built Csound5 (the version shown at csounds.com,
in the csound5-2005-08-27.zip archive, maybe an outdated version), with
scons and MSVC 6, by following the suggestions provided by Victor L.
Since I'm completely new to scons, and I don't intend to dedicate too
much time in learning it (actually I don't intend to learn it at all, at
least for the moment, since I intend to use a Visual Studio project for
my personal version of Csound5), I'm asking the following things:
1) how to make a complete cleanup of .exe and .obj files (I tried scons
-c and scons --clean, but didn't work).
2) I was forced to rename "Program('csound',
['frontends/csound/csound_main.c'])" to "Program('csoundGab',
['frontends/csound/csound_main.c'])" otherwise name conflicts with
csound.lib will prevent a successful build. I was also forced to modify
the "dirent.h" file by adding the following directives:
#ifdef HAVE_DIRENT_H //gab
#undef HAVE_DIRENT_H
#endif
// ...... all the original file code here.....
#ifndef HAVE_DIRENT_H //gab
#define HAVE_DIRENT_H
#endif
otherwise the DIR idientifier would not be recognized. Is there a
cleaner way to build it?
3) Does it already exist a Visual Studio - MSVC 6 project for Csound5?
Is it updated?
Thanks in advance
Gabriel
--
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
|