Open donarturo11 opened 3 months ago
Our CI doesn't fail because our CI doesn't use portaudiocpp. But this does suggest a regression since presumably portaudiocpp used to build.
@donarturo11 would you please check PortAudio v19.7 release and confirm that it does not have this problem?
It's not failing CI because portaudiocpp is not tested by CI.
My concern now is that there is a regression in the PortAudio library CMakeLists.txt, and that maybe we should undo the library library name case change in PortAudio -> portaudio
in the main PortAudio CMakeLists.txt.
@dechamps any thoughts?
I think too that undoing change case in main CMakeList will be better solution than mine.
@donarturo11 would you please check PortAudio v19.7 release and confirm that it does not have this problem?
Yes sure. So, preparing and building portaudiocpp using source from main branch and stable version of portaudio are successful.
preparing and building portaudiocpp using source from main branch and stable version of portaudio are successful.
@donarturo11 thanks. So as it stands, am I correct to say that there is a regression in our main PortAudio CMakeLists.txt ?
Seems that this was part of @Be-ing's big rewrite (which I'm now strongly thinking we should just roll-back since there is no maintainer and it has been shown to have multiple issues):
old add_library(portaudio
:
old add_library(portaudio_static
:
new: add_library(PortAudio
:
@RossBencina Yes. In main CMakeLists.txt is a regression. Just undo cases in target names and portaudiocpp will built with no problem.
@donarturo11 Could you please close the old PR and create a new PR with our agreed fix?
@RossBencina I'm sorry for huge delay, but I had a lot of work at home. I closed old PR and I'll create new soon as possible.
So @RossBencina , could You now review a new PR, please? I hope that one will be more satysfying.
Describe the bug Trying to create cmake build directory for portaudiocpp gets message:
To Reproduce Steps to reproduce the behavior. Include code if applicable.
Expected behavior Configure build directory with no errors.
Actual behavior CMake throws error
Desktop (please complete the following information):
Proposed solution Unify target names cases.
Note: PortAudio is a community supported project. If you have a solution, please create a Pull Request for us to consider.