Csound Csound-dev Csound-tekno Search About

[Csnd] build quteCsound on windows...

Date2009-09-10 13:08
FromRory Walsh
Subject[Csnd] build quteCsound on windows...
Any ideas on how to proceed? I get the following error:

C:\MyDocuments\SourceCode\quteCsound\trunk\qutecsound\src>make
make -f Makefile.Debug
make[1]: Entering directory `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsou
nd/src'
Makefile.Debug:8: *** missing separator.  Stop.
make[1]: Leaving directory `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsoun
d/src'
make: *** [debug] Error 2

Just so I'm sure, the build environment for windows is set up to use
the GNU compiler and not some other compiler right? It just seems that
the makefile that's created with qmake generates a borland like
makefile, should I pass some options to qmake when running it so that
it knows to generate a mingw makefile?

Rory.


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-09-10 13:13
FromMichael Gogins
Subject[Csnd] Re: build quteCsound on windows...
See csound-build.tex in Csound CVS for instructions that work.

Hope this helps,
Mike

On 9/10/09, Rory Walsh  wrote:
> Any ideas on how to proceed? I get the following error:
>
> C:\MyDocuments\SourceCode\quteCsound\trunk\qutecsound\src>make
> make -f Makefile.Debug
> make[1]: Entering directory
> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsou
> nd/src'
> Makefile.Debug:8: *** missing separator.  Stop.
> make[1]: Leaving directory
> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsoun
> d/src'
> make: *** [debug] Error 2
>
> Just so I'm sure, the build environment for windows is set up to use
> the GNU compiler and not some other compiler right? It just seems that
> the makefile that's created with qmake generates a borland like
> makefile, should I pass some options to qmake when running it so that
> it knows to generate a mingw makefile?
>
> Rory.
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>

Date2009-09-10 13:30
FromAndres Cabrera
Subject[Csnd] Re: build quteCsound on windows...
Hi,

I seem to recall you need to use the command line from the Qt
applications menu. Using an ordinary command line or the mingw shell
doesn't work.

Cheers,
Andrés

On Thu, Sep 10, 2009 at 7:08 AM, Rory Walsh  wrote:
> Any ideas on how to proceed? I get the following error:
>
> C:\MyDocuments\SourceCode\quteCsound\trunk\qutecsound\src>make
> make -f Makefile.Debug
> make[1]: Entering directory `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsou
> nd/src'
> Makefile.Debug:8: *** missing separator.  Stop.
> make[1]: Leaving directory `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsoun
> d/src'
> make: *** [debug] Error 2
>
> Just so I'm sure, the build environment for windows is set up to use
> the GNU compiler and not some other compiler right? It just seems that
> the makefile that's created with qmake generates a borland like
> makefile, should I pass some options to qmake when running it so that
> it knows to generate a mingw makefile?
>
> Rory.
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-09-10 14:10
FromRory Walsh
Subject[Csnd] Re: Re: build quteCsound on windows...
Thanks Mike. I had a look at that link and I've just tried it. I run
the following commands:

qmake "CONFIG += build32"
INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\H
INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\interfaces
INCLUDEPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
LIBPATH+=C:\MyDocuments\SourceCode\Csound5\csound5
LIBPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17

and then

g++ -enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows
-o bin\qutecsound.exe object_script.qutecsound.Release
-L"C:\MyDocuments\SourceCode\Csound5\csound5"
-L"C:\MyDocuments\SourceCode\libsndfile-1_0_17"
-L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmaind release\qutecsound_res.o
-lcsnd -lcsound32 -lsndfile-1 -lQtXml4 -lQtGui4 -lQtCore4

which is hacked from teh command line you provide in your text. The
problem that now arises is with object_script.qutecsound.Release, teh
compiler can't find it, what is it? Any further suggestions?



2009/9/10 Michael Gogins :
> See csound-build.tex in Csound CVS for instructions that work.
>
> Hope this helps,
> Mike
>
> On 9/10/09, Rory Walsh  wrote:
>> Any ideas on how to proceed? I get the following error:
>>
>> C:\MyDocuments\SourceCode\quteCsound\trunk\qutecsound\src>make
>> make -f Makefile.Debug
>> make[1]: Entering directory
>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsou
>> nd/src'
>> Makefile.Debug:8: *** missing separator.  Stop.
>> make[1]: Leaving directory
>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsoun
>> d/src'
>> make: *** [debug] Error 2
>>
>> Just so I'm sure, the build environment for windows is set up to use
>> the GNU compiler and not some other compiler right? It just seems that
>> the makefile that's created with qmake generates a borland like
>> makefile, should I pass some options to qmake when running it so that
>> it knows to generate a mingw makefile?
>>
>> Rory.
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-09-16 14:52
FromRory Walsh
Subject[Csnd] Re: Re: build quteCsound on windows...
Still no joy with this, how do other people build quteCsound on
windows? I tried using QtCreator but that also leads to problems, it
can't seem to run make. When trying Mike's suggested command line the
compiler complains:

g++: object_script.qutecsound.Release: No such file or directory
g++: release\qutecsound_res.o: No such file or directory

Rory.



2009/9/10 Rory Walsh :
> Thanks Mike. I had a look at that link and I've just tried it. I run
> the following commands:
>
> qmake "CONFIG += build32"
> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\H
> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\interfaces
> INCLUDEPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
> LIBPATH+=C:\MyDocuments\SourceCode\Csound5\csound5
> LIBPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
>
> and then
>
> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
> -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows
> -o bin\qutecsound.exe object_script.qutecsound.Release
> -L"C:\MyDocuments\SourceCode\Csound5\csound5"
> -L"C:\MyDocuments\SourceCode\libsndfile-1_0_17"
> -L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmaind release\qutecsound_res.o
> -lcsnd -lcsound32 -lsndfile-1 -lQtXml4 -lQtGui4 -lQtCore4
>
> which is hacked from teh command line you provide in your text. The
> problem that now arises is with object_script.qutecsound.Release, teh
> compiler can't find it, what is it? Any further suggestions?
>
>
>
> 2009/9/10 Michael Gogins :
>> See csound-build.tex in Csound CVS for instructions that work.
>>
>> Hope this helps,
>> Mike
>>
>> On 9/10/09, Rory Walsh  wrote:
>>> Any ideas on how to proceed? I get the following error:
>>>
>>> C:\MyDocuments\SourceCode\quteCsound\trunk\qutecsound\src>make
>>> make -f Makefile.Debug
>>> make[1]: Entering directory
>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsou
>>> nd/src'
>>> Makefile.Debug:8: *** missing separator.  Stop.
>>> make[1]: Leaving directory
>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsoun
>>> d/src'
>>> make: *** [debug] Error 2
>>>
>>> Just so I'm sure, the build environment for windows is set up to use
>>> the GNU compiler and not some other compiler right? It just seems that
>>> the makefile that's created with qmake generates a borland like
>>> makefile, should I pass some options to qmake when running it so that
>>> it knows to generate a mingw makefile?
>>>
>>> Rory.
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-09-17 13:58
FromAndy Fillebrown
Subject[Csnd] Re: Re: Re: build quteCsound on windows...


Try deleting the *.pro.user files and building via QtCreator again.  Those files contain machine dependant paths and environment variables and shouldn't really be included in the source tree.

Cheers,
~ andy.f



----- Original Message -----
From: "Rory Walsh" <rorywalsh@ear.ie>
To: csound@lists.bath.ac.uk
Sent: Wednesday, September 16, 2009 9:52:33 AM (GMT-0500) America/New_York
Subject: [Csnd] Re: Re: build quteCsound on windows...

Still no joy with this, how do other people build quteCsound on
windows? I tried using QtCreator but that also leads to problems, it
can't seem to run make. When trying Mike's suggested command line the
compiler complains:

g++: object_script.qutecsound.Release: No such file or directory
g++: release\qutecsound_res.o: No such file or directory

Rory.



2009/9/10 Rory Walsh <rorywalsh@ear.ie>:
> Thanks Mike. I had a look at that link and I've just tried it. I run
> the following commands:
>
> qmake "CONFIG += build32"
> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\H
> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\interfaces
> INCLUDEPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
> LIBPATH+=C:\MyDocuments\SourceCode\Csound5\csound5
> LIBPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
>
> and then
>
> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
> -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows
> -o bin\qutecsound.exe object_script.qutecsound.Release
> -L"C:\MyDocuments\SourceCode\Csound5\csound5"
> -L"C:\MyDocuments\SourceCode\libsndfile-1_0_17"
> -L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmaind release\qutecsound_res.o
> -lcsnd -lcsound32 -lsndfile-1 -lQtXml4 -lQtGui4 -lQtCore4
>
> which is hacked from teh command line you provide in your text. The
> problem that now arises is with object_script.qutecsound.Release, teh
> compiler can't find it, what is it? Any further suggestions?
>
>
>
> 2009/9/10 Michael Gogins <michael.gogins@gmail.com>:
>> See csound-build.tex in Csound CVS for instructions that work.
>>
>> Hope this helps,
>> Mike
>>
>> On 9/10/09, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> Any ideas on how to proceed? I get the following error:
>>>
>>> C:\MyDocuments\SourceCode\quteCsound\trunk\qutecsound\src>make
>>> make -f Makefile.Debug
>>> make[1]: Entering directory
>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsou
>>> nd/src'
>>> Makefile.Debug:8: *** missing separator.  Stop.
>>> make[1]: Leaving directory
>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsoun
>>> d/src'
>>> make: *** [debug] Error 2
>>>
>>> Just so I'm sure, the build environment for windows is set up to use
>>> the GNU compiler and not some other compiler right? It just seems that
>>> the makefile that's created with qmake generates a borland like
>>> makefile, should I pass some options to qmake when running it so that
>>> it knows to generate a mingw makefile?
>>>
>>> Rory.
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-09-17 14:14
FromRory Walsh
Subject[Csnd] Re: Re: Re: Re: build quteCsound on windows...
Thanks Andy. I tried that but still no joy, here's what teh compiler
output gives me:

Running build steps for project qutecsound...
Starting: C:/Qt/2009.03/qt/bin/qmake.exe
C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/qutecsound.pro
-spec win32-borland -r
Reading C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/src/src.pro
Project MESSAGE: Building for float (32- bit) csound.
Project MESSAGE: For doubles use qmake "CONFIG += build64"
Project MESSAGE: Building for float (32- bit) csound.
Project MESSAGE: For doubles use qmake "CONFIG += build64"
Project MESSAGE: Building for float (32- bit) csound.
Project MESSAGE: For doubles use qmake "CONFIG += build64"
Exited with code 0.
Starting: C:/MinGW/bin/make.exe -w
make: Entering directory `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
cd src\
C:/MinGW/bin/make -f Makefile
make: Leaving directory `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
The filename, directory name, or volume label syntax is incorrect.
make: *** [sub-src-make_default] Error 1
Exited with code 2.
Error while building project qutecsound
When executing build step 'Make'


Any other ideas?

2009/9/17 Andy Fillebrown :
>
>
> Try deleting the *.pro.user files and building via QtCreator again.  Those
> files contain machine dependant paths and environment variables and
> shouldn't really be included in the source tree.
>
> Cheers,
> ~ andy.f
>
>
>
> ----- Original Message -----
> From: "Rory Walsh" 
> To: csound@lists.bath.ac.uk
> Sent: Wednesday, September 16, 2009 9:52:33 AM (GMT-0500) America/New_York
> Subject: [Csnd] Re: Re: build quteCsound on windows...
>
> Still no joy with this, how do other people build quteCsound on
> windows? I tried using QtCreator but that also leads to problems, it
> can't seem to run make. When trying Mike's suggested command line the
> compiler complains:
>
> g++: object_script.qutecsound.Release: No such file or directory
> g++: release\qutecsound_res.o: No such file or directory
>
> Rory.
>
>
>
> 2009/9/10 Rory Walsh :
>> Thanks Mike. I had a look at that link and I've just tried it. I run
>> the following commands:
>>
>> qmake "CONFIG += build32"
>> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\H
>> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\interfaces
>> INCLUDEPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
>> LIBPATH+=C:\MyDocuments\SourceCode\Csound5\csound5
>> LIBPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
>>
>> and then
>>
>> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
>> -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows
>> -o bin\qutecsound.exe object_script.qutecsound.Release
>> -L"C:\MyDocuments\SourceCode\Csound5\csound5"
>> -L"C:\MyDocuments\SourceCode\libsndfile-1_0_17"
>> -L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmaind release\qutecsound_res.o
>> -lcsnd -lcsound32 -lsndfile-1 -lQtXml4 -lQtGui4 -lQtCore4
>>
>> which is hacked from teh command line you provide in your text. The
>> problem that now arises is with object_script.qutecsound.Release, teh
>> compiler can't find it, what is it? Any further suggestions?
>>
>>
>>
>> 2009/9/10 Michael Gogins :
>>> See csound-build.tex in Csound CVS for instructions that work.
>>>
>>> Hope this helps,
>>> Mike
>>>
>>> On 9/10/09, Rory Walsh  wrote:
>>>> Any ideas on how to proceed? I get the following error:
>>>>
>>>> C:\MyDocuments\SourceCode\quteCsound\trunk\qutecsound\src>make
>>>> make -f Makefile.Debug
>>>> make[1]: Entering directory
>>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsou
>>>> nd/src'
>>>> Makefile.Debug:8: *** missing separator.  Stop.
>>>> make[1]: Leaving directory
>>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsoun
>>>> d/src'
>>>> make: *** [debug] Error 2
>>>>
>>>> Just so I'm sure, the build environment for windows is set up to use
>>>> the GNU compiler and not some other compiler right? It just seems that
>>>> the makefile that's created with qmake generates a borland like
>>>> makefile, should I pass some options to qmake when running it so that
>>>> it knows to generate a mingw makefile?
>>>>
>>>> Rory.
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-09-17 14:25
FromAlan Fitch
Subject[Csnd] Re: Re: Re: Re: Re: build quteCsound on windows...
Rory Walsh wrote:
> Thanks Andy. I tried that but still no joy, here's what teh compiler
> output gives me:
> 
> Running build steps for project qutecsound...
> Starting: C:/Qt/2009.03/qt/bin/qmake.exe
> C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/qutecsound.pro
> -spec win32-borland -r
> Reading C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/src/src.pro
> Project MESSAGE: Building for float (32- bit) csound.
> Project MESSAGE: For doubles use qmake "CONFIG += build64"
> Project MESSAGE: Building for float (32- bit) csound.
> Project MESSAGE: For doubles use qmake "CONFIG += build64"
> Project MESSAGE: Building for float (32- bit) csound.
> Project MESSAGE: For doubles use qmake "CONFIG += build64"
> Exited with code 0.
> Starting: C:/MinGW/bin/make.exe -w
> make: Entering directory `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
> cd src\
> C:/MinGW/bin/make -f Makefile
> make: Leaving directory `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
> The filename, directory name, or volume label syntax is incorrect.
> make: *** [sub-src-make_default] Error 1
> Exited with code 2.
> Error while building project qutecsound
> When executing build step 'Make'
> 
> 
> Any other ideas?

Is it a problem with space characters in the path? I.e. "My Documents" 
vs "MyDocuments"?

Try putting the source code in a folder with no spaces (just guessing as 
  usual!)

Alan

Date2009-09-17 14:37
FromRory Walsh
Subject[Csnd] Re: Re: Re: Re: Re: Re: build quteCsound on windows...
I don't mind the guessing. Guessing got me this far. I don't have any
spaces in my paths. First thing I do when I get a new windows machine
is change 'My Documents' to 'MyDocuments'! It's a top tip of mine...

2009/9/17 Alan Fitch :
> Rory Walsh wrote:
>>
>> Thanks Andy. I tried that but still no joy, here's what teh compiler
>> output gives me:
>>
>> Running build steps for project qutecsound...
>> Starting: C:/Qt/2009.03/qt/bin/qmake.exe
>> C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/qutecsound.pro
>> -spec win32-borland -r
>> Reading C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/src/src.pro
>> Project MESSAGE: Building for float (32- bit) csound.
>> Project MESSAGE: For doubles use qmake "CONFIG += build64"
>> Project MESSAGE: Building for float (32- bit) csound.
>> Project MESSAGE: For doubles use qmake "CONFIG += build64"
>> Project MESSAGE: Building for float (32- bit) csound.
>> Project MESSAGE: For doubles use qmake "CONFIG += build64"
>> Exited with code 0.
>> Starting: C:/MinGW/bin/make.exe -w
>> make: Entering directory
>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
>> cd src\
>> C:/MinGW/bin/make -f Makefile
>> make: Leaving directory
>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
>> The filename, directory name, or volume label syntax is incorrect.
>> make: *** [sub-src-make_default] Error 1
>> Exited with code 2.
>> Error while building project qutecsound
>> When executing build step 'Make'
>>
>>
>> Any other ideas?
>
> Is it a problem with space characters in the path? I.e. "My Documents" vs
> "MyDocuments"?
>
> Try putting the source code in a folder with no spaces (just guessing as
>  usual!)
>
> Alan
> --
> Alan Fitch
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-09-18 01:41
FromAndy Fillebrown
Subject[Csnd] Re: Re: Re: Re: Re: build quteCsound on windows...

The first thing that jumps out is the qmake.exe line showing "win32-borland" for the -spec argument, meaning qmake is creating makefiles for borland, not mingw.  It should be "win32-g++" if you want mingw makefiles.  Did you build Qt from source or did you download a binary package?

~ andy.f



----- Original Message -----
From: "Rory Walsh" <rorywalsh@ear.ie>
To: csound@lists.bath.ac.uk
Sent: Thursday, September 17, 2009 9:14:45 AM (GMT-0500) America/New_York
Subject: [Csnd] Re: Re: Re: Re: build quteCsound on windows...

Thanks Andy. I tried that but still no joy, here's what teh compiler
output gives me:

Running build steps for project qutecsound...
Starting: C:/Qt/2009.03/qt/bin/qmake.exe
C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/qutecsound.pro
-spec win32-borland -r
Reading C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/src/src.pro
Project MESSAGE: Building for float (32- bit) csound.
Project MESSAGE: For doubles use qmake "CONFIG += build64"
Project MESSAGE: Building for float (32- bit) csound.
Project MESSAGE: For doubles use qmake "CONFIG += build64"
Project MESSAGE: Building for float (32- bit) csound.
Project MESSAGE: For doubles use qmake "CONFIG += build64"
Exited with code 0.
Starting: C:/MinGW/bin/make.exe -w
make: Entering directory `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
cd src\
C:/MinGW/bin/make -f Makefile
make: Leaving directory `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
The filename, directory name, or volume label syntax is incorrect.
make: *** [sub-src-make_default] Error 1
Exited with code 2.
Error while building project qutecsound
When executing build step 'Make'


Any other ideas?

2009/9/17 Andy Fillebrown <andy@audiosculptures.com>:
>
>
> Try deleting the *.pro.user files and building via QtCreator again.  Those
> files contain machine dependant paths and environment variables and
> shouldn't really be included in the source tree.
>
> Cheers,
> ~ andy.f
>
>
>
> ----- Original Message -----
> From: "Rory Walsh" <rorywalsh@ear.ie>
> To: csound@lists.bath.ac.uk
> Sent: Wednesday, September 16, 2009 9:52:33 AM (GMT-0500) America/New_York
> Subject: [Csnd] Re: Re: build quteCsound on windows...
>
> Still no joy with this, how do other people build quteCsound on
> windows? I tried using QtCreator but that also leads to problems, it
> can't seem to run make. When trying Mike's suggested command line the
> compiler complains:
>
> g++: object_script.qutecsound.Release: No such file or directory
> g++: release\qutecsound_res.o: No such file or directory
>
> Rory.
>
>
>
> 2009/9/10 Rory Walsh <rorywalsh@ear.ie>:
>> Thanks Mike. I had a look at that link and I've just tried it. I run
>> the following commands:
>>
>> qmake "CONFIG += build32"
>> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\H
>> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\interfaces
>> INCLUDEPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
>> LIBPATH+=C:\MyDocuments\SourceCode\Csound5\csound5
>> LIBPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
>>
>> and then
>>
>> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
>> -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows
>> -o bin\qutecsound.exe object_script.qutecsound.Release
>> -L"C:\MyDocuments\SourceCode\Csound5\csound5"
>> -L"C:\MyDocuments\SourceCode\libsndfile-1_0_17"
>> -L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmaind release\qutecsound_res.o
>> -lcsnd -lcsound32 -lsndfile-1 -lQtXml4 -lQtGui4 -lQtCore4
>>
>> which is hacked from teh command line you provide in your text. The
>> problem that now arises is with object_script.qutecsound.Release, teh
>> compiler can't find it, what is it? Any further suggestions?
>>
>>
>>
>> 2009/9/10 Michael Gogins <michael.gogins@gmail.com>:
>>> See csound-build.tex in Csound CVS for instructions that work.
>>>
>>> Hope this helps,
>>> Mike
>>>
>>> On 9/10/09, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>> Any ideas on how to proceed? I get the following error:
>>>>
>>>> C:\MyDocuments\SourceCode\quteCsound\trunk\qutecsound\src>make
>>>> make -f Makefile.Debug
>>>> make[1]: Entering directory
>>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsou
>>>> nd/src'
>>>> Makefile.Debug:8: *** missing separator.  Stop.
>>>> make[1]: Leaving directory
>>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsoun
>>>> d/src'
>>>> make: *** [debug] Error 2
>>>>
>>>> Just so I'm sure, the build environment for windows is set up to use
>>>> the GNU compiler and not some other compiler right? It just seems that
>>>> the makefile that's created with qmake generates a borland like
>>>> makefile, should I pass some options to qmake when running it so that
>>>> it knows to generate a mingw makefile?
>>>>
>>>> Rory.
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-09-21 12:07
FromRory Walsh
Subject[Csnd] Re: Re: Re: Re: Re: Re: build quteCsound on windows...
Sorry it's taken so long to get back to you Andy, I didn't build Qt, I
just downloaded the binary. Any ideas on how to get qmake to generate
mingw make files?

2009/9/18 Andy Fillebrown :
>
> The first thing that jumps out is the qmake.exe line showing "win32-borland"
> for the -spec argument, meaning qmake is creating makefiles for borland, not
> mingw.  It should be "win32-g++" if you want mingw makefiles.  Did you build
> Qt from source or did you download a binary package?
>
> ~ andy.f
>
>
>
> ----- Original Message -----
> From: "Rory Walsh" 
> To: csound@lists.bath.ac.uk
> Sent: Thursday, September 17, 2009 9:14:45 AM (GMT-0500) America/New_York
> Subject: [Csnd] Re: Re: Re: Re: build quteCsound on windows...
>
> Thanks Andy. I tried that but still no joy, here's what teh compiler
> output gives me:
>
> Running build steps for project qutecsound...
> Starting: C:/Qt/2009.03/qt/bin/qmake.exe
> C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/qutecsound.pro
> -spec win32-borland -r
> Reading C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/src/src.pro
> Project MESSAGE: Building for float (32- bit) csound.
> Project MESSAGE: For doubles use qmake "CONFIG += build64"
> Project MESSAGE: Building for float (32- bit) csound.
> Project MESSAGE: For doubles use qmake "CONFIG += build64"
> Project MESSAGE: Building for float (32- bit) csound.
> Project MESSAGE: For doubles use qmake "CONFIG += build64"
> Exited with code 0.
> Starting: C:/MinGW/bin/make.exe -w
> make: Entering directory
> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
> cd src\
> C:/MinGW/bin/make -f Makefile
> make: Leaving directory
> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
> The filename, directory name, or volume label syntax is incorrect.
> make: *** [sub-src-make_default] Error 1
> Exited with code 2.
> Error while building project qutecsound
> When executing build step 'Make'
>
>
> Any other ideas?
>
> 2009/9/17 Andy Fillebrown :
>>
>>
>> Try deleting the *.pro.user files and building via QtCreator again.  Those
>> files contain machine dependant paths and environment variables and
>> shouldn't really be included in the source tree.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> ----- Original Message -----
>> From: "Rory Walsh" 
>> To: csound@lists.bath.ac.uk
>> Sent: Wednesday, September 16, 2009 9:52:33 AM (GMT-0500) America/New_York
>> Subject: [Csnd] Re: Re: build quteCsound on windows...
>>
>> Still no joy with this, how do other people build quteCsound on
>> windows? I tried using QtCreator but that also leads to problems, it
>> can't seem to run make. When trying Mike's suggested command line the
>> compiler complains:
>>
>> g++: object_script.qutecsound.Release: No such file or directory
>> g++: release\qutecsound_res.o: No such file or directory
>>
>> Rory.
>>
>>
>>
>> 2009/9/10 Rory Walsh :
>>> Thanks Mike. I had a look at that link and I've just tried it. I run
>>> the following commands:
>>>
>>> qmake "CONFIG += build32"
>>> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\H
>>> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\interfaces
>>> INCLUDEPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
>>> LIBPATH+=C:\MyDocuments\SourceCode\Csound5\csound5
>>> LIBPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
>>>
>>> and then
>>>
>>> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
>>> -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows
>>> -o bin\qutecsound.exe object_script.qutecsound.Release
>>> -L"C:\MyDocuments\SourceCode\Csound5\csound5"
>>> -L"C:\MyDocuments\SourceCode\libsndfile-1_0_17"
>>> -L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmaind release\qutecsound_res.o
>>> -lcsnd -lcsound32 -lsndfile-1 -lQtXml4 -lQtGui4 -lQtCore4
>>>
>>> which is hacked from teh command line you provide in your text. The
>>> problem that now arises is with object_script.qutecsound.Release, teh
>>> compiler can't find it, what is it? Any further suggestions?
>>>
>>>
>>>
>>> 2009/9/10 Michael Gogins :
>>>> See csound-build.tex in Csound CVS for instructions that work.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> On 9/10/09, Rory Walsh  wrote:
>>>>> Any ideas on how to proceed? I get the following error:
>>>>>
>>>>> C:\MyDocuments\SourceCode\quteCsound\trunk\qutecsound\src>make
>>>>> make -f Makefile.Debug
>>>>> make[1]: Entering directory
>>>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsou
>>>>> nd/src'
>>>>> Makefile.Debug:8: *** missing separator.  Stop.
>>>>> make[1]: Leaving directory
>>>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsoun
>>>>> d/src'
>>>>> make: *** [debug] Error 2
>>>>>
>>>>> Just so I'm sure, the build environment for windows is set up to use
>>>>> the GNU compiler and not some other compiler right? It just seems that
>>>>> the makefile that's created with qmake generates a borland like
>>>>> makefile, should I pass some options to qmake when running it so that
>>>>> it knows to generate a mingw makefile?
>>>>>
>>>>> Rory.
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-09-21 12:32
FromAndy Fillebrown
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: build quteCsound on windows...

No problem Rory,

The QMAKESPEC environment variable controls which type of makefile qmake produces.  It may be set incorrectly on the system level, or maybe in <sdk-root>/bin/qtenv.bat.  If you're using QtCreator check the environment variables under Projects->Build Settings->Debug->Build Environment and Release->Build Environment.  Those settings are stored in the *.pro.user files which are only saved back out when the project is closed (manually or on QtCreator exit) or by doing a File->Save All ...afaik there's no other way to save the *.pro.user file but you shouldn't run into any trouble unless QtCreator crashes before exiting.

~ andy.f



----- Original Message -----
From: "Rory Walsh" <rorywalsh@ear.ie>
To: csound@lists.bath.ac.uk
Sent: Monday, September 21, 2009 7:07:31 AM (GMT-0500) America/New_York
Subject: [Csnd] Re: Re: Re: Re: Re: Re: build quteCsound on windows...

Sorry it's taken so long to get back to you Andy, I didn't build Qt, I
just downloaded the binary. Any ideas on how to get qmake to generate
mingw make files?

2009/9/18 Andy Fillebrown <andy@audiosculptures.com>:
>
> The first thing that jumps out is the qmake.exe line showing "win32-borland"
> for the -spec argument, meaning qmake is creating makefiles for borland, not
> mingw.  It should be "win32-g++" if you want mingw makefiles.  Did you build
> Qt from source or did you download a binary package?
>
> ~ andy.f
>
>
>
> ----- Original Message -----
> From: "Rory Walsh" <rorywalsh@ear.ie>
> To: csound@lists.bath.ac.uk
> Sent: Thursday, September 17, 2009 9:14:45 AM (GMT-0500) America/New_York
> Subject: [Csnd] Re: Re: Re: Re: build quteCsound on windows...
>
> Thanks Andy. I tried that but still no joy, here's what teh compiler
> output gives me:
>
> Running build steps for project qutecsound...
> Starting: C:/Qt/2009.03/qt/bin/qmake.exe
> C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/qutecsound.pro
> -spec win32-borland -r
> Reading C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound/src/src.pro
> Project MESSAGE: Building for float (32- bit) csound.
> Project MESSAGE: For doubles use qmake "CONFIG += build64"
> Project MESSAGE: Building for float (32- bit) csound.
> Project MESSAGE: For doubles use qmake "CONFIG += build64"
> Project MESSAGE: Building for float (32- bit) csound.
> Project MESSAGE: For doubles use qmake "CONFIG += build64"
> Exited with code 0.
> Starting: C:/MinGW/bin/make.exe -w
> make: Entering directory
> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
> cd src\
> C:/MinGW/bin/make -f Makefile
> make: Leaving directory
> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsound'
> The filename, directory name, or volume label syntax is incorrect.
> make: *** [sub-src-make_default] Error 1
> Exited with code 2.
> Error while building project qutecsound
> When executing build step 'Make'
>
>
> Any other ideas?
>
> 2009/9/17 Andy Fillebrown <andy@audiosculptures.com>:
>>
>>
>> Try deleting the *.pro.user files and building via QtCreator again.  Those
>> files contain machine dependant paths and environment variables and
>> shouldn't really be included in the source tree.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> ----- Original Message -----
>> From: "Rory Walsh" <rorywalsh@ear.ie>
>> To: csound@lists.bath.ac.uk
>> Sent: Wednesday, September 16, 2009 9:52:33 AM (GMT-0500) America/New_York
>> Subject: [Csnd] Re: Re: build quteCsound on windows...
>>
>> Still no joy with this, how do other people build quteCsound on
>> windows? I tried using QtCreator but that also leads to problems, it
>> can't seem to run make. When trying Mike's suggested command line the
>> compiler complains:
>>
>> g++: object_script.qutecsound.Release: No such file or directory
>> g++: release\qutecsound_res.o: No such file or directory
>>
>> Rory.
>>
>>
>>
>> 2009/9/10 Rory Walsh <rorywalsh@ear.ie>:
>>> Thanks Mike. I had a look at that link and I've just tried it. I run
>>> the following commands:
>>>
>>> qmake "CONFIG += build32"
>>> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\H
>>> INCLUDEPATH+=C:\MyDocuments\SourceCode\Csound5\csound5\interfaces
>>> INCLUDEPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
>>> LIBPATH+=C:\MyDocuments\SourceCode\Csound5\csound5
>>> LIBPATH+=C:\MyDocuments\SourceCode\libsndfile-1_0_17
>>>
>>> and then
>>>
>>> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
>>> -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows
>>> -o bin\qutecsound.exe object_script.qutecsound.Release
>>> -L"C:\MyDocuments\SourceCode\Csound5\csound5"
>>> -L"C:\MyDocuments\SourceCode\libsndfile-1_0_17"
>>> -L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmaind release\qutecsound_res.o
>>> -lcsnd -lcsound32 -lsndfile-1 -lQtXml4 -lQtGui4 -lQtCore4
>>>
>>> which is hacked from teh command line you provide in your text. The
>>> problem that now arises is with object_script.qutecsound.Release, teh
>>> compiler can't find it, what is it? Any further suggestions?
>>>
>>>
>>>
>>> 2009/9/10 Michael Gogins <michael.gogins@gmail.com>:
>>>> See csound-build.tex in Csound CVS for instructions that work.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> On 9/10/09, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>>> Any ideas on how to proceed? I get the following error:
>>>>>
>>>>> C:\MyDocuments\SourceCode\quteCsound\trunk\qutecsound\src>make
>>>>> make -f Makefile.Debug
>>>>> make[1]: Entering directory
>>>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsou
>>>>> nd/src'
>>>>> Makefile.Debug:8: *** missing separator.  Stop.
>>>>> make[1]: Leaving directory
>>>>> `C:/MyDocuments/SourceCode/quteCsound/trunk/qutecsoun
>>>>> d/src'
>>>>> make: *** [debug] Error 2
>>>>>
>>>>> Just so I'm sure, the build environment for windows is set up to use
>>>>> the GNU compiler and not some other compiler right? It just seems that
>>>>> the makefile that's created with qmake generates a borland like
>>>>> makefile, should I pass some options to qmake when running it so that
>>>>> it knows to generate a mingw makefile?
>>>>>
>>>>> Rory.
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"