Csound Csound-dev Csound-tekno Search About

[Cs-dev] error when using csPerfthread class with latest mingw

Date2010-03-10 14:52
FromRory Walsh
Subject[Cs-dev] error when using csPerfthread class with latest mingw
A few of my students came across linker errors the other day when
trying to use the CsPerformanceThread class.

> libmingwex.a(pformat.o) : error LNK2001: unresolved external symbol
> __get_output_format

There is no mention of csPerfthread in the error but if we take out
all references to it and use only the Csound class there is no
problem. There are using the latest version of g++ on windows. My
version is 4.4.0 and I have no such problems, they're using 4.4.1-2.

Rory.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-10 14:58
FromMichael Gogins
SubjectRe: [Cs-dev] error when using csPerfthread class with latest mingw
I think I had a similar problem, and I just defined a dummy
_get_output_format function with the correct signature, that did
nothing, to satisfy the linker.

Regards,
Mike

On Wed, Mar 10, 2010 at 9:52 AM, Rory Walsh  wrote:
> A few of my students came across linker errors the other day when
> trying to use the CsPerformanceThread class.
>
>> libmingwex.a(pformat.o) : error LNK2001: unresolved external symbol
>> __get_output_format
>
> There is no mention of csPerfthread in the error but if we take out
> all references to it and use only the Csound class there is no
> problem. There are using the latest version of g++ on windows. My
> version is 4.4.0 and I have no such problems, they're using 4.4.1-2.
>
> Rory.
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-10 14:58
FromVictor Lazzarini
SubjectRe: [Cs-dev] error when using csPerfthread class with latest mingw
You need to look in libmingwex.a. This is nothing to do with Csound.  
Maybe a faulty installation of MinGW (or should I say: move to a  
better operating system?)?

Victor

On 10 Mar 2010, at 14:52, Rory Walsh wrote:

> A few of my students came across linker errors the other day when
> trying to use the CsPerformanceThread class.
>
>> libmingwex.a(pformat.o) : error LNK2001: unresolved external symbol
>> __get_output_format
>
> There is no mention of csPerfthread in the error but if we take out
> all references to it and use only the Csound class there is no
> problem. There are using the latest version of g++ on windows. My
> version is 4.4.0 and I have no such problems, they're using 4.4.1-2.
>
> Rory.
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-10 15:00
FromMichael Gogins
SubjectRe: [Cs-dev] error when using csPerfthread class with latest mingw
I also seem to recall that the problem went away when I upgraded my
MinGW/MSys system with Twilight Dragon Media's latest.

Regards,
Mike

On Wed, Mar 10, 2010 at 9:58 AM, Victor Lazzarini
 wrote:
> You need to look in libmingwex.a. This is nothing to do with Csound.
> Maybe a faulty installation of MinGW (or should I say: move to a
> better operating system?)?
>
> Victor
>
> On 10 Mar 2010, at 14:52, Rory Walsh wrote:
>
>> A few of my students came across linker errors the other day when
>> trying to use the CsPerformanceThread class.
>>
>>> libmingwex.a(pformat.o) : error LNK2001: unresolved external symbol
>>> __get_output_format
>>
>> There is no mention of csPerfthread in the error but if we take out
>> all references to it and use only the Csound class there is no
>> problem. There are using the latest version of g++ on windows. My
>> version is 4.4.0 and I have no such problems, they're using 4.4.1-2.
>>
>> Rory.
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-10 15:18
FromRory Walsh
SubjectRe: [Cs-dev] error when using csPerfthread class with latest mingw
I'm baffled as to why it only occurs when using csPerfThread? From
searching through different threads it seems a lot of people get this
error when linking to MSVC libs in mingw. That can't be the case here
as Csound is built for windows with Mingw eight? As for better
operating systems, some of these students would like to eventually
make money out of their software so giving up on an operating system
that it used by roughly 80% of the worlds computer users seems a like
a poor business plan! Anyway, I've never once requested that any of my
student use any particular OS and I'm not going to start now. Btw, I
wen to that gsoc site but when I logged in with my gmail account
nothing happened, i.e., I didn't get sent any kind of admin ID or
anything?

On 10 March 2010 14:58, Victor Lazzarini  wrote:
> You need to look in libmingwex.a. This is nothing to do with Csound.
> Maybe a faulty installation of MinGW (or should I say: move to a
> better operating system?)?
>
> Victor
>
> On 10 Mar 2010, at 14:52, Rory Walsh wrote:
>
>> A few of my students came across linker errors the other day when
>> trying to use the CsPerformanceThread class.
>>
>>> libmingwex.a(pformat.o) : error LNK2001: unresolved external symbol
>>> __get_output_format
>>
>> There is no mention of csPerfthread in the error but if we take out
>> all references to it and use only the Csound class there is no
>> problem. There are using the latest version of g++ on windows. My
>> version is 4.4.0 and I have no such problems, they're using 4.4.1-2.
>>
>> Rory.
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-10 19:22
FromMichael Gogins
SubjectRe: [Cs-dev] error when using csPerfthread class with latest mingw
I agree with you about the OS, the whole point of something like
Csound is it should be more or less universal on computers.

Regards,
Mike

On Wed, Mar 10, 2010 at 10:18 AM, Rory Walsh  wrote:
> I'm baffled as to why it only occurs when using csPerfThread? From
> searching through different threads it seems a lot of people get this
> error when linking to MSVC libs in mingw. That can't be the case here
> as Csound is built for windows with Mingw eight? As for better
> operating systems, some of these students would like to eventually
> make money out of their software so giving up on an operating system
> that it used by roughly 80% of the worlds computer users seems a like
> a poor business plan! Anyway, I've never once requested that any of my
> student use any particular OS and I'm not going to start now. Btw, I
> wen to that gsoc site but when I logged in with my gmail account
> nothing happened, i.e., I didn't get sent any kind of admin ID or
> anything?
>
> On 10 March 2010 14:58, Victor Lazzarini  wrote:
>> You need to look in libmingwex.a. This is nothing to do with Csound.
>> Maybe a faulty installation of MinGW (or should I say: move to a
>> better operating system?)?
>>
>> Victor
>>
>> On 10 Mar 2010, at 14:52, Rory Walsh wrote:
>>
>>> A few of my students came across linker errors the other day when
>>> trying to use the CsPerformanceThread class.
>>>
>>>> libmingwex.a(pformat.o) : error LNK2001: unresolved external symbol
>>>> __get_output_format
>>>
>>> There is no mention of csPerfthread in the error but if we take out
>>> all references to it and use only the Csound class there is no
>>> problem. There are using the latest version of g++ on windows. My
>>> version is 4.4.0 and I have no such problems, they're using 4.4.1-2.
>>>
>>> Rory.
>>>
>>> ------------------------------------------------------------------------------
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net