Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile in Mac #41

Closed
timfel opened this issue Nov 19, 2015 · 7 comments
Closed

Can't compile in Mac #41

timfel opened this issue Nov 19, 2015 · 7 comments

Comments

@timfel
Copy link
Member

timfel commented Nov 19, 2015

A -D define for Mac in CPPFLAGS is added correctly, but if I don't add -D__unix too, the compilation fails.


Imported from Launchpad using lp2gh.

@timfel
Copy link
Member Author

timfel commented Nov 19, 2015

(by pali)
Please test CMake version from bzr. And if needed attach cmake patch which add missing flags

@timfel
Copy link
Member Author

timfel commented Nov 19, 2015

(by asdf22)
After add_definitions(-DUSE_MAC) in CMakeLists.txt, add: add_definitions(-D__unix)
FindOpenGLES.cmake uses some unknown CMake commands.
Had to remove Units.for_each(InternalRemoveUnit); from ai_local.h

@timfel
Copy link
Member Author

timfel commented Nov 19, 2015

(by asdf22)

1 similar comment
@timfel
Copy link
Member Author

timfel commented Nov 19, 2015

(by asdf22)

@timfel
Copy link
Member Author

timfel commented Nov 19, 2015

(by pali)
This bug was fixed in this commit: http://bazaar.launchpad.net/~stratagus/stratagus/trunk/revision/7984

But I do not have Mac to test Stratagus. Please confirm if all is OK.

@timfel
Copy link
Member Author

timfel commented Nov 19, 2015

(by asdf22)
Great, but I still can't compile because of libpng 1.5.

@timfel
Copy link
Member Author

timfel commented Nov 19, 2015

(by asdf22)
(And the compilation still fails with the line: Units.for_each(InternalRemoveUnit) in ai_local.h - but I guess that happens everywhere and that you know that already)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant