Csound Csound-dev Csound-tekno Search About

[Cs-dev] building on rPi

Date2015-09-12 19:42
Fromjpff
Subject[Cs-dev] building on rPi
Following instructions in BUILD.d I am stuck at the cmake stage

.....
-- BUILD_PLUGINS_DIR set to /home/pi/Csound/csound6
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - not found
-- Check size of unsigned short
-- Check size of unsigned short - failed
-- Check size of unsigned int
-- Check size of unsigned int - failed
-- Check size of unsigned long
-- Check size of unsigned long - failed
CMake Error at /usr/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (MESSAGE):
  no suitable type found
Call Stack (most recent call first):
  CMakeLists.txt:398 (TEST_BIG_ENDIAN)

What is missing?

==John ffitch

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-09-12 19:45
FromVictor Lazzarini
SubjectRe: [Cs-dev] building on rPi
Looks like you are missing headers. Is the toolchain complete?
========================
Dr 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 12 Sep 2015, at 19:42, jpff  wrote:
> 
> Following instructions in BUILD.d I am stuck at the cmake stage
> 
> .....
> -- BUILD_PLUGINS_DIR set to /home/pi/Csound/csound6
> -- Check if the system is big endian
> -- Searching 16 bit integer
> -- Looking for sys/types.h
> -- Looking for sys/types.h - not found
> -- Looking for stdint.h
> -- Looking for stdint.h - not found
> -- Looking for stddef.h
> -- Looking for stddef.h - not found
> -- Check size of unsigned short
> -- Check size of unsigned short - failed
> -- Check size of unsigned int
> -- Check size of unsigned int - failed
> -- Check size of unsigned long
> -- Check size of unsigned long - failed
> CMake Error at /usr/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (MESSAGE):
>  no suitable type found
> Call Stack (most recent call first):
>  CMakeLists.txt:398 (TEST_BIG_ENDIAN)
> 
> What is missing?
> 
> ==John ffitch
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-09-12 19:51
Fromjpff
SubjectRe: [Cs-dev] building on rPi
Well I did what it said and /usr/include/stdint.h is there. 
cmake has alwaysbeen a mystery to me.....

On Sat, 12 Sep 2015, Victor Lazzarini wrote:

> Looks like you are missing headers. Is the toolchain complete?
> ========================
> Dr 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 12 Sep 2015, at 19:42, jpff  wrote:
>>
>> Following instructions in BUILD.d I am stuck at the cmake stage
>>
>> .....
>> -- BUILD_PLUGINS_DIR set to /home/pi/Csound/csound6
>> -- Check if the system is big endian
>> -- Searching 16 bit integer
>> -- Looking for sys/types.h
>> -- Looking for sys/types.h - not found
>> -- Looking for stdint.h
>> -- Looking for stdint.h - not found
>> -- Looking for stddef.h
>> -- Looking for stddef.h - not found
>> -- Check size of unsigned short
>> -- Check size of unsigned short - failed
>> -- Check size of unsigned int
>> -- Check size of unsigned int - failed
>> -- Check size of unsigned long
>> -- Check size of unsigned long - failed
>> CMake Error at /usr/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (MESSAGE):
>>  no suitable type found
>> Call Stack (most recent call first):
>>  CMakeLists.txt:398 (TEST_BIG_ENDIAN)
>>
>> What is missing?
>>
>> ==John ffitch
>>



------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-09-12 20:01
FromSteven Yi
SubjectRe: [Cs-dev] building on rPi
I feel like that's a red herring of some sort, as I seem to remember
running into that before but it wasn't really that it was an endian
issue, but a toolchain one. (This was on a different platform, as I do
not have an RPi.)  Is there any information in the cmake log? It
should be in the build folder/CMakeFiles/CMakeError.log.

On Sat, Sep 12, 2015 at 2:51 PM, jpff  wrote:
> Well I did what it said and /usr/include/stdint.h is there.
> cmake has alwaysbeen a mystery to me.....
>
> On Sat, 12 Sep 2015, Victor Lazzarini wrote:
>
>> Looks like you are missing headers. Is the toolchain complete?
>> ========================
>> Dr 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 12 Sep 2015, at 19:42, jpff  wrote:
>>>
>>> Following instructions in BUILD.d I am stuck at the cmake stage
>>>
>>> .....
>>> -- BUILD_PLUGINS_DIR set to /home/pi/Csound/csound6
>>> -- Check if the system is big endian
>>> -- Searching 16 bit integer
>>> -- Looking for sys/types.h
>>> -- Looking for sys/types.h - not found
>>> -- Looking for stdint.h
>>> -- Looking for stdint.h - not found
>>> -- Looking for stddef.h
>>> -- Looking for stddef.h - not found
>>> -- Check size of unsigned short
>>> -- Check size of unsigned short - failed
>>> -- Check size of unsigned int
>>> -- Check size of unsigned int - failed
>>> -- Check size of unsigned long
>>> -- Check size of unsigned long - failed
>>> CMake Error at /usr/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (MESSAGE):
>>>  no suitable type found
>>> Call Stack (most recent call first):
>>>  CMakeLists.txt:398 (TEST_BIG_ENDIAN)
>>>
>>> What is missing?
>>>
>>> ==John ffitch
>>>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-09-12 20:11
Fromjpff
SubjectRe: [Cs-dev] building on rPi

On Sat, 12 Sep 2015, Steven Yi wrote:

> I feel like that's a red herring of some sort, as I seem to remember
> running into that before but it wasn't really that it was an endian
> issue, but a toolchain one. (This was on a different platform, as I do
> not have an RPi.)  Is there any information in the cmake log? It
> should be in the build folder/CMakeFiles/CMakeError.log.
>

I looked for that file and it did not exist!  but now it hasd appeared and 
it seems te error is it is defining -mfpmath=sse wic makes np sense as it 
said

-- Performing Test HAS_CXX_FPMATH_SSE
-- Performing Test HAS_CXX_FPMATH_SSE - Failed
-- Performing Test HAS_SSE2
-- Performing Test HAS_SSE2 - Failed
-- Performing Test HAS_CXX_SSE2
-- Performing Test HAS_CXX_SSE2 - Failed

Time to search for sse




------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-09-12 20:16
Fromjpff
SubjectRe: [Cs-dev] building on rPi
Oh!  found it.  I had a mtune parameter all wrong left over from building 
on a totally different computer

Looks bettter  now


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net