Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error in libOTe-macoro about std::exchange #79

Open
zhouxv opened this issue Dec 6, 2024 · 1 comment
Open

Build Error in libOTe-macoro about std::exchange #79

zhouxv opened this issue Dec 6, 2024 · 1 comment

Comments

@zhouxv
Copy link

zhouxv commented Dec 6, 2024

During the build process, I encountered the issue shown in the image below.
The same issue occurred during the construction of libOTe, where a quick fix was provided in the libOTe issue tracker !#143.
I believe this issue requires a dedicated fix. I hope this information is helpful.

/home/dinglab-dell/researches/new_idea/RR22-vOLEpsi/out/macoro/macoro/../macoro/barrier.h:108:38: error: ‘exchange’ is not a member of ‘std’
  108 |                                 std::exchange(m_continuation, nullptr).resume();
      |                                      ^~~~~~~~
compilation terminated due to -Wfatal-errors.
make[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:230:macoro/tests/CMakeFiles/macoroTests.dir/async_scope_tests.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:367:macoro/tests/CMakeFiles/macoroTests.dir/all] 错误 2
make: *** [Makefile:136:all] 错误 2
CMake Error at thirdparty/fetch.cmake:22 (file):
  file failed to open for reading (No such file or directory):

    /home/dinglab-dell/researches/new_idea/RR22-vOLEpsi/thirdparty/log-libOTe.txt
Call Stack (most recent call first):
  thirdparty/getLibOTe.cmake:63 (run)
  cmake/findDependancies.cmake:115 (include)
  CMakeLists.txt:14 (include)


CMake Error at thirdparty/fetch.cmake:23 (message):
  libOTe Build failed (2).
Call Stack (most recent call first):
  thirdparty/getLibOTe.cmake:63 (run)
  cmake/findDependancies.cmake:115 (include)
  CMakeLists.txt:14 (include)

@RindalVisa
Copy link
Member

try now. hopefully fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants