Csound Csound-dev Csound-tekno Search About

[Csnd-dev] compilation issue, msvc

Date2018-10-19 10:16
FromOeyvind Brandtsegg
Subject[Csnd-dev] compilation issue, msvc
Hi,

I seem to have problems compiling, probably my own fault, but would appreciate a hint as to how to solve it. 

I usually run this to compile
'''
@echo off
powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
cmake --build csound-vs --config RelWithDebInfo
'''

Yesterday, I accidentally ran the "build.bat" (in csound/msvc in the repo), that also download dependencies etc.
'''
@echo off
powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
cmake --build csound-vs --config RelWithDebInfo
Since I already had dependencies installed and all working, I terminated the bat file. I am on a slow connection, so I was not able to wait for its completion.
'''
Could this have messed up my settings or system somehow?
Currently, I can not build, stopping here:

'''
Build FAILED.

"D:\Source\csound\msvc\csound-vs\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Source\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj" (default target)
 (31) ->
(ClCompile target) ->
  d:\source\csound\opcodes\fluidopcodes\fluidopcodes.cpp(43): fatal error C1083
: Cannot open include file: 'fluidsynth.h': No such file or directory [D:\Sourc
e\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj]
'''

I do have fluidsynth.h in csound/Opcodes/fluidOpcodes
Any hints appreciated.

best
Oeyvind

--

Date2018-10-19 10:30
FromRory Walsh
SubjectRe: [Csnd-dev] compilation issue, msvc
I'm just trying to build myself right now as it happens. I had to resolve a proxy issue, but it seems to be going Ok now. I know that some opcodes have been moved to their own repos lately, I wonder if that might be an issue? Either way, I think you disable to building of these opcodes in the generateProject.ps1 file. At the bottom of that file you can set your cmake build options. Perhaps you can try disabling the fluidOpcodes? I'm still in the download phase here. I'll get back to you with a progress update  a littler later.

On Fri, 19 Oct 2018 at 10:17, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
Hi,

I seem to have problems compiling, probably my own fault, but would appreciate a hint as to how to solve it. 

I usually run this to compile
'''
@echo off
powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
cmake --build csound-vs --config RelWithDebInfo
'''

Yesterday, I accidentally ran the "build.bat" (in csound/msvc in the repo), that also download dependencies etc.
'''
@echo off
powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
cmake --build csound-vs --config RelWithDebInfo
Since I already had dependencies installed and all working, I terminated the bat file. I am on a slow connection, so I was not able to wait for its completion.
'''
Could this have messed up my settings or system somehow?
Currently, I can not build, stopping here:

'''
Build FAILED.

"D:\Source\csound\msvc\csound-vs\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Source\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj" (default target)
 (31) ->
(ClCompile target) ->
  d:\source\csound\opcodes\fluidopcodes\fluidopcodes.cpp(43): fatal error C1083
: Cannot open include file: 'fluidsynth.h': No such file or directory [D:\Sourc
e\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj]
'''

I do have fluidsynth.h in csound/Opcodes/fluidOpcodes
Any hints appreciated.

best
Oeyvind

--

Date2018-10-19 10:39
FromVictor Lazzarini
SubjectRe: [Csnd-dev] compilation issue, msvc
The fluid opcodes are still there as far as I know.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Oct 2018, at 10:30, Rory Walsh  wrote:
> 
> I'm just trying to build myself right now as it happens. I had to resolve a proxy issue, but it seems to be going Ok now. I know that some opcodes have been moved to their own repos lately, I wonder if that might be an issue? Either way, I think you disable to building of these opcodes in the generateProject.ps1 file. At the bottom of that file you can set your cmake build options. Perhaps you can try disabling the fluidOpcodes? I'm still in the download phase here. I'll get back to you with a progress update  a littler later.
> 
> On Fri, 19 Oct 2018 at 10:17, Oeyvind Brandtsegg  wrote:
> Hi,
> 
> I seem to have problems compiling, probably my own fault, but would appreciate a hint as to how to solve it. 
> 
> I usually run this to compile
> '''
> @echo off
> powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> cmake --build csound-vs --config RelWithDebInfo
> '''
> 
> Yesterday, I accidentally ran the "build.bat" (in csound/msvc in the repo), that also download dependencies etc.
> '''
> @echo off
> powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> cmake --build csound-vs --config RelWithDebInfo
> Since I already had dependencies installed and all working, I terminated the bat file. I am on a slow connection, so I was not able to wait for its completion.
> '''
> Could this have messed up my settings or system somehow?
> Currently, I can not build, stopping here:
> 
> '''
> Build FAILED.
> 
> "D:\Source\csound\msvc\csound-vs\ALL_BUILD.vcxproj" (default target) (1) ->
> "D:\Source\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj" (default target)
>  (31) ->
> (ClCompile target) ->
>   d:\source\csound\opcodes\fluidopcodes\fluidopcodes.cpp(43): fatal error C1083
> : Cannot open include file: 'fluidsynth.h': No such file or directory [D:\Sourc
> e\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj]
> '''
> 
> I do have fluidsynth.h in csound/Opcodes/fluidOpcodes
> Any hints appreciated.
> 
> best
> Oeyvind
> 
> -- 
> 
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
> 
> http://www.partikkelaudio.com/
> http://crossadaptive.hf.ntnu.no
> http://gdsp.hf.ntnu.no/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-emp

Date2018-10-19 10:51
FromOeyvind Brandtsegg
SubjectRe: [Csnd-dev] compilation issue, msvc
Thanks, but I can not find any build flag for the fluid opcodes. Should I just add one?
Assuming (guessing) something like 
-DBUILD_FLUID_OPCODES:BOOL=Off 
but that apparently did not do anything for me



Den fre. 19. okt. 2018 kl. 11:42 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:
The fluid opcodes are still there as far as I know.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 19 Oct 2018, at 10:30, Rory Walsh <rorywalsh@ear.ie> wrote:
>
> I'm just trying to build myself right now as it happens. I had to resolve a proxy issue, but it seems to be going Ok now. I know that some opcodes have been moved to their own repos lately, I wonder if that might be an issue? Either way, I think you disable to building of these opcodes in the generateProject.ps1 file. At the bottom of that file you can set your cmake build options. Perhaps you can try disabling the fluidOpcodes? I'm still in the download phase here. I'll get back to you with a progress update  a littler later.
>
> On Fri, 19 Oct 2018 at 10:17, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
> Hi,
>
> I seem to have problems compiling, probably my own fault, but would appreciate a hint as to how to solve it.
>
> I usually run this to compile
> '''
> @echo off
> powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> cmake --build csound-vs --config RelWithDebInfo
> '''
>
> Yesterday, I accidentally ran the "build.bat" (in csound/msvc in the repo), that also download dependencies etc.
> '''
> @echo off
> powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> cmake --build csound-vs --config RelWithDebInfo
> Since I already had dependencies installed and all working, I terminated the bat file. I am on a slow connection, so I was not able to wait for its completion.
> '''
> Could this have messed up my settings or system somehow?
> Currently, I can not build, stopping here:
>
> '''
> Build FAILED.
>
> "D:\Source\csound\msvc\csound-vs\ALL_BUILD.vcxproj" (default target) (1) ->
> "D:\Source\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj" (default target)
>  (31) ->
> (ClCompile target) ->
>   d:\source\csound\opcodes\fluidopcodes\fluidopcodes.cpp(43): fatal error C1083
> : Cannot open include file: 'fluidsynth.h': No such file or directory [D:\Sourc
> e\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj]
> '''
>
> I do have fluidsynth.h in csound/Opcodes/fluidOpcodes
> Any hints appreciated.
>
> best
> Oeyvind
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://www.partikkelaudio.com/
> http://crossadaptive.hf.ntnu.no
> http://gdsp.hf.ntnu.no/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-emp



--

Date2018-10-19 11:07
FromRory Walsh
SubjectRe: [Csnd-dev] compilation issue, msvc
I think you might be as well doing a fresh clone. It's take forever to download the sources on windows, but it might be quicker than trying to fix the current setup. Meanwhile, I can't get vcpkg to download any packages because of a proxy issue. Bother. 

On Fri, 19 Oct 2018 at 10:51, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
Thanks, but I can not find any build flag for the fluid opcodes. Should I just add one?
Assuming (guessing) something like 
-DBUILD_FLUID_OPCODES:BOOL=Off 
but that apparently did not do anything for me



Den fre. 19. okt. 2018 kl. 11:42 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:
The fluid opcodes are still there as far as I know.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 19 Oct 2018, at 10:30, Rory Walsh <rorywalsh@ear.ie> wrote:
>
> I'm just trying to build myself right now as it happens. I had to resolve a proxy issue, but it seems to be going Ok now. I know that some opcodes have been moved to their own repos lately, I wonder if that might be an issue? Either way, I think you disable to building of these opcodes in the generateProject.ps1 file. At the bottom of that file you can set your cmake build options. Perhaps you can try disabling the fluidOpcodes? I'm still in the download phase here. I'll get back to you with a progress update  a littler later.
>
> On Fri, 19 Oct 2018 at 10:17, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
> Hi,
>
> I seem to have problems compiling, probably my own fault, but would appreciate a hint as to how to solve it.
>
> I usually run this to compile
> '''
> @echo off
> powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> cmake --build csound-vs --config RelWithDebInfo
> '''
>
> Yesterday, I accidentally ran the "build.bat" (in csound/msvc in the repo), that also download dependencies etc.
> '''
> @echo off
> powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> cmake --build csound-vs --config RelWithDebInfo
> Since I already had dependencies installed and all working, I terminated the bat file. I am on a slow connection, so I was not able to wait for its completion.
> '''
> Could this have messed up my settings or system somehow?
> Currently, I can not build, stopping here:
>
> '''
> Build FAILED.
>
> "D:\Source\csound\msvc\csound-vs\ALL_BUILD.vcxproj" (default target) (1) ->
> "D:\Source\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj" (default target)
>  (31) ->
> (ClCompile target) ->
>   d:\source\csound\opcodes\fluidopcodes\fluidopcodes.cpp(43): fatal error C1083
> : Cannot open include file: 'fluidsynth.h': No such file or directory [D:\Sourc
> e\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj]
> '''
>
> I do have fluidsynth.h in csound/Opcodes/fluidOpcodes
> Any hints appreciated.
>
> best
> Oeyvind
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://www.partikkelaudio.com/
> http://crossadaptive.hf.ntnu.no
> http://gdsp.hf.ntnu.no/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-emp



--

Date2018-10-19 11:18
FromVictor Lazzarini
SubjectRe: [Csnd-dev] compilation issue, msvc
If the headers/lib are there, CMake should build it without any extra options. But your issues may be
specific to the MSVC and vcpkg setup, so I can’t help you there.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Oct 2018, at 10:51, Oeyvind Brandtsegg  wrote:
> 
> Thanks, but I can not find any build flag for the fluid opcodes. Should I just add one?
> Assuming (guessing) something like 
> -DBUILD_FLUID_OPCODES:BOOL=Off 
> but that apparently did not do anything for me
> 
> 
> 
> Den fre. 19. okt. 2018 kl. 11:42 skrev Victor Lazzarini :
> The fluid opcodes are still there as far as I know.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
> > On 19 Oct 2018, at 10:30, Rory Walsh  wrote:
> > 
> > I'm just trying to build myself right now as it happens. I had to resolve a proxy issue, but it seems to be going Ok now. I know that some opcodes have been moved to their own repos lately, I wonder if that might be an issue? Either way, I think you disable to building of these opcodes in the generateProject.ps1 file. At the bottom of that file you can set your cmake build options. Perhaps you can try disabling the fluidOpcodes? I'm still in the download phase here. I'll get back to you with a progress update  a littler later.
> > 
> > On Fri, 19 Oct 2018 at 10:17, Oeyvind Brandtsegg  wrote:
> > Hi,
> > 
> > I seem to have problems compiling, probably my own fault, but would appreciate a hint as to how to solve it. 
> > 
> > I usually run this to compile
> > '''
> > @echo off
> > powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > cmake --build csound-vs --config RelWithDebInfo
> > '''
> > 
> > Yesterday, I accidentally ran the "build.bat" (in csound/msvc in the repo), that also download dependencies etc.
> > '''
> > @echo off
> > powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > cmake --build csound-vs --config RelWithDebInfo
> > Since I already had dependencies installed and all working, I terminated the bat file. I am on a slow connection, so I was not able to wait for its completion.
> > '''
> > Could this have messed up my settings or system somehow?
> > Currently, I can not build, stopping here:
> > 
> > '''
> > Build FAILED.
> > 
> > "D:\Source\csound\msvc\csound-vs\ALL_BUILD.vcxproj" (default target) (1) ->
> > "D:\Source\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj" (default target)
> >  (31) ->
> > (ClCompile target) ->
> >   d:\source\csound\opcodes\fluidopcodes\fluidopcodes.cpp(43): fatal error C1083
> > : Cannot open include file: 'fluidsynth.h': No such file or directory [D:\Sourc
> > e\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj]
> > '''
> > 
> > I do have fluidsynth.h in csound/Opcodes/fluidOpcodes
> > Any hints appreciated.
> > 
> > best
> > Oeyvind
> > 
> > -- 
> > 
> > Oeyvind Brandtsegg
> > Professor of Music Technology
> > NTNU
> > 7491 Trondheim
> > Norway
> > Cell: +47 92 203 205
> > 
> > http://www.partikkelaudio.com/
> > http://crossadaptive.hf.ntnu.no
> > http://gdsp.hf.ntnu.no/
> > http://soundcloud.com/brandtsegg
> > http://flyndresang.no/
> > http://soundcloud.com/t-emp
> >  
> 
> 
> -- 
> 
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
> 
> http://www.partikkelaudio.com/
> http://crossadaptive.hf.ntnu.no
> http://gdsp.hf.ntnu.no/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-

Date2018-10-19 11:47
FromOeyvind Brandtsegg
SubjectRe: [Csnd-dev] compilation issue, msvc
a fresh clone solved it,
must have been some issue with the cache.
Thanks for the input!

Den fre. 19. okt. 2018 kl. 12:19 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:
If the headers/lib are there, CMake should build it without any extra options. But your issues may be
specific to the MSVC and vcpkg setup, so I can’t help you there.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 19 Oct 2018, at 10:51, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
>
> Thanks, but I can not find any build flag for the fluid opcodes. Should I just add one?
> Assuming (guessing) something like
> -DBUILD_FLUID_OPCODES:BOOL=Off
> but that apparently did not do anything for me
>
>
>
> Den fre. 19. okt. 2018 kl. 11:42 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:
> The fluid opcodes are still there as far as I know.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 19 Oct 2018, at 10:30, Rory Walsh <rorywalsh@ear.ie> wrote:
> >
> > I'm just trying to build myself right now as it happens. I had to resolve a proxy issue, but it seems to be going Ok now. I know that some opcodes have been moved to their own repos lately, I wonder if that might be an issue? Either way, I think you disable to building of these opcodes in the generateProject.ps1 file. At the bottom of that file you can set your cmake build options. Perhaps you can try disabling the fluidOpcodes? I'm still in the download phase here. I'll get back to you with a progress update  a littler later.
> >
> > On Fri, 19 Oct 2018 at 10:17, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
> > Hi,
> >
> > I seem to have problems compiling, probably my own fault, but would appreciate a hint as to how to solve it.
> >
> > I usually run this to compile
> > '''
> > @echo off
> > powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > cmake --build csound-vs --config RelWithDebInfo
> > '''
> >
> > Yesterday, I accidentally ran the "build.bat" (in csound/msvc in the repo), that also download dependencies etc.
> > '''
> > @echo off
> > powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > cmake --build csound-vs --config RelWithDebInfo
> > Since I already had dependencies installed and all working, I terminated the bat file. I am on a slow connection, so I was not able to wait for its completion.
> > '''
> > Could this have messed up my settings or system somehow?
> > Currently, I can not build, stopping here:
> >
> > '''
> > Build FAILED.
> >
> > "D:\Source\csound\msvc\csound-vs\ALL_BUILD.vcxproj" (default target) (1) ->
> > "D:\Source\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj" (default target)
> >  (31) ->
> > (ClCompile target) ->
> >   d:\source\csound\opcodes\fluidopcodes\fluidopcodes.cpp(43): fatal error C1083
> > : Cannot open include file: 'fluidsynth.h': No such file or directory [D:\Sourc
> > e\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj]
> > '''
> >
> > I do have fluidsynth.h in csound/Opcodes/fluidOpcodes
> > Any hints appreciated.
> >
> > best
> > Oeyvind
> >
> > --
> >
> > Oeyvind Brandtsegg
> > Professor of Music Technology
> > NTNU
> > 7491 Trondheim
> > Norway
> > Cell: +47 92 203 205
> >
> > http://www.partikkelaudio.com/
> > http://crossadaptive.hf.ntnu.no
> > http://gdsp.hf.ntnu.no/
> > http://soundcloud.com/brandtsegg
> > http://flyndresang.no/
> > http://soundcloud.com/t-emp
> > 
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://www.partikkelaudio.com/
> http://crossadaptive.hf.ntnu.no
> http://gdsp.hf.ntnu.no/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-emp




--

Date2018-10-19 12:21
FromRory Walsh
SubjectRe: [Csnd-dev] compilation issue, msvc
Glad you got it sorted. 

On Fri, 19 Oct 2018 at 11:47, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
a fresh clone solved it,
must have been some issue with the cache.
Thanks for the input!

Den fre. 19. okt. 2018 kl. 12:19 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:
If the headers/lib are there, CMake should build it without any extra options. But your issues may be
specific to the MSVC and vcpkg setup, so I can’t help you there.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 19 Oct 2018, at 10:51, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
>
> Thanks, but I can not find any build flag for the fluid opcodes. Should I just add one?
> Assuming (guessing) something like
> -DBUILD_FLUID_OPCODES:BOOL=Off
> but that apparently did not do anything for me
>
>
>
> Den fre. 19. okt. 2018 kl. 11:42 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:
> The fluid opcodes are still there as far as I know.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 19 Oct 2018, at 10:30, Rory Walsh <rorywalsh@ear.ie> wrote:
> >
> > I'm just trying to build myself right now as it happens. I had to resolve a proxy issue, but it seems to be going Ok now. I know that some opcodes have been moved to their own repos lately, I wonder if that might be an issue? Either way, I think you disable to building of these opcodes in the generateProject.ps1 file. At the bottom of that file you can set your cmake build options. Perhaps you can try disabling the fluidOpcodes? I'm still in the download phase here. I'll get back to you with a progress update  a littler later.
> >
> > On Fri, 19 Oct 2018 at 10:17, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
> > Hi,
> >
> > I seem to have problems compiling, probably my own fault, but would appreciate a hint as to how to solve it.
> >
> > I usually run this to compile
> > '''
> > @echo off
> > powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > cmake --build csound-vs --config RelWithDebInfo
> > '''
> >
> > Yesterday, I accidentally ran the "build.bat" (in csound/msvc in the repo), that also download dependencies etc.
> > '''
> > @echo off
> > powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > cmake --build csound-vs --config RelWithDebInfo
> > Since I already had dependencies installed and all working, I terminated the bat file. I am on a slow connection, so I was not able to wait for its completion.
> > '''
> > Could this have messed up my settings or system somehow?
> > Currently, I can not build, stopping here:
> >
> > '''
> > Build FAILED.
> >
> > "D:\Source\csound\msvc\csound-vs\ALL_BUILD.vcxproj" (default target) (1) ->
> > "D:\Source\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj" (default target)
> >  (31) ->
> > (ClCompile target) ->
> >   d:\source\csound\opcodes\fluidopcodes\fluidopcodes.cpp(43): fatal error C1083
> > : Cannot open include file: 'fluidsynth.h': No such file or directory [D:\Sourc
> > e\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj]
> > '''
> >
> > I do have fluidsynth.h in csound/Opcodes/fluidOpcodes
> > Any hints appreciated.
> >
> > best
> > Oeyvind
> >
> > --
> >
> > Oeyvind Brandtsegg
> > Professor of Music Technology
> > NTNU
> > 7491 Trondheim
> > Norway
> > Cell: +47 92 203 205
> >
> > http://www.partikkelaudio.com/
> > http://crossadaptive.hf.ntnu.no
> > http://gdsp.hf.ntnu.no/
> > http://soundcloud.com/brandtsegg
> > http://flyndresang.no/
> > http://soundcloud.com/t-emp
> > 
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://www.partikkelaudio.com/
> http://crossadaptive.hf.ntnu.no
> http://gdsp.hf.ntnu.no/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-emp




--

Date2018-10-19 12:28
FromOeyvind Brandtsegg
SubjectRe: [Csnd-dev] compilation issue, msvc
btw. is the output copied somewhere else than 
csound\msvc\csound-vs\RelWithDebInfo
?
I manually untangle from there, and copy some files to my installed csound install dir /bin, and some to /plugins64.
It would be convenient if the files to go into these two directories were put in separate places.
Perhaps this is something currently done when building the installer? 
I do not really need to build the installer, just to copy the compiled files into my install dir.

Den fre. 19. okt. 2018 kl. 13:21 skrev Rory Walsh <rorywalsh@ear.ie>:
Glad you got it sorted. 

On Fri, 19 Oct 2018 at 11:47, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
a fresh clone solved it,
must have been some issue with the cache.
Thanks for the input!

Den fre. 19. okt. 2018 kl. 12:19 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:
If the headers/lib are there, CMake should build it without any extra options. But your issues may be
specific to the MSVC and vcpkg setup, so I can’t help you there.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 19 Oct 2018, at 10:51, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
>
> Thanks, but I can not find any build flag for the fluid opcodes. Should I just add one?
> Assuming (guessing) something like
> -DBUILD_FLUID_OPCODES:BOOL=Off
> but that apparently did not do anything for me
>
>
>
> Den fre. 19. okt. 2018 kl. 11:42 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:
> The fluid opcodes are still there as far as I know.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 19 Oct 2018, at 10:30, Rory Walsh <rorywalsh@ear.ie> wrote:
> >
> > I'm just trying to build myself right now as it happens. I had to resolve a proxy issue, but it seems to be going Ok now. I know that some opcodes have been moved to their own repos lately, I wonder if that might be an issue? Either way, I think you disable to building of these opcodes in the generateProject.ps1 file. At the bottom of that file you can set your cmake build options. Perhaps you can try disabling the fluidOpcodes? I'm still in the download phase here. I'll get back to you with a progress update  a littler later.
> >
> > On Fri, 19 Oct 2018 at 10:17, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
> > Hi,
> >
> > I seem to have problems compiling, probably my own fault, but would appreciate a hint as to how to solve it.
> >
> > I usually run this to compile
> > '''
> > @echo off
> > powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > cmake --build csound-vs --config RelWithDebInfo
> > '''
> >
> > Yesterday, I accidentally ran the "build.bat" (in csound/msvc in the repo), that also download dependencies etc.
> > '''
> > @echo off
> > powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > cmake --build csound-vs --config RelWithDebInfo
> > Since I already had dependencies installed and all working, I terminated the bat file. I am on a slow connection, so I was not able to wait for its completion.
> > '''
> > Could this have messed up my settings or system somehow?
> > Currently, I can not build, stopping here:
> >
> > '''
> > Build FAILED.
> >
> > "D:\Source\csound\msvc\csound-vs\ALL_BUILD.vcxproj" (default target) (1) ->
> > "D:\Source\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj" (default target)
> >  (31) ->
> > (ClCompile target) ->
> >   d:\source\csound\opcodes\fluidopcodes\fluidopcodes.cpp(43): fatal error C1083
> > : Cannot open include file: 'fluidsynth.h': No such file or directory [D:\Sourc
> > e\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj]
> > '''
> >
> > I do have fluidsynth.h in csound/Opcodes/fluidOpcodes
> > Any hints appreciated.
> >
> > best
> > Oeyvind
> >
> > --
> >
> > Oeyvind Brandtsegg
> > Professor of Music Technology
> > NTNU
> > 7491 Trondheim
> > Norway
> > Cell: +47 92 203 205
> >
> > http://www.partikkelaudio.com/
> > http://crossadaptive.hf.ntnu.no
> > http://gdsp.hf.ntnu.no/
> > http://soundcloud.com/brandtsegg
> > http://flyndresang.no/
> > http://soundcloud.com/t-emp
> > 
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://www.partikkelaudio.com/
> http://crossadaptive.hf.ntnu.no
> http://gdsp.hf.ntnu.no/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-emp




--


--

Date2018-10-19 14:32
FromRory Walsh
SubjectRe: [Csnd-dev] compilation issue, msvc
I don't think so. I usually build in debug mode and all the dlls get lumped into the debug folder. Appveyor uses a wildcard to select the dlls when it comes to preparing a package. It would be nice to add a script to do this for those of us wishing to 'install' on Windows. 

On Fri, 19 Oct 2018 at 12:28, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
btw. is the output copied somewhere else than 
csound\msvc\csound-vs\RelWithDebInfo
?
I manually untangle from there, and copy some files to my installed csound install dir /bin, and some to /plugins64.
It would be convenient if the files to go into these two directories were put in separate places.
Perhaps this is something currently done when building the installer? 
I do not really need to build the installer, just to copy the compiled files into my install dir.

Den fre. 19. okt. 2018 kl. 13:21 skrev Rory Walsh <rorywalsh@ear.ie>:
Glad you got it sorted. 

On Fri, 19 Oct 2018 at 11:47, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
a fresh clone solved it,
must have been some issue with the cache.
Thanks for the input!

Den fre. 19. okt. 2018 kl. 12:19 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:
If the headers/lib are there, CMake should build it without any extra options. But your issues may be
specific to the MSVC and vcpkg setup, so I can’t help you there.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 19 Oct 2018, at 10:51, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
>
> Thanks, but I can not find any build flag for the fluid opcodes. Should I just add one?
> Assuming (guessing) something like
> -DBUILD_FLUID_OPCODES:BOOL=Off
> but that apparently did not do anything for me
>
>
>
> Den fre. 19. okt. 2018 kl. 11:42 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:
> The fluid opcodes are still there as far as I know.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 19 Oct 2018, at 10:30, Rory Walsh <rorywalsh@ear.ie> wrote:
> >
> > I'm just trying to build myself right now as it happens. I had to resolve a proxy issue, but it seems to be going Ok now. I know that some opcodes have been moved to their own repos lately, I wonder if that might be an issue? Either way, I think you disable to building of these opcodes in the generateProject.ps1 file. At the bottom of that file you can set your cmake build options. Perhaps you can try disabling the fluidOpcodes? I'm still in the download phase here. I'll get back to you with a progress update  a littler later.
> >
> > On Fri, 19 Oct 2018 at 10:17, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
> > Hi,
> >
> > I seem to have problems compiling, probably my own fault, but would appreciate a hint as to how to solve it.
> >
> > I usually run this to compile
> > '''
> > @echo off
> > powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > cmake --build csound-vs --config RelWithDebInfo
> > '''
> >
> > Yesterday, I accidentally ran the "build.bat" (in csound/msvc in the repo), that also download dependencies etc.
> > '''
> > @echo off
> > powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > powershell -ExecutionPolicy ByPass -File generateProject.ps1 -vsGenerator "Visual Studio 15 2017 Win64" -vsToolset "v141"
> > cmake --build csound-vs --config RelWithDebInfo
> > Since I already had dependencies installed and all working, I terminated the bat file. I am on a slow connection, so I was not able to wait for its completion.
> > '''
> > Could this have messed up my settings or system somehow?
> > Currently, I can not build, stopping here:
> >
> > '''
> > Build FAILED.
> >
> > "D:\Source\csound\msvc\csound-vs\ALL_BUILD.vcxproj" (default target) (1) ->
> > "D:\Source\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj" (default target)
> >  (31) ->
> > (ClCompile target) ->
> >   d:\source\csound\opcodes\fluidopcodes\fluidopcodes.cpp(43): fatal error C1083
> > : Cannot open include file: 'fluidsynth.h': No such file or directory [D:\Sourc
> > e\csound\msvc\csound-vs\Opcodes\fluidOpcodes.vcxproj]
> > '''
> >
> > I do have fluidsynth.h in csound/Opcodes/fluidOpcodes
> > Any hints appreciated.
> >
> > best
> > Oeyvind
> >
> > --
> >
> > Oeyvind Brandtsegg
> > Professor of Music Technology
> > NTNU
> > 7491 Trondheim
> > Norway
> > Cell: +47 92 203 205
> >
> > http://www.partikkelaudio.com/
> > http://crossadaptive.hf.ntnu.no
> > http://gdsp.hf.ntnu.no/
> > http://soundcloud.com/brandtsegg
> > http://flyndresang.no/
> > http://soundcloud.com/t-emp
> > 
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://www.partikkelaudio.com/
> http://crossadaptive.hf.ntnu.no
> http://gdsp.hf.ntnu.no/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-emp




--


--