cboe
cboe copied to clipboard
Source `rsrc/scenarios/valleydy/header.exs' not found
I'm trying to build with scons on macOS and am getting the following error
Wed Mar 21 22:37:40 - ~/src/github.com/calref/cboe [2]
[[email protected]] scons
scons: Reading SConscript files ...
Building for: darwin
Using toolchain: default
Checking whether the C compiler works... (cached) yes
Checking whether the C++ compiler works... (cached) yes
Checking for C library z... (cached) yes
Checking for C++ header file boost/lexical_cast.hpp... (cached) yes
Checking for C++ header file boost/optional.hpp... (cached) yes
Checking for C++ header file boost/ptr_container/ptr_container.hpp... (cached) yes
Checking for C++ header file boost/any.hpp... (cached) yes
Checking for C++ header file boost/math_fwd.hpp... (cached) yes
Checking for C++ header file boost/spirit/include/classic.hpp... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_filesystem... (cached) yes
Checking for C++ library boost_thread... (cached) no
Checking for C++ library boost_thread-1_54... (cached) no
Checking for C++ library boost_thread-1_55... (cached) no
Checking for C++ library boost_thread-1_56... (cached) no
Checking for C++ library boost_thread-1_57... (cached) no
Checking for C++ library boost_thread-1_58... (cached) no
Checking for C++ library boost_thread-mt... (cached) yes
Checking for C++ library sfml-system... (cached) yes
Checking for C++ library sfml-window... (cached) yes
Checking for C++ library sfml-audio... (cached) yes
Checking for C++ library sfml-graphics... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [build/rsrc/scenarios/valleydy.boes] Source `rsrc/scenarios/valleydy/header.exs' not found, needed by target `build/rsrc/scenarios/valleydy.boes'.
scons: building terminated because of errors.
Hmm. As far as I can tell, that file should definitely exist at that location. Unless I forgot to commit it or something which seems really unlikely.
I'll take a closer look soon and see why it's not finding it.
"soon", I said. One year later...
Well, the file definitely exists in the repository though. I think that must mean that it's an issue in the scons scripts - as I recall, scons is set to copy everything to the build directory, so maybe this file was left out for some reason. Either that, or the path isn't being taken relative to the SConscript's directory and is instead being taken relative to the base SConstruct's directory or something.