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

Linux compile Error #706

Open
m241dan opened this issue Sep 15, 2016 · 2 comments
Open

Linux compile Error #706

m241dan opened this issue Sep 15, 2016 · 2 comments

Comments

@m241dan
Copy link

m241dan commented Sep 15, 2016

Getting this error on a linux compile:

In file included from ../../include/Polycode.h:108:0,
from ../../include/polycode/bindings/lua/PolycodeLua.h:2,
from ../../src/core/PolyResourceManager.cpp:35:
../../include/polycode/core/PolySDLCore.h:40:42: error: invalid use of incomplete type ‘class Polycode::CoreMutex’
class _PolyExport SDLCoreMutex : public CoreMutex {
^
In file included from ../../include/Polycode.h:71:0,
from ../../include/polycode/bindings/lua/PolycodeLua.h:2,
from ../../src/core/PolyResourceManager.cpp:35:
../../include/polycode/core/PolySoundManager.h:38:11: note: forward declaration of ‘class Polycode::CoreMutex’
class CoreMutex;
^
make: *** [../../src/core/PolyResourceManager.o] Error 1

@ghost
Copy link

ghost commented Sep 15, 2016

This is on goodbye_cmake, right?
I made a PR that fixes it, but it's yet to be merged.

For now, you could grab my branch here: https://github.com/sanghakchun/Polycode/tree/linux-build-fix

@m241dan
Copy link
Author

m241dan commented Sep 15, 2016

Ya, gooodbye_cmake. I'll check it out, thanks!

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

No branches or pull requests

1 participant