XCode build failed #11
Comments
By default, C++11 is not activated on the main compilers used by the users (although it starts coming with VS and GCC6). |
Thank you Matthiew ! I was this I had to enable C++ 11 option on every subtarget. PhaseScriptExecution CMake\ PostBuild\ Rules build/ATK/Core/AudioTK.build/Debug/ATKCore.build/Script-FEBD7229655F40AEA2FDC66A.sh echo "Staging dSYM for ATKCore" |
That's annoying... There may be an issue with the dependency ordering at the moment. Is the file available in the build folder /Users/francoisreme/Project\ From\ Internet/AudioTK/build/ATK/Core? |
Here come the content of the generated Core directory : Edit : Sorry, the file is there but there is only an issue about his location ! |
I see, it's in the subfolder. |
Changing in main CMakeList to : Thanks ! |
Really strange, I can't reproduce the issue. Maybe because my xcode project lived through several CMake versions :/ I'll have to start from scratch one day :/ |
Oh! |
Yes, it's empty...and that's cool ? |
It should be set to Debug or Release, depending on your build. That must be why you have that error. |
Ok. It's works. I think there is a better way to handle this with CMake. I personnaly use the $<TARGET_FILE:tgt> command who work pretty well : |
Hi Matthiew.
I'm trying to build AudioTK on XCode.
I installed Boost, libsndfile et fftw via macports and the CMake generation process seem to work more or less, except for FFTW but I tried to run a build and hoped to see work not every module but at least get ATK Core to build.
My cmake output is :
_INFO Build shared libraries: ON
INFO Build static libraries: OFF
INFO Build tests: ON
Could NOT find FFTW (missing: FFTW_LIBRARY_FFTW3 FFTW_LIBRARY_FFTW3F FFTW_LIBRARIES FFTW_INCLUDES)
Boost version: 1.61.0
Boost version: 1.61.0
Found the following Boost libraries:
unit_test_framework
system
Boost version: 1.61.0
Found the following Boost libraries:
unit_test_framework
timer
system
chrono
Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
ATKAdaptive
ATKCore
ATKDelay
ATKDistortion
ATKDynamic
ATKEQ
ATKIO
ATKMock
ATKPreamplifier
ATKReverberation
ATKSpecial
ATKTools
ATKUtility
This warning is for project developers. Use -Wno-dev to suppress it.
Generating done_
the build fails in TypedBaseFilter.cpp and there was to issue there :
At first in the with RValue constructor
template<typename DataType> TypedBaseFilter<DataType>::TypedBaseFilter(TypedBaseFilter&& other) :Parent(static_cast<Parent &&>(std::move(other))),
There was an error if I was not casting std::move(other) to RValue type.
I confess I'm not fluent at all with C++11 Feature and I'm lost there.
I hope you have a OS X and you could try a build on your machine, or maybe you got an idea of what's happenning ?
I'm on OS X El-Capitain. I use LLVM.
Thank you
The text was updated successfully, but these errors were encountered: