Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Can't build, related to pthread.h

Date2016-05-26 20:04
FromOeyvind Brandtsegg
Subject[Csnd-dev] Can't build, related to pthread.h
I can not build when pulling from the latest develop.

CMake Error at CMakeLists.txt:480 (message):
  Could not find pthread.h
-- Configuring incomplete, errors occurred!

Could this be related to the "simplified finding of pthreadd library"
commits of May 15th?
I tried to reset my repo to ce5e751ce4d64e74cc84ba940981f637c4591469
(May 14th), and I can build that one.

best
Oeyvind

-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://flyndresang.no/

Date2016-05-26 21:35
FromSteven Yi
SubjectRe: [Csnd-dev] Can't build, related to pthread.h

I added the search for pthread.h when I was trying to get Visual Studio going. Is this problem showing up on Windows MSYS2?


On Thu, May 26, 2016, 3:14 PM Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
I can not build when pulling from the latest develop.

CMake Error at CMakeLists.txt:480 (message):
  Could not find pthread.h
-- Configuring incomplete, errors occurred!

Could this be related to the "simplified finding of pthreadd library"
commits of May 15th?
I tried to reset my repo to ce5e751ce4d64e74cc84ba940981f637c4591469
(May 14th), and I can build that one.

best
Oeyvind

--

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://flyndresang.no/
http://soundcloud.com/t-emp

Date2016-05-26 21:37
FromOeyvind Brandtsegg
SubjectRe: [Csnd-dev] Can't build, related to pthread.h
Yes

2016-05-26 22:35 GMT+02:00 Steven Yi :
> I added the search for pthread.h when I was trying to get Visual Studio
> going. Is this problem showing up on Windows MSYS2?
>
>
> On Thu, May 26, 2016, 3:14 PM Oeyvind Brandtsegg 
> wrote:
>>
>> I can not build when pulling from the latest develop.
>>
>> CMake Error at CMakeLists.txt:480 (message):
>>   Could not find pthread.h
>> -- Configuring incomplete, errors occurred!
>>
>> Could this be related to the "simplified finding of pthreadd library"
>> commits of May 15th?
>> I tried to reset my repo to ce5e751ce4d64e74cc84ba940981f637c4591469
>> (May 14th), and I can build that one.
>>
>> best
>> Oeyvind
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://www.partikkelaudio.com/
>> 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://soundcloud.com/brandtsegg
http://flyndresang.no/

Date2016-05-26 21:47
FromSteven Yi
SubjectRe: [Csnd-dev] Can't build, related to pthread.h
I was able to reproduce this with msys2.  It's odd that it would have
caused a problem, but it did.  I suspect it was only an issue for
Windows.  I've commented out my change and committed that back up to
Git.  Sorry that broke things and thanks for reporting it!

steven

On Thu, May 26, 2016 at 4:35 PM, Steven Yi  wrote:
> I added the search for pthread.h when I was trying to get Visual Studio
> going. Is this problem showing up on Windows MSYS2?
>
>
> On Thu, May 26, 2016, 3:14 PM Oeyvind Brandtsegg 
> wrote:
>>
>> I can not build when pulling from the latest develop.
>>
>> CMake Error at CMakeLists.txt:480 (message):
>>   Could not find pthread.h
>> -- Configuring incomplete, errors occurred!
>>
>> Could this be related to the "simplified finding of pthreadd library"
>> commits of May 15th?
>> I tried to reset my repo to ce5e751ce4d64e74cc84ba940981f637c4591469
>> (May 14th), and I can build that one.
>>
>> best
>> Oeyvind
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://flyndresang.no/

Date2016-05-26 21:48
FromOeyvind Brandtsegg
SubjectRe: [Csnd-dev] Can't build, related to pthread.h
... oh, I see now that the readme says to set the path the pthread lib.
So I copied this
-DPTHREAD_LIBRARY:FILEPATH=/mingw64/x86_64-w64-mingw32/lib/libpthread.a \
from build-mkg.sh into build.sh
(I have this file in this location)

Still gives the same error when I run build.sh

2016-05-26 22:37 GMT+02:00 Oeyvind Brandtsegg :
> Yes
>
> 2016-05-26 22:35 GMT+02:00 Steven Yi :
>> I added the search for pthread.h when I was trying to get Visual Studio
>> going. Is this problem showing up on Windows MSYS2?
>>
>>
>> On Thu, May 26, 2016, 3:14 PM Oeyvind Brandtsegg 
>> wrote:
>>>
>>> I can not build when pulling from the latest develop.
>>>
>>> CMake Error at CMakeLists.txt:480 (message):
>>>   Could not find pthread.h
>>> -- Configuring incomplete, errors occurred!
>>>
>>> Could this be related to the "simplified finding of pthreadd library"
>>> commits of May 15th?
>>> I tried to reset my repo to ce5e751ce4d64e74cc84ba940981f637c4591469
>>> (May 14th), and I can build that one.
>>>
>>> best
>>> Oeyvind
>>>
>>> --
>>>
>>> Oeyvind Brandtsegg
>>> Professor of Music Technology
>>> NTNU
>>> 7491 Trondheim
>>> Norway
>>> Cell: +47 92 203 205
>>>
>>> http://www.partikkelaudio.com/
>>> 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://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://soundcloud.com/brandtsegg
http://flyndresang.no/

Date2016-05-26 21:49
FromOeyvind Brandtsegg
SubjectRe: [Csnd-dev] Can't build, related to pthread.h
Ah, yes, building now. Thanks!

2016-05-26 22:47 GMT+02:00 Steven Yi :
> I was able to reproduce this with msys2.  It's odd that it would have
> caused a problem, but it did.  I suspect it was only an issue for
> Windows.  I've commented out my change and committed that back up to
> Git.  Sorry that broke things and thanks for reporting it!
>
> steven
>
> On Thu, May 26, 2016 at 4:35 PM, Steven Yi  wrote:
>> I added the search for pthread.h when I was trying to get Visual Studio
>> going. Is this problem showing up on Windows MSYS2?
>>
>>
>> On Thu, May 26, 2016, 3:14 PM Oeyvind Brandtsegg 
>> wrote:
>>>
>>> I can not build when pulling from the latest develop.
>>>
>>> CMake Error at CMakeLists.txt:480 (message):
>>>   Could not find pthread.h
>>> -- Configuring incomplete, errors occurred!
>>>
>>> Could this be related to the "simplified finding of pthreadd library"
>>> commits of May 15th?
>>> I tried to reset my repo to ce5e751ce4d64e74cc84ba940981f637c4591469
>>> (May 14th), and I can build that one.
>>>
>>> best
>>> Oeyvind
>>>
>>> --
>>>
>>> Oeyvind Brandtsegg
>>> Professor of Music Technology
>>> NTNU
>>> 7491 Trondheim
>>> Norway
>>> Cell: +47 92 203 205
>>>
>>> http://www.partikkelaudio.com/
>>> 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://soundcloud.com/brandtsegg
http://flyndresang.no/