0.16.2: Fails with out-of-source build
clang-10 failed to compile 0.16.2 on FreeBSD-12.2:
/usr/bin/sed -e '/PACKAGE/ s|^|//|; /VERSION/ s|^|//|' /disk-samsung/freebsd-ports/devel/ode/work/ode-0.16.2/ode/src/config.h > /disk-samsung/freebsd-ports/devel/ode/work/stage/usr/local/include/ode/config.h
sed: /disk-samsung/freebsd-ports/devel/ode/work/ode-0.16.2/ode/src/config.h: No such file or directory
Comments (7)
-
-
reporter bootstrap shouldn’t be needed in cmake projects.
In cmake script, when the file is copied the source location is wrong.
-
I do not have a FreeBSD to test but I’m pretty sure CMake build used to work if invoked as described in section “BUILDING WITH CMAKE” in INSTALL.TXT.
-
reporter It doesn’t work with out-of-source build when build directory is separate from source directory.
-
Could you please provide your changes that you think would fix the issue for you. CMake build scripts were contributed by another person who is not a regular developer of ODE.
-
I could not replicate this on FreeBSD 13.0 or any other system when separating build and source directory. There were some issues with
config.h
due to a missing check and definition for FreeBSD that should be fixed by pull request #9.Could you provide some more details on how you are configuring and building ODE with CMake?
-
- changed status to invalid
No response from the reporter.
- Log in to comment
Try running “./bootstrap” in the ODE root directory.