fbthrift icon indicating copy to clipboard operation
fbthrift copied to clipboard

fatal error: folly/experimental/channels/detail/AtomicQueue.h: No such file or directory

Open zahradehghanpur opened this issue 4 years ago • 4 comments

Hi , when i want to compile the source code , i get the following error: fbthrift/thrift/lib/cpp2/async/TwoWayBridge.h:24:10: fatal error: folly/experimental/channels/detail/AtomicQueue.h: No such file or directory #include <folly/experimental/channels/detail/AtomicQueue.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [thrift/lib/cpp2/CMakeFiles/thriftcpp2.dir/build.make:89: thrift/lib/cpp2/CMakeFiles/thriftcpp2.dir/GeneratedCodeHelper.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:855: thrift/lib/cpp2/CMakeFiles/thriftcpp2.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 i checked the folly project and this file folly/experimental/channels/detail/AtomicQueue.h does not exist...

zahradehghanpur avatar May 29 '21 12:05 zahradehghanpur

I found the same issue with master branch. I was able to compile it with v2021.05.24.00 tag.

Revaj avatar Jun 01 '21 23:06 Revaj

We are looking at the issues with folly - the repo is stale.

mshneer avatar Jun 03 '21 02:06 mshneer

For now please use the workaround from @Revaj - i.e. v2021.05.24.00 tag There are people working on getting folly up to date but this might take time. Sorry about it.

mshneer avatar Jun 03 '21 03:06 mshneer

Same issue here

mamrezb avatar Sep 02 '23 12:09 mamrezb