Open kerrynwood opened 4 years ago
Similar error (brew 2.5.1): make[1]: *** [CMakeFiles/AudioSupport.dir/all] Error 2
Its not the audio module, the executable from PothosCore is using the emplace_back of the bool specialization of std::vector. I guess they didnt add it yet until after c++11. Not sure, but it should be easy to switch it back to push_back() https://en.cppreference.com/w/cpp/container/vector_bool
I replaced the use of this function on master if you build with --head
for pothoscore it should be fine
I have had a lot of random compiler issues to fix after this release so I think another tag is on the horizon. THanks for the report
Homebrew version 2.4.16
From source, I can get it to compile by changing -std=gnu++11 to -std=gnu+=14..
[ error snip ]
Last 15 lines from /Users/woodkn1/Library/Logs/Homebrew/pothos/02.make: cd /tmp/pothos-20200906-14635-iknr7/PothosCore-pothos-0.7.0/build/apps && /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DPOCO_NO_AUTOMATIC_LIBS -I/tmp/pothos-20200906-14635-iknr7/PothosCore-pothos-0.7.0/include -I/tmp/pothos-20200906-14635-iknr7/PothosCore-pothos-0.7.0/apps -I/usr/local/include/nlohmann -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=gnu++11 -o CMakeFiles/PothosUtil.dir/PothosUtilSelfTests.cpp.o -c /tmp/pothos-20200906-14635-iknr7/PothosCore-pothos-0.7.0/apps/PothosUtilSelfTests.cpp [ 97%] Building CXX object apps/CMakeFiles/PothosUtil.dir/PothosUtilDocParse.cpp.o cd /tmp/pothos-20200906-14635-iknr7/PothosCore-pothos-0.7.0/build/apps && /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DPOCO_NO_AUTOMATIC_LIBS -I/tmp/pothos-20200906-14635-iknr7/PothosCore-pothos-0.7.0/include -I/tmp/pothos-20200906-14635-iknr7/PothosCore-pothos-0.7.0/apps -I/usr/local/include/nlohmann -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=gnu++11 -o CMakeFiles/PothosUtil.dir/PothosUtilDocParse.cpp.o -c /tmp/pothos-20200906-14635-iknr7/PothosCore-pothos-0.7.0/apps/PothosUtilDocParse.cpp /tmp/pothos-20200906-14635-iknr7/PothosCore-pothos-0.7.0/apps/PothosUtilSelfTests.cpp:100:15: error: no member named 'emplace_back' in 'std::1::vector<bool, std::1::allocator >'
okVec.emplace_back(ok);