Csound Csound-dev Csound-tekno Search About

[Cs-dev] building with MSVC...

Date2011-05-09 21:13
FromRory Walsh
Subject[Cs-dev] building with MSVC...
I'm guessing that the one person who may be able to assist me here,
Mike, is travelling around Ireland of all places right now but I'll
throw it out there anyhow. I'd love to build Csound with the microsoft
compiler so that I can debug Csound using Visual Studio's built-in
debugger. Looking over SConstruct i see an option to build for MSVC. I
tried the following:

scons withMSVC=1 custom=custom-msvc.py

The problem is that it just won't find libsndfile. I already created a
.lib by following the instructions that come with libsndfile and I
know the path is correct in my custom-msvc.py. I just can't figure out
what's going wrong. It just won't find it. I've doubled checked to
make sure that custom-msvc.py is definitely the customised file that's
being called. I can't think of anything else. I'm not sure Mike will
be checking his email too regularly in the next few weeks. Hopefully
someone can make some suggestions!

Rory.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-09 21:18
FromRory Walsh
SubjectRe: [Cs-dev] building with MSVC...
p.s. when I run without 'withMSVC=1' it finds sndfile.h without a
problem, and the path in custom.py is the same as that in
custom-msvc.py.



On 9 May 2011 21:13, Rory Walsh  wrote:
> I'm guessing that the one person who may be able to assist me here,
> Mike, is travelling around Ireland of all places right now but I'll
> throw it out there anyhow. I'd love to build Csound with the microsoft
> compiler so that I can debug Csound using Visual Studio's built-in
> debugger. Looking over SConstruct i see an option to build for MSVC. I
> tried the following:
>
> scons withMSVC=1 custom=custom-msvc.py
>
> The problem is that it just won't find libsndfile. I already created a
> .lib by following the instructions that come with libsndfile and I
> know the path is correct in my custom-msvc.py. I just can't figure out
> what's going wrong. It just won't find it. I've doubled checked to
> make sure that custom-msvc.py is definitely the customised file that's
> being called. I can't think of anything else. I'm not sure Mike will
> be checking his email too regularly in the next few weeks. Hopefully
> someone can make some suggestions!
>
> Rory.
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-09 21:19
FromVictor Lazzarini
SubjectRe: [Cs-dev] building with MSVC...
what does your config.log say?

On 9 May 2011, at 21:13, Rory Walsh wrote:

> I'm guessing that the one person who may be able to assist me here,
> Mike, is travelling around Ireland of all places right now but I'll
> throw it out there anyhow. I'd love to build Csound with the microsoft
> compiler so that I can debug Csound using Visual Studio's built-in
> debugger. Looking over SConstruct i see an option to build for MSVC. I
> tried the following:
>
> scons withMSVC=1 custom=custom-msvc.py
>
> The problem is that it just won't find libsndfile. I already created a
> .lib by following the instructions that come with libsndfile and I
> know the path is correct in my custom-msvc.py. I just can't figure out
> what's going wrong. It just won't find it. I've doubled checked to
> make sure that custom-msvc.py is definitely the customised file that's
> being called. I can't think of anything else. I'm not sure Mike will
> be checking his email too regularly in the next few weeks. Hopefully
> someone can make some suggestions!
>
> Rory.
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-09 21:25
FromSteven Yi
SubjectRe: [Cs-dev] building with MSVC...
If you get stuck with this, you may want to try using CMake as it
should be able to build a Visual Studio solution that you could open
up in Visual Studio and then compile. If you're intersted, ping me
offlist and I can help out with that.

On Mon, May 9, 2011 at 4:18 PM, Rory Walsh  wrote:
> p.s. when I run without 'withMSVC=1' it finds sndfile.h without a
> problem, and the path in custom.py is the same as that in
> custom-msvc.py.
>
>
>
> On 9 May 2011 21:13, Rory Walsh  wrote:
>> I'm guessing that the one person who may be able to assist me here,
>> Mike, is travelling around Ireland of all places right now but I'll
>> throw it out there anyhow. I'd love to build Csound with the microsoft
>> compiler so that I can debug Csound using Visual Studio's built-in
>> debugger. Looking over SConstruct i see an option to build for MSVC. I
>> tried the following:
>>
>> scons withMSVC=1 custom=custom-msvc.py
>>
>> The problem is that it just won't find libsndfile. I already created a
>> .lib by following the instructions that come with libsndfile and I
>> know the path is correct in my custom-msvc.py. I just can't figure out
>> what's going wrong. It just won't find it. I've doubled checked to
>> make sure that custom-msvc.py is definitely the customised file that's
>> being called. I can't think of anything else. I'm not sure Mike will
>> be checking his email too regularly in the next few weeks. Hopefully
>> someone can make some suggestions!
>>
>> Rory.
>>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-10 09:08
FromRory Walsh
SubjectRe: [Cs-dev] building with MSVC...
Just to let people know that installing the latest version of
lidsndfile got me over this problem. Now I'm getting stuck with
pthreads. Dependencies, dependencies, dependencies....



On 9 May 2011 21:25, Steven Yi  wrote:
> If you get stuck with this, you may want to try using CMake as it
> should be able to build a Visual Studio solution that you could open
> up in Visual Studio and then compile. If you're intersted, ping me
> offlist and I can help out with that.
>
> On Mon, May 9, 2011 at 4:18 PM, Rory Walsh  wrote:
>> p.s. when I run without 'withMSVC=1' it finds sndfile.h without a
>> problem, and the path in custom.py is the same as that in
>> custom-msvc.py.
>>
>>
>>
>> On 9 May 2011 21:13, Rory Walsh  wrote:
>>> I'm guessing that the one person who may be able to assist me here,
>>> Mike, is travelling around Ireland of all places right now but I'll
>>> throw it out there anyhow. I'd love to build Csound with the microsoft
>>> compiler so that I can debug Csound using Visual Studio's built-in
>>> debugger. Looking over SConstruct i see an option to build for MSVC. I
>>> tried the following:
>>>
>>> scons withMSVC=1 custom=custom-msvc.py
>>>
>>> The problem is that it just won't find libsndfile. I already created a
>>> .lib by following the instructions that come with libsndfile and I
>>> know the path is correct in my custom-msvc.py. I just can't figure out
>>> what's going wrong. It just won't find it. I've doubled checked to
>>> make sure that custom-msvc.py is definitely the customised file that's
>>> being called. I can't think of anything else. I'm not sure Mike will
>>> be checking his email too regularly in the next few weeks. Hopefully
>>> someone can make some suggestions!
>>>
>>> Rory.
>>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-10 09:34
FromJohn Lato
SubjectRe: [Cs-dev] building with MSVC...
AttachmentsNone  None  
The quick solution for pthreads on windows is

which I've used successfully in the past.  However, a newer implementation seems to be available:


which seems to be more current and (hopefully) easier to use.

John Lato

On Tue, May 10, 2011 at 9:08 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
Just to let people know that installing the latest version of
lidsndfile got me over this problem. Now I'm getting stuck with
pthreads. Dependencies, dependencies, dependencies....



On 9 May 2011 21:25, Steven Yi <stevenyi@gmail.com> wrote:
> If you get stuck with this, you may want to try using CMake as it
> should be able to build a Visual Studio solution that you could open
> up in Visual Studio and then compile. If you're intersted, ping me
> offlist and I can help out with that.
>
> On Mon, May 9, 2011 at 4:18 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
>> p.s. when I run without 'withMSVC=1' it finds sndfile.h without a
>> problem, and the path in custom.py is the same as that in
>> custom-msvc.py.
>>
>>
>>
>> On 9 May 2011 21:13, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> I'm guessing that the one person who may be able to assist me here,
>>> Mike, is travelling around Ireland of all places right now but I'll
>>> throw it out there anyhow. I'd love to build Csound with the microsoft
>>> compiler so that I can debug Csound using Visual Studio's built-in
>>> debugger. Looking over SConstruct i see an option to build for MSVC. I
>>> tried the following:
>>>
>>> scons withMSVC=1 custom=custom-msvc.py
>>>
>>> The problem is that it just won't find libsndfile. I already created a
>>> .lib by following the instructions that come with libsndfile and I
>>> know the path is correct in my custom-msvc.py. I just can't figure out
>>> what's going wrong. It just won't find it. I've doubled checked to
>>> make sure that custom-msvc.py is definitely the customised file that's
>>> being called. I can't think of anything else. I'm not sure Mike will
>>> be checking his email too regularly in the next few weeks. Hopefully
>>> someone can make some suggestions!
>>>
>>> Rory.
>>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2011-05-10 23:45
From
SubjectRe: [Cs-dev] building with MSVC...
Well done, Rory. Keep at it. 

Just to let people know I've temporarily installed the Mandriva
Csound 5.11 rpm of 2010, a one-click operation. Although I'm 
yet to check its Python operation and set up its environment 
variables to suit. FLTK seems to work. 

I'll take another swing at building from GIT from scratch 
sometime soon.  

Yes, the dependencies. C++ or GCC++ libraries, Boost compiling or not, 
Portaudio or Alsa or PortMidi. One step at a time, I'm almost 
quite looking forward to it. 

Yes, I may yet switch to Ubuntoo. 



Scons -h
http://pastebin.mandriva.com/22900

Scons compile
http://pastebin.mandriva.com/22901


On Tue, 10 May 2011 09:08:29 +0100, Rory Walsh  wrote:
> Just to let people know that installing the latest version of
> lidsndfile got me over this problem. Now I'm getting stuck with
> pthreads. Dependencies, dependencies, dependencies....
> 
> 
> 
> On 9 May 2011 21:25, Steven Yi  wrote:
>> If you get stuck with this, you may want to try using CMake as it
>> should be able to build a Visual Studio solution that you could open
>> up in Visual Studio and then compile. If you're intersted, ping me
>> offlist and I can help out with that.
>>
>> On Mon, May 9, 2011 at 4:18 PM, Rory Walsh  wrote:
>>> p.s. when I run without 'withMSVC=1' it finds sndfile.h without a
>>> problem, and the path in custom.py is the same as that in
>>> custom-msvc.py.
>>>
>>>
>>>
>>> On 9 May 2011 21:13, Rory Walsh  wrote:
>>>> I'm guessing that the one person who may be able to assist me here,
>>>> Mike, is travelling around Ireland of all places right now but I'll
>>>> throw it out there anyhow. I'd love to build Csound with the microsoft
>>>> compiler so that I can debug Csound using Visual Studio's built-in
>>>> debugger. Looking over SConstruct i see an option to build for MSVC. I
>>>> tried the following:
>>>>
>>>> scons withMSVC=1 custom=custom-msvc.py
>>>>
>>>> The problem is that it just won't find libsndfile. I already created a
>>>> .lib by following the instructions that come with libsndfile and I
>>>> know the path is correct in my custom-msvc.py. I just can't figure out
>>>> what's going wrong. It just won't find it. I've doubled checked to
>>>> make sure that custom-msvc.py is definitely the customised file that's
>>>> being called. I can't think of anything else. I'm not sure Mike will
>>>> be checking his email too regularly in the next few weeks. Hopefully
>>>> someone can make some suggestions!
>>>>
>>>> Rory.
>>>>
>>>
>>>
------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
> 
>
------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csoun

Date2011-05-11 01:18
FromRory Walsh
SubjectRe: [Cs-dev] building with MSVC...
Yes, trying to create M$-ed versions of all the associated libs is a
real PITA but needs must!


On 10 May 2011 23:45,   wrote:
> Well done, Rory. Keep at it.
>
> Just to let people know I've temporarily installed the Mandriva
> Csound 5.11 rpm of 2010, a one-click operation. Although I'm
> yet to check its Python operation and set up its environment
> variables to suit. FLTK seems to work.
>
> I'll take another swing at building from GIT from scratch
> sometime soon.
>
> Yes, the dependencies. C++ or GCC++ libraries, Boost compiling or not,
> Portaudio or Alsa or PortMidi. One step at a time, I'm almost
> quite looking forward to it.
>
> Yes, I may yet switch to Ubuntoo.
>
>
>
> Scons -h
> http://pastebin.mandriva.com/22900
>
> Scons compile
> http://pastebin.mandriva.com/22901
>
>
> On Tue, 10 May 2011 09:08:29 +0100, Rory Walsh  wrote:
>> Just to let people know that installing the latest version of
>> lidsndfile got me over this problem. Now I'm getting stuck with
>> pthreads. Dependencies, dependencies, dependencies....
>>
>>
>>
>> On 9 May 2011 21:25, Steven Yi  wrote:
>>> If you get stuck with this, you may want to try using CMake as it
>>> should be able to build a Visual Studio solution that you could open
>>> up in Visual Studio and then compile. If you're intersted, ping me
>>> offlist and I can help out with that.
>>>
>>> On Mon, May 9, 2011 at 4:18 PM, Rory Walsh  wrote:
>>>> p.s. when I run without 'withMSVC=1' it finds sndfile.h without a
>>>> problem, and the path in custom.py is the same as that in
>>>> custom-msvc.py.
>>>>
>>>>
>>>>
>>>> On 9 May 2011 21:13, Rory Walsh  wrote:
>>>>> I'm guessing that the one person who may be able to assist me here,
>>>>> Mike, is travelling around Ireland of all places right now but I'll
>>>>> throw it out there anyhow. I'd love to build Csound with the microsoft
>>>>> compiler so that I can debug Csound using Visual Studio's built-in
>>>>> debugger. Looking over SConstruct i see an option to build for MSVC. I
>>>>> tried the following:
>>>>>
>>>>> scons withMSVC=1 custom=custom-msvc.py
>>>>>
>>>>> The problem is that it just won't find libsndfile. I already created a
>>>>> .lib by following the instructions that come with libsndfile and I
>>>>> know the path is correct in my custom-msvc.py. I just can't figure out
>>>>> what's going wrong. It just won't find it. I've doubled checked to
>>>>> make sure that custom-msvc.py is definitely the customised file that's
>>>>> being called. I can't think of anything else. I'm not sure Mike will
>>>>> be checking his email too regularly in the next few weeks. Hopefully
>>>>> someone can make some suggestions!
>>>>>
>>>>> Rory.
>>>>>
>>>>
>>>>
> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
> ------------------------------------------------------------------------------
>> Achieve unprecedented app performance and reliability
>> What every C/C++ and Fortran developer should know.
>> Learn how Intel has extended the reach of its next-generation tools
>> to help boost performance applications - inlcuding clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net