XCode build fail

Place all meeting requests / announcements here...
Post Reply
User avatar
FiringSquad
Sergeant
Sergeant
Posts: 849
Joined: Thu Jan 26, 2006 5:53 pm
Location: Ireland

XCode build fail

Post 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?
Attachments
Build BZFlag_2019-06-21T19-05-01.txt
(8.13 KiB) Downloaded 191 times
User avatar
macsforme
General
General
Posts: 2069
Joined: Wed Mar 01, 2006 5:43 am

Re: XCode build fail

Post 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.
User avatar
FiringSquad
Sergeant
Sergeant
Posts: 849
Joined: Thu Jan 26, 2006 5:53 pm
Location: Ireland

Re: XCode build fail

Post by FiringSquad »

Got it working.

Built bzfs first.
Afterwards, BZFlag built without errors.
Post Reply