Mac OS Sierra compile build errors with 3.2.1 and 3.2.2

For code related discussions and questions
Post Reply
belgarreth1
New user
Posts: 1
Joined: 28 Jan 2017, 19:35

Mac OS Sierra compile build errors with 3.2.1 and 3.2.2

Post by belgarreth1 »

When trying to build versions 3.2.1 or 3.2.2 on a Mac running OS Sierra, the build fails with the following errors:

error: /Users/gmacbook/Desktop/warzone2100-3.2.2/3rdparty/miniupnpc/bsdqueue.h: No such file or directory

and

error: /Users/gmacbook/Desktop/warzone2100-3.2.2/3rdparty/miniupnpc/declspec.h: No such file or directory


Could anyone please advise of a possible solution.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Mac OS Sierra compile build errors with 3.2.1 and 3.2.2

Post by vexed »

Since nobody on the dev team has a Mac, the project files are most likely the same as the 3.x series.
That means, that those files were present at one time, but now, they are not.

Thus, the fix is to fix the xcode project files to point to the new files instead of the ones it is looking for.
This will also apply to lots of other things that you will get errors on.

The best course of action to fix the Mac mess is to look at the Makefile.am in each directory, and use those as a template to what it should be looking for. You will have to add/remove stuff.

Good luck, and once you got it working, a patch would be nice. :)
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
rthome
New user
Posts: 1
Joined: 17 Nov 2014, 02:24

Re: Mac OS Sierra compile build errors with 3.2.1 and 3.2.2

Post by rthome »

Hi everyone...
first, I`m sorry my poor English, I`m training!
So... I have a Mac 2011 late with OS Sierra, and trying a lot to build the project! I had the problem above, download the not found archives and found another errors.
If yours Help me to build, I will make available the build.
these are my actual errors:
Error
Error
Post Reply