Mac OS Sierra compile build errors with 3.2.1 and 3.2.2

For code related discussions and questions

Mac OS Sierra compile build errors with 3.2.1 and 3.2.2

Postby belgarreth1 » 28 Jan 2017, 19:43

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.
belgarreth1
New user
 
Posts: 1
Joined: 28 Jan 2017, 19:35

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

Postby vexed » 29 Jan 2017, 22:55

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.
User avatar
vexed
Inactive
Inactive
 
Posts: 2369
Joined: 27 Jul 2010, 02:07

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

Postby rthome » 07 Mar 2017, 21:55

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:
Captura de Tela 2017-03-07 às 16.03.20.jpg
Error
rthome
New user
 
Posts: 1
Joined: 17 Nov 2014, 02:24


Return to Coding

cron