Csound Csound-dev Csound-tekno Search About

[Cs-dev] Build failure on windows in develop head

Date2014-05-15 00:41
FromMichael Gogins
Subject[Cs-dev] Build failure on windows in develop head
AttachmentsNone  None  
[ 77%] Building CXX object InOut/CMakeFiles/widgets.dir/widgets.cpp.obj
c:/Users/mike/csound-csound6-git/InOut/widgets.cpp: In function 'void fl_callbackExecButton(Fl_Button*, void*)':
c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2260:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       char *tok = cs_strtok_r(command, " ", &th);
                                                ^
c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2264:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         while((tok = cs_strtok_r(NULL, " ", &th)) != NULL) {
                                                ^
Linking CXX shared module ../widgets.dll
CMakeFiles/widgets.dir/objects.a(widgets.cpp.obj): In function `fl_callbackExecButton':
c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2260: undefined reference to `cs_strtok_r'
c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2264: undefined reference to `cs_strtok_r'
collect2.exe: error: ld returned 1 exit status
InOut/CMakeFiles/widgets.dir/build.make:144: recipe for target `widgets.dll' failed
make[2]: *** [widgets.dll] Error 1
CMakeFiles/Makefile2:1251: recipe for target `InOut/CMakeFiles/widgets.dir/all' failed
make[1]: *** [InOut/CMakeFiles/widgets.dir/all] Error 2
Makefile:146: recipe for target `all' failed
make: *** [all] Error 2

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

Date2014-05-15 07:38
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Build failure on windows in develop head
AttachmentsNone  

Date2014-05-15 11:07
FromMichael Gogins
SubjectRe: [Cs-dev] Build failure on windows in develop head
AttachmentsNone  None  

No that's what the error means.

On May 15, 2014 2:39 AM, <jpff@cs.bath.ac.uk> wrote:
Seems OK on Linux.   Is it possible to use csound->cs_strtok_r in
InOut/widgets.cpp ?


Quoting Michael Gogins <michael.gogins@gmail.com>:

> [ 77%] Building CXX object InOut/CMakeFiles/widgets.dir/widgets.cpp.obj
> c:/Users/mike/csound-csound6-git/InOut/widgets.cpp: In function 'void
> fl_callbackExecButton(Fl_Button*, void*)':
> c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2260:48: warning:
> deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>        char *tok = cs_strtok_r(command, " ", &th);
>                                                 ^
> c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2264:48: warning:
> deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>          while((tok = cs_strtok_r(NULL, " ", &th)) != NULL) {
>                                                 ^
> Linking CXX shared module ../widgets.dll
> CMakeFiles/widgets.dir/objects.a(widgets.cpp.obj): In function
> `fl_callbackExecButton':
> c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2260: undefined
> reference to `cs_strtok_r'
> c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2264: undefined
> reference to `cs_strtok_r'
> collect2.exe: error: ld returned 1 exit status
> InOut/CMakeFiles/widgets.dir/build.make:144: recipe for target
> `widgets.dll' failed
> make[2]: *** [widgets.dll] Error 1
> CMakeFiles/Makefile2:1251: recipe for target
> `InOut/CMakeFiles/widgets.dir/all' failed
> make[1]: *** [InOut/CMakeFiles/widgets.dir/all] Error 2
> Makefile:146: recipe for target `all' failed
> make: *** [all] Error 2
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com




------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2014-05-15 14:32
FromSteven Yi
SubjectRe: [Cs-dev] Build failure on windows in develop head
I think John is right, the code is using cs_strtok_r directly for the
Windows #ifdef, and not using csound->cs_strtok_r. The Linux area of
code just above it does use csound->cs_strtok_r.



On Thu, May 15, 2014 at 6:07 AM, Michael Gogins
 wrote:
> No that's what the error means.
>
> On May 15, 2014 2:39 AM,  wrote:
>>
>> Seems OK on Linux.   Is it possible to use csound->cs_strtok_r in
>> InOut/widgets.cpp ?
>>
>>
>> Quoting Michael Gogins :
>>
>> > [ 77%] Building CXX object InOut/CMakeFiles/widgets.dir/widgets.cpp.obj
>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp: In function 'void
>> > fl_callbackExecButton(Fl_Button*, void*)':
>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2260:48: warning:
>> > deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>> >        char *tok = cs_strtok_r(command, " ", &th);
>> >                                                 ^
>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2264:48: warning:
>> > deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>> >          while((tok = cs_strtok_r(NULL, " ", &th)) != NULL) {
>> >                                                 ^
>> > Linking CXX shared module ../widgets.dll
>> > CMakeFiles/widgets.dir/objects.a(widgets.cpp.obj): In function
>> > `fl_callbackExecButton':
>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2260: undefined
>> > reference to `cs_strtok_r'
>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2264: undefined
>> > reference to `cs_strtok_r'
>> > collect2.exe: error: ld returned 1 exit status
>> > InOut/CMakeFiles/widgets.dir/build.make:144: recipe for target
>> > `widgets.dll' failed
>> > make[2]: *** [widgets.dll] Error 1
>> > CMakeFiles/Makefile2:1251: recipe for target
>> > `InOut/CMakeFiles/widgets.dir/all' failed
>> > make[1]: *** [InOut/CMakeFiles/widgets.dir/all] Error 2
>> > Makefile:146: recipe for target `all' failed
>> > make: *** [all] Error 2
>> >
>> > -----------------------------------------------------
>> > Michael Gogins
>> > Irreducible Productions
>> > http://michaelgogins.tumblr.com
>> > Michael dot Gogins at gmail dot com
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform
>> available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-05-15 15:09
FromSteven Yi
SubjectRe: [Cs-dev] Build failure on windows in develop head
I was going to try to compile this but found I don't have FLTK
installed on my VM and don't have time to set it up at the moment. I
made a code change though and committed it for the Windows side.

Michael: could you pull and retest?

On Thu, May 15, 2014 at 9:32 AM, Steven Yi  wrote:
> I think John is right, the code is using cs_strtok_r directly for the
> Windows #ifdef, and not using csound->cs_strtok_r. The Linux area of
> code just above it does use csound->cs_strtok_r.
>
>
>
> On Thu, May 15, 2014 at 6:07 AM, Michael Gogins
>  wrote:
>> No that's what the error means.
>>
>> On May 15, 2014 2:39 AM,  wrote:
>>>
>>> Seems OK on Linux.   Is it possible to use csound->cs_strtok_r in
>>> InOut/widgets.cpp ?
>>>
>>>
>>> Quoting Michael Gogins :
>>>
>>> > [ 77%] Building CXX object InOut/CMakeFiles/widgets.dir/widgets.cpp.obj
>>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp: In function 'void
>>> > fl_callbackExecButton(Fl_Button*, void*)':
>>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2260:48: warning:
>>> > deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>>> >        char *tok = cs_strtok_r(command, " ", &th);
>>> >                                                 ^
>>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2264:48: warning:
>>> > deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>>> >          while((tok = cs_strtok_r(NULL, " ", &th)) != NULL) {
>>> >                                                 ^
>>> > Linking CXX shared module ../widgets.dll
>>> > CMakeFiles/widgets.dir/objects.a(widgets.cpp.obj): In function
>>> > `fl_callbackExecButton':
>>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2260: undefined
>>> > reference to `cs_strtok_r'
>>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2264: undefined
>>> > reference to `cs_strtok_r'
>>> > collect2.exe: error: ld returned 1 exit status
>>> > InOut/CMakeFiles/widgets.dir/build.make:144: recipe for target
>>> > `widgets.dll' failed
>>> > make[2]: *** [widgets.dll] Error 1
>>> > CMakeFiles/Makefile2:1251: recipe for target
>>> > `InOut/CMakeFiles/widgets.dir/all' failed
>>> > make[1]: *** [InOut/CMakeFiles/widgets.dir/all] Error 2
>>> > Makefile:146: recipe for target `all' failed
>>> > make: *** [all] Error 2
>>> >
>>> > -----------------------------------------------------
>>> > Michael Gogins
>>> > Irreducible Productions
>>> > http://michaelgogins.tumblr.com
>>> > Michael dot Gogins at gmail dot com
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>> Get unparalleled scalability from the best Selenium testing platform
>>> available
>>> Simple to use. Nothing to install. Get started now for free."
>>> http://p.sf.net/sfu/SauceLabs
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform
>> available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-05-15 15:34
FromMichael Gogins
SubjectRe: [Cs-dev] Build failure on windows in develop head
AttachmentsNone  None  
I will do that. If the function is part of the CSOUND struct it should be fine.

Thanks,
Mike


-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, May 15, 2014 at 10:09 AM, Steven Yi <stevenyi@gmail.com> wrote:
I was going to try to compile this but found I don't have FLTK
installed on my VM and don't have time to set it up at the moment. I
made a code change though and committed it for the Windows side.

Michael: could you pull and retest?

On Thu, May 15, 2014 at 9:32 AM, Steven Yi <stevenyi@gmail.com> wrote:
> I think John is right, the code is using cs_strtok_r directly for the
> Windows #ifdef, and not using csound->cs_strtok_r. The Linux area of
> code just above it does use csound->cs_strtok_r.
>
>
>
> On Thu, May 15, 2014 at 6:07 AM, Michael Gogins
> <michael.gogins@gmail.com> wrote:
>> No that's what the error means.
>>
>> On May 15, 2014 2:39 AM, <jpff@cs.bath.ac.uk> wrote:
>>>
>>> Seems OK on Linux.   Is it possible to use csound->cs_strtok_r in
>>> InOut/widgets.cpp ?
>>>
>>>
>>> Quoting Michael Gogins <michael.gogins@gmail.com>:
>>>
>>> > [ 77%] Building CXX object InOut/CMakeFiles/widgets.dir/widgets.cpp.obj
>>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp: In function 'void
>>> > fl_callbackExecButton(Fl_Button*, void*)':
>>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2260:48: warning:
>>> > deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>>> >        char *tok = cs_strtok_r(command, " ", &th);
>>> >                                                 ^
>>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2264:48: warning:
>>> > deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>>> >          while((tok = cs_strtok_r(NULL, " ", &th)) != NULL) {
>>> >                                                 ^
>>> > Linking CXX shared module ../widgets.dll
>>> > CMakeFiles/widgets.dir/objects.a(widgets.cpp.obj): In function
>>> > `fl_callbackExecButton':
>>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2260: undefined
>>> > reference to `cs_strtok_r'
>>> > c:/Users/mike/csound-csound6-git/InOut/widgets.cpp:2264: undefined
>>> > reference to `cs_strtok_r'
>>> > collect2.exe: error: ld returned 1 exit status
>>> > InOut/CMakeFiles/widgets.dir/build.make:144: recipe for target
>>> > `widgets.dll' failed
>>> > make[2]: *** [widgets.dll] Error 1
>>> > CMakeFiles/Makefile2:1251: recipe for target
>>> > `InOut/CMakeFiles/widgets.dir/all' failed
>>> > make[1]: *** [InOut/CMakeFiles/widgets.dir/all] Error 2
>>> > Makefile:146: recipe for target `all' failed
>>> > make: *** [all] Error 2
>>> >
>>> > -----------------------------------------------------
>>> > Michael Gogins
>>> > Irreducible Productions
>>> > http://michaelgogins.tumblr.com
>>> > Michael dot Gogins at gmail dot com
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>> Get unparalleled scalability from the best Selenium testing platform
>>> available
>>> Simple to use. Nothing to install. Get started now for free."
>>> http://p.sf.net/sfu/SauceLabs
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform
>> available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel