Page 1 of 1

Mac OS Sierra compile build errors with 3.2.1 and 3.2.2

Posted: 28 Jan 2017, 19:43
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.

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

Posted: 29 Jan 2017, 22:55
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. :)

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

Posted: 07 Mar 2017, 21:55
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