Opened 6 years ago

Last modified 3 years ago

#56628 new defect

openal @1.3 build fails 'CAStreamBasicDescription.h' file not found

Reported by: Superlokkus (Markus Klemm) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: openal

Description

I failed to build openal @1.3 with MacPorts 2.5.2 (and also 2.5.0) on my macOS 10.13.5.. Seems a header is missing or wrongly included:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/oalOSX.h:32:10: fatal error: 'CAStreamBasicDescription.h' file not found
:info:build #include "CAStreamBasicDescription.h"
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Attachments (1)

openal_macports_2.5.2.error.log (33.1 KB) - added by Superlokkus (Markus Klemm) 6 years ago.
Error log macporst 2.5.2

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Superlokkus (Markus Klemm)

Error log macporst 2.5.2

comment:1 Changed 6 years ago by kencu (Ken)

I have that file as part of CoreAudio on this 10.6.8 system:

$ locate CAStreamBasicDescription.h
/Developer/Extras/CoreAudio/PublicUtility/CAStreamBasicDescription.h

comment:2 in reply to:  1 Changed 6 years ago by Superlokkus (Markus Klemm)

Well I got xcode but neither that header nor a /Developer any more, I guess this is broken due to never version of macOS Replying to kencu:

I have that file as part of CoreAudio on this 10.6.8 system:

$ locate CAStreamBasicDescription.h
/Developer/Extras/CoreAudio/PublicUtility/CAStreamBasicDescription.h

comment:3 Changed 6 years ago by kencu (Ken)

I'm not certain about it, but perhaps this <https://github.com/kcat/openal-soft> might be a current implementation of OpenAL that we might consider updating to. It seems to be fairly active, and it has a cmake build script so it might build...

comment:4 Changed 6 years ago by kencu (Ken)

and in fact we have a port

openal-soft @1.15.1_2 (audio, devel)
    cross-platform software implementation of the OpenAL 3D audio API

that looks to be already moving in that direction.

Version 0, edited 6 years ago by kencu (Ken) (next)

comment:5 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.