[Cs-dev] Build failure on windows in develop head
Date | 2014-05-15 00:41 |
From | Michael Gogins |
Subject | [Cs-dev] Build failure on windows in develop head |
Attachments | None 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 GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com |
Date | 2014-05-15 07:38 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Build failure on windows in develop head |
Attachments | None |
Date | 2014-05-15 11:07 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Build failure on windows in develop head |
Attachments | None 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 |
Date | 2014-05-15 14:32 |
From | Steven Yi |
Subject | Re: [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 |
Date | 2014-05-15 15:09 |
From | Steven Yi |
Subject | Re: [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 |
Date | 2014-05-15 15:34 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Build failure on windows in develop head |
Attachments | None None |
I will do that. If the function is part of the CSOUND struct it should be fine. Thanks, Mike ----------------------------------------------------- Michael GoginsIrreducible 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 |