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

[Bug report] do.py not found when trying to follow directions to compile examples #2340

Open
troyrock opened this issue Dec 31, 2024 · 1 comment
Labels

Comments

@troyrock
Copy link

Describe the bug
I'm following the "Getting Started" instructions:
I ran git clone https://github.com/numbbo/coco.git which executed without issues
I entered the coco directory.
Entering python do.py run-c results in: can't open file '/coco/do.py': [Errno 2] No such file or directory

I searched for do.py in coco and all the subdirectories without finding it. When I try to run cmake -B build . in the coco/code-experiments/build/c directory, I get the following:
[c]$ cmake -B build .
-- The C compiler identification is GNU 8.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
CMake Error at CMakeLists.txt:10 (add_library):
Cannot find source file:

coco.c

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .h .hh .h++
.hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .ispc

CMake Error at CMakeLists.txt:10 (add_library):
No SOURCES given to target: coco

CMake Generate step failed. Build files cannot be regenerated correctly.

I also searched for coco.c in all directories without finding it.

Has anyone actually tried to use this thing in the last 6 months?

Your System (please complete the following information when it seems relevant):

  • Operating system: Red Hat Enterprise Linux release 8.8 (Ootpa)
  • COCO version: 2.6.3 or whatever the latest is, I pulled on 2024-12-30
@troyrock troyrock added the bug label Dec 31, 2024
@nikohansen
Copy link
Contributor

As the code has been restructured, you probably want to start rather here.

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

No branches or pull requests

2 participants