Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Re: error building simple project

Date2012-11-15 22:44
Frommichael.gogins@gmail.com
SubjectRe: [Csnd] Re: error building simple project
AttachmentsNone  None  

Date2012-11-15 23:07
FromRory Walsh
SubjectRe: [Csnd] Re: error building simple project
Whoops, sorry Mike. Your name is on the top so I assumed..

On 15 November 2012 22:44, michael.gogins@gmail.com
 wrote:
> This one is an exception to what I said because it is a header file only.
> But its by Istvan Varga, not me.
>
> T-Mobile. America’s First Nationwide 4G Network
>
>
> ----- Reply message -----
> From: "Rory Walsh" 
> To: 
> Subject: [Csnd] Re: error building simple project
> Date: Thu, Nov 15, 2012 3:02 pm
>
>
> Csound.hpp declares a Csound class which wraps all the Csound API
> calls. For example the Csound::SetChannel method looks like this:
>
> void Csound::SetChannel(const char *name, double value)
>  {
>    MYFLT *p;
>    if (!(csoundGetChannelPtr(csound, &p, name,
>                              CSOUND_CONTROL_CHANNEL |
> CSOUND_INPUT_CHANNEL)))
>      *p = (MYFLT) value;
>  }
>
> As you can see it simply calls the underlying Csound API function
> csoundGetChannelPtr().
>
>
> On 15 November 2012 19:50, francesco  wrote:
>> Apologies for my ignorance, but what that means?
>>
>>> I use the C API with your C++ wrapper.
>>
>> Thanks,
>> ciao,
>> francesco.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5717996.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> 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"
>


Date2012-11-16 17:31
FromBlaz Jakopin
SubjectRe: [Csnd] Re: error building simple project
Dear Rory,

thanks for the instructions. It took me quite some time to get the .lib file done. 

I've set up my project to have the exact same properties as your example, but I keep getting this strange error:

1>InitializeBuildStatus:
1> Touching "Debug\CSound_test.unsuccessfulbuild".
1>cl : Command line warning D9028: minimal rebuild failure, reverting to normal build
1> stdafx.cpp
1>c1xx : fatal error C1902: Program database manager mismatch; please check your installation
Thank so much for your help,
Blaz


On Fri, Nov 16, 2012 at 12:07 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
Whoops, sorry Mike. Your name is on the top so I assumed..

On 15 November 2012 22:44, michael.gogins@gmail.com
<michael.gogins@gmail.com> wrote:
> This one is an exception to what I said because it is a header file only.
> But its by Istvan Varga, not me.
>
> T-Mobile. America’s First Nationwide 4G Network
>
>
> ----- Reply message -----
> From: "Rory Walsh" <rorywalsh@ear.ie>
> To: <csound@lists.bath.ac.uk>
> Subject: [Csnd] Re: error building simple project
> Date: Thu, Nov 15, 2012 3:02 pm
>
>
> Csound.hpp declares a Csound class which wraps all the Csound API
> calls. For example the Csound::SetChannel method looks like this:
>
> void Csound::SetChannel(const char *name, double value)
>  {
>    MYFLT *p;
>    if (!(csoundGetChannelPtr(csound, &p, name,
>                              CSOUND_CONTROL_CHANNEL |
> CSOUND_INPUT_CHANNEL)))
>      *p = (MYFLT) value;
>  }
>
> As you can see it simply calls the underlying Csound API function
> csoundGetChannelPtr().
>
>
> On 15 November 2012 19:50, francesco <ilterzouomo@fastwebnet.it> wrote:
>> Apologies for my ignorance, but what that means?
>>
>>> I use the C API with your C++ wrapper.
>>
>> Thanks,
>> ciao,
>> francesco.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5717996.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> 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"



Date2012-11-16 17:49
FromRory Walsh
SubjectRe: [Csnd] Re: error building simple project
That's strange. Are you trying to compile my project? f so then you
can try deleting everything from the debug folder and then do a
'clean' and a 'rebuild'.

On 16 November 2012 17:31, Blaz Jakopin  wrote:
> Dear Rory,
>
> thanks for the instructions. It took me quite some time to get the .lib file
> done.
>
> I've set up my project to have the exact same properties as your example,
> but I keep getting this strange error:
>
> 1>InitializeBuildStatus:
> 1> Touching "Debug\CSound_test.unsuccessfulbuild".
> 1>cl : Command line warning D9028: minimal rebuild failure, reverting to
> normal build
> 1> stdafx.cpp
> 1>c1xx : fatal error C1902: Program database manager mismatch; please check
> your installation
> Thank so much for your help,
> Blaz
>
>
> On Fri, Nov 16, 2012 at 12:07 AM, Rory Walsh  wrote:
>>
>> Whoops, sorry Mike. Your name is on the top so I assumed..
>>
>> On 15 November 2012 22:44, michael.gogins@gmail.com
>>  wrote:
>> > This one is an exception to what I said because it is a header file
>> > only.
>> > But its by Istvan Varga, not me.
>> >
>> > T-Mobile. America’s First Nationwide 4G Network
>> >
>> >
>> > ----- Reply message -----
>> > From: "Rory Walsh" 
>> > To: 
>> > Subject: [Csnd] Re: error building simple project
>> > Date: Thu, Nov 15, 2012 3:02 pm
>> >
>> >
>> > Csound.hpp declares a Csound class which wraps all the Csound API
>> > calls. For example the Csound::SetChannel method looks like this:
>> >
>> > void Csound::SetChannel(const char *name, double value)
>> >  {
>> >    MYFLT *p;
>> >    if (!(csoundGetChannelPtr(csound, &p, name,
>> >                              CSOUND_CONTROL_CHANNEL |
>> > CSOUND_INPUT_CHANNEL)))
>> >      *p = (MYFLT) value;
>> >  }
>> >
>> > As you can see it simply calls the underlying Csound API function
>> > csoundGetChannelPtr().
>> >
>> >
>> > On 15 November 2012 19:50, francesco  wrote:
>> >> Apologies for my ignorance, but what that means?
>> >>
>> >>> I use the C API with your C++ wrapper.
>> >>
>> >> Thanks,
>> >> ciao,
>> >> francesco.
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> >> http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5717996.html
>> >> Sent from the Csound - General mailing list archive at Nabble.com.
>> >>
>> >>
>> >> 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"
>>
>


Date2012-11-16 18:22
Fromjakopinorama
Subject[Csnd] Re: error building simple project
Still the same error. I have no idea what could be causing this.  

1>InitializeBuildStatus:
1> Creating "Debug\CsoundAPITest.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>cl : Command line warning D9028: minimal rebuild failure, reverting to normal build
1> CsoundAPITest.cpp
1>c:\users\blaz\documents\visual studio 2010\projects\csoundapitest\csoundapitest\csoundapitest.cpp : fatal error C1902: Program database manager mismatch; please check your installation
1> stdafx.cpp
1>c:\users\blaz\documents\visual studio 2010\projects\csoundapitest\csoundapitest\stdafx.cpp : fatal error C1902: Program database manager mismatch; please check your installation
1> Generating Code...




On Fri, Nov 16, 2012 at 6:50 PM, rory walsh [via Csound] <[hidden email]> wrote:
That's strange. Are you trying to compile my project? f so then you
can try deleting everything from the debug folder and then do a
'clean' and a 'rebuild'.

On 16 November 2012 17:31, Blaz Jakopin <[hidden email]> wrote:

> Dear Rory,
>
> thanks for the instructions. It took me quite some time to get the .lib file
> done.
>
> I've set up my project to have the exact same properties as your example,
> but I keep getting this strange error:
>
> 1>InitializeBuildStatus:
> 1> Touching "Debug\CSound_test.unsuccessfulbuild".
> 1>cl : Command line warning D9028: minimal rebuild failure, reverting to
> normal build
> 1> stdafx.cpp
> 1>c1xx : fatal error C1902: Program database manager mismatch; please check
> your installation
> Thank so much for your help,
> Blaz
>
>
> On Fri, Nov 16, 2012 at 12:07 AM, Rory Walsh <[hidden email]> wrote:
>>
>> Whoops, sorry Mike. Your name is on the top so I assumed..
>>
>> On 15 November 2012 22:44, [hidden email]
>> <[hidden email]> wrote:
>> > This one is an exception to what I said because it is a header file
>> > only.
>> > But its by Istvan Varga, not me.
>> >
>> > T-Mobile. America’s First Nationwide 4G Network
>> >
>> >
>> > ----- Reply message -----
>> > From: "Rory Walsh" <[hidden email]>
>> > To: <[hidden email]>
>> > Subject: [Csnd] Re: error building simple project

>> > Date: Thu, Nov 15, 2012 3:02 pm
>> >
>> >
>> > Csound.hpp declares a Csound class which wraps all the Csound API
>> > calls. For example the Csound::SetChannel method looks like this:
>> >
>> > void Csound::SetChannel(const char *name, double value)
>> >  {
>> >    MYFLT *p;
>> >    if (!(csoundGetChannelPtr(csound, &p, name,
>> >                              CSOUND_CONTROL_CHANNEL |
>> > CSOUND_INPUT_CHANNEL)))
>> >      *p = (MYFLT) value;
>> >  }
>> >
>> > As you can see it simply calls the underlying Csound API function
>> > csoundGetChannelPtr().
>> >
>> >
>> > On 15 November 2012 19:50, francesco <[hidden email]> wrote:

>> >> Apologies for my ignorance, but what that means?
>> >>
>> >>> I use the C API with your C++ wrapper.
>> >>
>> >> Thanks,
>> >> ciao,
>> >> francesco.
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> >> http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5717996.html
>> >> Sent from the Csound - General mailing list archive at Nabble.com.
>> >>
>> >>
>> >> 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"




If you reply to this email, your message will be added to the discussion below:
http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5718042.html
To unsubscribe from error building simple project, click here.
NAML



View this message in context: Re: error building simple project
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-11-16 18:26
Fromjakopinorama
Subject[Csnd] Re: error building simple project
I've just tried to compile my other VS projects to see if the problem is global and I get the same error. 

Maybe I did something wrong while doing the .lib file. 

On Fri, Nov 16, 2012 at 7:22 PM, Blaz Jakopin <[hidden email]> wrote:
Still the same error. I have no idea what could be causing this.  

1>InitializeBuildStatus:
1> Creating "Debug\CsoundAPITest.unsuccessfulbuild" because "AlwaysCreate" was specified.

1>cl : Command line warning D9028: minimal rebuild failure, reverting to normal build
1> CsoundAPITest.cpp
1>c:\users\blaz\documents\visual studio 2010\projects\csoundapitest\csoundapitest\csoundapitest.cpp : fatal error C1902: Program database manager mismatch; please check your installation
1> stdafx.cpp
1>c:\users\blaz\documents\visual studio 2010\projects\csoundapitest\csoundapitest\stdafx.cpp : fatal error C1902: Program database manager mismatch; please check your installation
1> Generating Code...




On Fri, Nov 16, 2012 at 6:50 PM, rory walsh [via Csound] <[hidden email]> wrote:
That's strange. Are you trying to compile my project? f so then you
can try deleting everything from the debug folder and then do a
'clean' and a 'rebuild'.

On 16 November 2012 17:31, Blaz Jakopin <[hidden email]> wrote:

> Dear Rory,
>
> thanks for the instructions. It took me quite some time to get the .lib file
> done.
>
> I've set up my project to have the exact same properties as your example,
> but I keep getting this strange error:
>
> 1>InitializeBuildStatus:
> 1> Touching "Debug\CSound_test.unsuccessfulbuild".
> 1>cl : Command line warning D9028: minimal rebuild failure, reverting to
> normal build
> 1> stdafx.cpp
> 1>c1xx : fatal error C1902: Program database manager mismatch; please check
> your installation
> Thank so much for your help,
> Blaz
>
>
> On Fri, Nov 16, 2012 at 12:07 AM, Rory Walsh <[hidden email]> wrote:
>>
>> Whoops, sorry Mike. Your name is on the top so I assumed..
>>
>> On 15 November 2012 22:44, [hidden email]
>> <[hidden email]> wrote:
>> > This one is an exception to what I said because it is a header file
>> > only.
>> > But its by Istvan Varga, not me.
>> >
>> > T-Mobile. America’s First Nationwide 4G Network
>> >
>> >
>> > ----- Reply message -----
>> > From: "Rory Walsh" <[hidden email]>
>> > To: <[hidden email]>
>> > Subject: [Csnd] Re: error building simple project

>> > Date: Thu, Nov 15, 2012 3:02 pm
>> >
>> >
>> > Csound.hpp declares a Csound class which wraps all the Csound API
>> > calls. For example the Csound::SetChannel method looks like this:
>> >
>> > void Csound::SetChannel(const char *name, double value)
>> >  {
>> >    MYFLT *p;
>> >    if (!(csoundGetChannelPtr(csound, &p, name,
>> >                              CSOUND_CONTROL_CHANNEL |
>> > CSOUND_INPUT_CHANNEL)))
>> >      *p = (MYFLT) value;
>> >  }
>> >
>> > As you can see it simply calls the underlying Csound API function
>> > csoundGetChannelPtr().
>> >
>> >
>> > On 15 November 2012 19:50, francesco <[hidden email]> wrote:

>> >> Apologies for my ignorance, but what that means?
>> >>
>> >>> I use the C API with your C++ wrapper.
>> >>
>> >> Thanks,
>> >> ciao,
>> >> francesco.
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> >> http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5717996.html
>> >> Sent from the Csound - General mailing list archive at Nabble.com.
>> >>
>> >>
>> >> 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"




If you reply to this email, your message will be added to the discussion below:
http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5718042.html
To unsubscribe from error building simple project, click here.
NAML




View this message in context: Re: error building simple project
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-11-16 18:28
FromRory Walsh
SubjectRe: [Csnd] Re: error building simple project
I can't imagine what you could have done wrong. if your other projects
no longer build then it's probably nothing to do with your project,
but an environment problem. A quick google search shows you're not hte
first person this has happened too!

https://www.google.ie/search?q=+fatal+error+C1902&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

On 16 November 2012 18:26, jakopinorama  wrote:
> I've just tried to compile my other VS projects to see if the problem is
> global and I get the same error.
>
> Maybe I did something wrong while doing the .lib file.
>
> On Fri, Nov 16, 2012 at 7:22 PM, Blaz Jakopin <[hidden email]> wrote:
>>
>> Still the same error. I have no idea what could be causing this.
>>
>> 1>InitializeBuildStatus:
>> 1> Creating "Debug\CsoundAPITest.unsuccessfulbuild" because "AlwaysCreate"
>> was specified.
>>
>> 1>cl : Command line warning D9028: minimal rebuild failure, reverting to
>> normal build
>> 1> CsoundAPITest.cpp
>> 1>c:\users\blaz\documents\visual studio
>> 2010\projects\csoundapitest\csoundapitest\csoundapitest.cpp : fatal error
>> C1902: Program database manager mismatch; please check your installation
>> 1> stdafx.cpp
>> 1>c:\users\blaz\documents\visual studio
>> 2010\projects\csoundapitest\csoundapitest\stdafx.cpp : fatal error C1902:
>> Program database manager mismatch; please check your installation
>> 1> Generating Code...
>>
>>
>>
>>
>> On Fri, Nov 16, 2012 at 6:50 PM, rory walsh [via Csound] <[hidden email]>
>> wrote:
>>>
>>> That's strange. Are you trying to compile my project? f so then you
>>> can try deleting everything from the debug folder and then do a
>>> 'clean' and a 'rebuild'.
>>>
>>> On 16 November 2012 17:31, Blaz Jakopin <[hidden email]> wrote:
>>>
>>> > Dear Rory,
>>> >
>>> > thanks for the instructions. It took me quite some time to get the .lib
>>> > file
>>> > done.
>>> >
>>> > I've set up my project to have the exact same properties as your
>>> > example,
>>> > but I keep getting this strange error:
>>> >
>>> > 1>InitializeBuildStatus:
>>> > 1> Touching "Debug\CSound_test.unsuccessfulbuild".
>>> > 1>cl : Command line warning D9028: minimal rebuild failure, reverting
>>> > to
>>> > normal build
>>> > 1> stdafx.cpp
>>> > 1>c1xx : fatal error C1902: Program database manager mismatch; please
>>> > check
>>> > your installation
>>> > Thank so much for your help,
>>> > Blaz
>>> >
>>> >
>>> > On Fri, Nov 16, 2012 at 12:07 AM, Rory Walsh <[hidden email]> wrote:
>>> >>
>>> >> Whoops, sorry Mike. Your name is on the top so I assumed..
>>> >>
>>> >> On 15 November 2012 22:44, [hidden email]
>>> >> <[hidden email]> wrote:
>>> >> > This one is an exception to what I said because it is a header file
>>> >> > only.
>>> >> > But its by Istvan Varga, not me.
>>> >> >
>>> >> > T-Mobile. America’s First Nationwide 4G Network
>>> >> >
>>> >> >
>>> >> > ----- Reply message -----
>>> >> > From: "Rory Walsh" <[hidden email]>
>>> >> > To: <[hidden email]>
>>> >> > Subject: [Csnd] Re: error building simple project
>>>
>>> >> > Date: Thu, Nov 15, 2012 3:02 pm
>>> >> >
>>> >> >
>>> >> > Csound.hpp declares a Csound class which wraps all the Csound API
>>> >> > calls. For example the Csound::SetChannel method looks like this:
>>> >> >
>>> >> > void Csound::SetChannel(const char *name, double value)
>>> >> >  {
>>> >> >    MYFLT *p;
>>> >> >    if (!(csoundGetChannelPtr(csound, &p, name,
>>> >> >                              CSOUND_CONTROL_CHANNEL |
>>> >> > CSOUND_INPUT_CHANNEL)))
>>> >> >      *p = (MYFLT) value;
>>> >> >  }
>>> >> >
>>> >> > As you can see it simply calls the underlying Csound API function
>>> >> > csoundGetChannelPtr().
>>> >> >
>>> >> >
>>> >> > On 15 November 2012 19:50, francesco <[hidden email]> wrote:
>>>
>>> >> >> Apologies for my ignorance, but what that means?
>>> >> >>
>>> >> >>> I use the C API with your C++ wrapper.
>>> >> >>
>>> >> >> Thanks,
>>> >> >> ciao,
>>> >> >> francesco.
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> --
>>> >> >> View this message in context:
>>> >> >>
>>> >> >>
>>> >> >> http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5717996.html
>>> >> >> Sent from the Csound - General mailing list archive at Nabble.com.
>>> >> >>
>>> >> >>
>>> >> >> 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"
>>>
>>>
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>>
>>> http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5718042.html
>>> To unsubscribe from error building simple project, click here.
>>> NAML
>>
>>
>
>
> ________________________________
> View this message in context: Re: error building simple project
>
> Sent from the Csound - General mailing list archive at Nabble.com.


Date2012-11-18 21:26
Fromjakopinorama
Subject[Csnd] Re: error building simple project
Rory, thanks for all the help. I finally got my project to run.

Just to let you know what went wrong:
 
* while creating the lib file with the MSVC tool, I got an error from the cmd that the mspdb100.dll was missing so i had to copy it to the folder in order for it to work
* when I got the lib file from the def, the project still wouldn't build. I got that fatal error C1902: Program database manager mismatch; please check your installation 
* I then erased the mspdb100.dll, and the project builded successfully
* I then wanted to run the program but I got an error that the csound64.dll is missing from my computer.
* I renamed the csound64.dll.5.2 to csound64.dll and it is finally OK!

Take care,
Blaz





On Fri, Nov 16, 2012 at 7:29 PM, rory walsh [via Csound] <[hidden email]> wrote:
I can't imagine what you could have done wrong. if your other projects
no longer build then it's probably nothing to do with your project,
but an environment problem. A quick google search shows you're not hte
first person this has happened too!

https://www.google.ie/search?q=+fatal+error+C1902&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

On 16 November 2012 18:26, jakopinorama <[hidden email]> wrote:

> I've just tried to compile my other VS projects to see if the problem is
> global and I get the same error.
>
> Maybe I did something wrong while doing the .lib file.
>
> On Fri, Nov 16, 2012 at 7:22 PM, Blaz Jakopin <[hidden email]> wrote:

>>
>> Still the same error. I have no idea what could be causing this.
>>
>> 1>InitializeBuildStatus:
>> 1> Creating "Debug\CsoundAPITest.unsuccessfulbuild" because "AlwaysCreate"
>> was specified.
>>
>> 1>cl : Command line warning D9028: minimal rebuild failure, reverting to
>> normal build
>> 1> CsoundAPITest.cpp
>> 1>c:\users\blaz\documents\visual studio
>> 2010\projects\csoundapitest\csoundapitest\csoundapitest.cpp : fatal error
>> C1902: Program database manager mismatch; please check your installation
>> 1> stdafx.cpp
>> 1>c:\users\blaz\documents\visual studio
>> 2010\projects\csoundapitest\csoundapitest\stdafx.cpp : fatal error C1902:
>> Program database manager mismatch; please check your installation
>> 1> Generating Code...
>>
>>
>>
>>
>> On Fri, Nov 16, 2012 at 6:50 PM, rory walsh [via Csound] <[hidden email]>
>> wrote:

>>>
>>> That's strange. Are you trying to compile my project? f so then you
>>> can try deleting everything from the debug folder and then do a
>>> 'clean' and a 'rebuild'.
>>>
>>> On 16 November 2012 17:31, Blaz Jakopin <[hidden email]> wrote:
>>>
>>> > Dear Rory,
>>> >
>>> > thanks for the instructions. It took me quite some time to get the .lib
>>> > file
>>> > done.
>>> >
>>> > I've set up my project to have the exact same properties as your
>>> > example,
>>> > but I keep getting this strange error:
>>> >
>>> > 1>InitializeBuildStatus:
>>> > 1> Touching "Debug\CSound_test.unsuccessfulbuild".
>>> > 1>cl : Command line warning D9028: minimal rebuild failure, reverting
>>> > to
>>> > normal build
>>> > 1> stdafx.cpp
>>> > 1>c1xx : fatal error C1902: Program database manager mismatch; please
>>> > check
>>> > your installation
>>> > Thank so much for your help,
>>> > Blaz
>>> >
>>> >
>>> > On Fri, Nov 16, 2012 at 12:07 AM, Rory Walsh <[hidden email]> wrote:
>>> >>
>>> >> Whoops, sorry Mike. Your name is on the top so I assumed..
>>> >>
>>> >> On 15 November 2012 22:44, [hidden email]
>>> >> <[hidden email]> wrote:
>>> >> > This one is an exception to what I said because it is a header file
>>> >> > only.
>>> >> > But its by Istvan Varga, not me.
>>> >> >
>>> >> > T-Mobile. America’s First Nationwide 4G Network
>>> >> >
>>> >> >
>>> >> > ----- Reply message -----
>>> >> > From: "Rory Walsh" <[hidden email]>
>>> >> > To: <[hidden email]>
>>> >> > Subject: [Csnd] Re: error building simple project
>>>
>>> >> > Date: Thu, Nov 15, 2012 3:02 pm
>>> >> >
>>> >> >
>>> >> > Csound.hpp declares a Csound class which wraps all the Csound API
>>> >> > calls. For example the Csound::SetChannel method looks like this:
>>> >> >
>>> >> > void Csound::SetChannel(const char *name, double value)
>>> >> >  {
>>> >> >    MYFLT *p;
>>> >> >    if (!(csoundGetChannelPtr(csound, &p, name,
>>> >> >                              CSOUND_CONTROL_CHANNEL |
>>> >> > CSOUND_INPUT_CHANNEL)))
>>> >> >      *p = (MYFLT) value;
>>> >> >  }
>>> >> >
>>> >> > As you can see it simply calls the underlying Csound API function
>>> >> > csoundGetChannelPtr().
>>> >> >
>>> >> >
>>> >> > On 15 November 2012 19:50, francesco <[hidden email]> wrote:
>>>
>>> >> >> Apologies for my ignorance, but what that means?
>>> >> >>
>>> >> >>> I use the C API with your C++ wrapper.
>>> >> >>
>>> >> >> Thanks,
>>> >> >> ciao,
>>> >> >> francesco.
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> --
>>> >> >> View this message in context:
>>> >> >>
>>> >> >>
>>> >> >> http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5717996.html
>>> >> >> Sent from the Csound - General mailing list archive at Nabble.com.
>>> >> >>
>>> >> >>
>>> >> >> 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"
>>>
>>>
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>>
>>> http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5718042.html
>>> To unsubscribe from error building simple project, click here.
>>> NAML
>>
>>
>
>
> ________________________________
> View this message in context: Re: error building simple project
>
> Sent from the Csound - General mailing list archive at Nabble.com.


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 [hidden email] with body "unsubscribe csound"




If you reply to this email, your message will be added to the discussion below:
http://csound.1045644.n5.nabble.com/error-building-simple-project-tp5717991p5718046.html
To unsubscribe from error building simple project, click here.
NAML



View this message in context: Re: error building simple project
Sent from the Csound - General mailing list archive at Nabble.com.