Page 1 of 1

XCode build fail

Posted: Fri Jun 21, 2019 6:13 pm
by FiringSquad
Just downloaded latest stuff to begin development.
Followed instructions. (as per https://www.bzflag.org/documentation/de ... ing/macos/)
Getting a build error.
Model Name: MacBook Pro
Model Identifier: MacBookPro14,3
Processor Name: Intel Core i7
Processor Speed: 2.8 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 16 GB
System Version: macOS 10.14.4 (18E226)
Kernel Version: Darwin 18.5.0

Code: Select all

In file included from /Users/masters/Documents/Masters/SourceCode/GitHub/BZ/bzflag/src/geometry/models/tank/medium_ltread.cxx:12:
In file included from /Users/masters/Documents/Masters/SourceCode/GitHub/BZ/bzflag/include/TankGeometryMgr.h:20:
In file included from ../include/common.h:21:
/Users/masters/Documents/Masters/SourceCode/GitHub/BZ/bzflag/Xcode/config.h:18:10: fatal error: 'buildinfo.h' file not found
#include "buildinfo.h"
         ^~~~~~~~~~~~~
1 error generated.
Looks like 'buildinfo.h' should be autogenerated somewhere, but I can't find it anywhere.

Tried building again a few times and also build after clean. No joy.
Complete build output attached.

Any ideas?

Re: XCode build fail

Posted: Fri Jun 21, 2019 9:29 pm
by macsforme
Can you build from the Xcode GUI? I’m not sure that command-line builds trigger the target that generates that buildinfo file. You might only need to do it once.

Re: XCode build fail

Posted: Sun Jun 23, 2019 8:26 pm
by FiringSquad
Got it working.

Built bzfs first.
Afterwards, BZFlag built without errors.