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

Throw statement in poly2tri #156

Open
Pouja opened this issue Jun 3, 2015 · 2 comments
Open

Throw statement in poly2tri #156

Pouja opened this issue Jun 3, 2015 · 2 comments

Comments

@Pouja
Copy link

Pouja commented Jun 3, 2015

Not sure if I should mention this error here or in the cocos2d/cocos2d-x repo.

Sweep.cc contains a throw which (I think) makes my building fail with v3-deps-57.

The full error when building:

/external/poly2tri/sweep/sweep.cc:759:78: error: exception handling disabled, use -fexceptions to enable
   throw std::runtime_error("[Unsupported] Opposing point on constrained edge");
@zilongshanren
Copy link
Member

@Pouja which platform do you use?

@Pouja
Copy link
Author

Pouja commented Jun 15, 2015

@AndyQue Linux, fedora 20 to be more precise, and with g++ (gcc) 4.8.3. The build fails with the given error when I set BUILD_EDITOR_COCOSTUDIO to OFF. When it is set to, as default, ON the build succeeds.

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

2 participants