| Hi Michael
Sorry about not updating the build instructions yet.
Try deleting the Makefiles and running qmake again. The error you're
getting indicates mingw32-make is reading a Makefile from the old
build system.
---
Here's what I do:
First, I run qtenv.bat ...
C:\Qt\2010.02.01\bin\qtenv.bat
Then, for the floats build of QuteCsound ...
del Makefile*
qmake qcs.pro CONFIG+=release
mingw32-make
.
... and for the doubles build ...
del Makefile*
qmake qcs,pro CONFIG+=release CONFIG+=build64
mingw32-make
Additionally, there are 4 directory variables that can be added to the
qmake call for explicitly specifying the location of Csound and
libsndfile files ...
CSOUND_INCLUDE_DIR=path\to\csound\headers
CSOUND_LIBRARY_DIR=path\to\csound\binaries
LIBSNDFILE_INCLUDE_DIR=path\to\libsndfile\headers
LIBSNDFILE_LIBRARY_DIR=path\to\libsndfile\binaries
If it still won't build, please send me the full output from the
mingw32-make call along with the generated Makefiles, and I'll see if
I can figure out what I did wrong.
Cheers,
~ andy.f
On Thu, Apr 29, 2010 at 3:44 PM, wrote:
> I did a fresh checkout and deleted all strc/moc_* and src/ui_* files, and I
> still have the problem below.
>
> Regards,
> Mike
>
> ----- Original Message ----- From: "Andres Cabrera"
> To:
> Sent: Thursday, April 29, 2010 2:32 PM
> Subject: [Csnd] Re: Re: Re: QuteCsound build errors on Windows
>
>
> Hi Michael,
>
> I think the build procedure should not have changed for Windows, but
> probably there are still some intermediate files causing trouble. Do
> you have trouble with a fresh chekout?
>
> Cheers,
> Andrés
>
> On Thu, Apr 29, 2010 at 7:19 PM, wrote:
>>
>> Now I get the error below.
>>
>> The build instructions in SVN are no good. What are the complete working
>> build instructions for Windows with MinGW?
>>
>> Regards,
>> Mike
>>
>> g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE
>> -DQT_LARGEFILE_SUPPORT -DUSE_DOUBLE -DQT_THREAD_SUPPORT -DQT_XML_LIB
>> -DQT_GU
>> I_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN
>> -I"c:\utah\opt\Qt\2010.02.1\qt\include\QtCore"
>> -I"c:\utah\opt\Qt\2010.02.1\qt\include\QtGui" -I
>> "c:\utah\opt\Qt\2010.02.1\qt\include\QtXml"
>> -I"c:\utah\opt\Qt\2010.02.1\qt\include"
>> -I"..\..\home\mkg\csound-mingw-release\H" -I"..\
>> ..\home\mkg\csound-mingw-release\interfaces"
>> -I"..\Mega-Nerd\libsndfile\include"
>> -I"c:\utah\opt\Qt\2009.03\qt\include\QtXml" -I"c:\u
>> tah\opt\Csound-5.11.1\include" -I"..\Mega-Nerd\libsndfile\include"
>> -I"c:\utah\opt\qutecsound\src" -I"c:\utah\opt\Qt\2010.02.1\qt\inc
>> lude\ActiveQt" -I"build\doubles\debug\moc" -I"build\doubles\debug\ui"
>> -I"c:\utah\opt\Qt\2010.02.1\qt\mkspecs\win32-g++" -o build\dou
>> bles\debug\obj\about.o src\about.cpp
>> mingw32-make[1]: *** No rule to make target `src/ui_configdialog.h',
>> needed
>> by `build/doubles/debug/obj/configdialog.o'. Stop.
>> mingw32-make[1]: Leaving directory `D:/utah/opt/qutecsound'
>> mingw32-make: *** [sub-qcs-win32-pro-all] Error 2
>> ----- Original Message ----- From: "Andres Cabrera"
>>
>> To:
>> Sent: Thursday, April 29, 2010 11:52 AM
>> Subject: [Csnd] Re: QuteCsound build errors on Windows
>>
>>
>> Hi Michael,
>>
>> The build system has recently changed, so you may need to manually
>> remove all intermediate files (e.g. the ones starting with "moc_" and
>> "ui_" from the src directory.
>>
>> This should take care of it.
>>
>> Cheers,
>> Andrés
>>
>> On Thu, Apr 29, 2010 at 4:04 PM, wrote:
>>>
>>> What would cause this? (Qt 4.6.2 with Qt's own version of MinGW):
>>>
>>> g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE
>>> -DQT_LARGEFILE_SUPPORT -DUSE_DOUBLE -DQT_THREAD_SUPPORT -DQT_XML_LIB
>>> -DQT_GU
>>> I_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN
>>> -I"c:\utah\opt\Qt\2010.02.1\qt\include\QtCore"
>>> -I"c:\utah\opt\Qt\2010.02.1\qt\include\QtGui" -I
>>> "c:\utah\opt\Qt\2010.02.1\qt\include\QtXml"
>>> -I"c:\utah\opt\Qt\2010.02.1\qt\include"
>>> -I"..\..\home\mkg\csound-mingw-release\H" -I"..\
>>> ..\home\mkg\csound-mingw-release\interfaces"
>>> -I"..\Mega-Nerd\libsndfile\include"
>>> -I"c:\utah\opt\Qt\2009.03\qt\include\QtXml" -I"c:\u
>>> tah\opt\Csound-5.11.1\include" -I"..\Mega-Nerd\libsndfile\include"
>>> -I"c:\utah\opt\qutecsound\src" -I"c:\utah\opt\Qt\2010.02.1\qt\inc
>>> lude\ActiveQt" -I"build\doubles\debug\moc" -I"build\doubles\debug\ui"
>>> -I"c:\utah\opt\Qt\2010.02.1\qt\mkspecs\win32-g++" -o build\dou
>>> bles\debug\obj\configdialog.o src\configdialog.cpp
>>> src\configdialog.cpp: In constructor
>>> 'ConfigDialog::ConfigDialog(qutecsound*, Options*)':
>>> src\configdialog.cpp:72: error: 'toolbarCheckBox' was not declared in
>>> this
>>> scope
>>> src\configdialog.cpp:74: error: 'autoCompleteCheckBox' was not declared
>>> in
>>> this scope
>>> src\configdialog.cpp:82: error: 'oldFormatCheckBox' was not declared in
>>> this
>>> scope
>>> src\configdialog.cpp:83: error: 'openPropertiesCheckBox' was not declared
>>> in
>>> this scope
>>> src\configdialog.cpp:92: error: 'keyRepeatCheckBox' was not declared in
>>> this
>>> scope
>>> src\configdialog.cpp:93: error: 'debugLiveEventsCheckBox' was not
>>> declared
>>> in this scope
>>> src\configdialog.cpp:94: error: 'consoleBufferComboBox' was not declared
>>> in
>>> this scope
>>> src\configdialog.cpp:131: error: 'simultaneousCheckBox' was not declared
>>> in
>>> this scope
>>> src\configdialog.cpp:154: error: 'favoriteLineEdit' was not declared in
>>> this
>>> scope
>>> src\configdialog.cpp:155: error: 'pythonDirLineEdit' was not declared in
>>> this scope
>>> src\configdialog.cpp:156: error: 'logFileLineEdit' was not declared in
>>> this
>>> scope
>>> src\configdialog.cpp:175: error: 'favoriteToolButton' was not declared in
>>> this scope
>>> src\configdialog.cpp:182: error: 'pythonDirToolButton' was not declared
>>> in
>>> this scope
>>> src\configdialog.cpp:183: error: 'logFileToolButton' was not declared in
>>> this scope
>>> src\configdialog.cpp: In member function 'virtual void
>>> ConfigDialog::accept()':
>>> src\configdialog.cpp:233: error: 'toolbarCheckBox' was not declared in
>>> this
>>> scope
>>> src\configdialog.cpp:235: error: 'autoCompleteCheckBox' was not declared
>>> in
>>> this scope
>>> src\configdialog.cpp:242: error: 'oldFormatCheckBox' was not declared in
>>> this scope
>>> src\configdialog.cpp:243: error: 'openPropertiesCheckBox' was not
>>> declared
>>> in this scope
>>> src\configdialog.cpp:247: error: 'keyRepeatCheckBox' was not declared in
>>> this scope
>>> src\configdialog.cpp:248: error: 'debugLiveEventsCheckBox' was not
>>> declared
>>> in this scope
>>> src\configdialog.cpp:249: error: 'consoleBufferComboBox' was not declared
>>> in
>>> this scope
>>> src\configdialog.cpp:278: error: 'simultaneousCheckBox' was not declared
>>> in
>>> this scope
>>> src\configdialog.cpp:295: error: 'favoriteLineEdit' was not declared in
>>> this
>>> scope
>>> src\configdialog.cpp:296: error: 'pythonDirLineEdit' was not declared in
>>> this scope
>>> src\configdialog.cpp:297: error: 'logFileLineEdit' was not declared in
>>> this
>>> scope
>>> src\configdialog.cpp: In member function 'void
>>> ConfigDialog::browseFavorite()':
>>> src\configdialog.cpp:373: error: 'favoriteLineEdit' was not declared in
>>> this
>>> scope
>>> src\configdialog.cpp: In member function 'void
>>> ConfigDialog::browsePythonDir()':
>>> src\configdialog.cpp:415: error: 'pythonDirLineEdit' was not declared in
>>> this scope
>>> src\configdialog.cpp: In member function 'void
>>> ConfigDialog::browseLogFile()':
>>> src\configdialog.cpp:421: error: 'logFileLineEdit' was not declared in
>>> this
>>> scope
>>> mingw32-make[1]: *** [build/doubles/debug/obj/configdialog.o] Error 1
>>> mingw32-make[1]: Leaving directory `D:/utah/opt/qutecsound'
>>> mingw32-make: *** [sub-qcs-win32-pro-all] Error 2
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
>
> --
>
>
> Andrés
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|