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

20190203: buildopts.h missing when compiling with autotools #4525

Open
Johnnynator opened this Issue Feb 3, 2019 · 5 comments

Comments

Projects
None yet
4 participants
@Johnnynator
Copy link

Johnnynator commented Feb 3, 2019

Observed behaviour

make[2]: Entering directory '/builddir/pioneer-20190203/src/collider'
  CXX      CollisionSpace.o
  CXX      BVHTree.o
  CXX      Geom.o
  CXX      GeomTree.o
BVHTree.cpp:5:10: fatal error: buildopts.h: No such file or directory
 #include "buildopts.h"
          ^~~~~~~~~~~~~

Expected behaviour

to see buildopts.h generated by the autotools build scripts

Steps to reproduce

Download the release archive, run ./bootstrap, ./configure, make.

My pioneer version (and OS):
20190203, Os: Void Linux

@impaktor

This comment has been minimized.

Copy link
Member

impaktor commented Feb 3, 2019

Yeah, we use CMake now, so that's why. We're about to remove autotools, (assuming we can still compile OSX)

@Johnnynator

This comment has been minimized.

Copy link
Author

Johnnynator commented Feb 3, 2019

@impaktor Ok, you should update the Documenation and so then. It still mentions Autotools to work on Linux.

@impaktor

This comment has been minimized.

Copy link
Member

impaktor commented Feb 3, 2019

#4511

EDIT: we can keep this issue open a while since I assume more people will fall into this issue.

@fluffyfreak

This comment has been minimized.

Copy link
Contributor

fluffyfreak commented Feb 4, 2019

Yeah I'd say keep it open since we haven't yet agreed to remove it due to the OSX issue.

one option would be to fix the autotools so that it generates a buildopts.h like Cmake does, or at least a dummy one which will suffice.

@h54

This comment has been minimized.

Copy link

h54 commented Feb 12, 2019

Cmake works on multiple Linux distros but not autotools. It looks ${project_root}/COMPILING.txt contains cmake build instructions immediately after the autotools instructions.

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