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

JS export template fails to compile #16960

Closed
alex9099 opened this issue Feb 23, 2018 · 2 comments
Closed

JS export template fails to compile #16960

alex9099 opened this issue Feb 23, 2018 · 2 comments

Comments

@alex9099
Copy link

alex9099 commented Feb 23, 2018

Hi, i was trying to compile javascript export templates but i am getting this error:

[ 57%] Compiling ==> core/node_path.cpp
thirdparty/misc/clipper.cpp:901:7: error: cannot use 'throw' with exceptions disabled
      throw clipperException("Coordinate outside allowed range");
      ^
thirdparty/misc/clipper.cpp:1049:5: error: cannot use 'throw' with exceptions disabled
    throw clipperException("AddPath: Open paths must be subject.");
    ^
thirdparty/misc/clipper.cpp:1081:5: error: cannot use 'throw' with exceptions disabled
    throw; //range test fails
    ^
thirdparty/misc/clipper.cpp:1065:3: error: cannot use 'try' with exceptions disabled
  try
  ^
thirdparty/misc/clipper.cpp:1445:5: error: cannot use 'throw' with exceptions disabled
    throw clipperException("UpdateEdgeIntoAEL: invalid call");
    ^
thirdparty/misc/clipper.cpp:1513:5: error: cannot use 'throw' with exceptions disabled
    throw clipperException("Error: PolyTree struct is needed for open path clipping.");
    ^
thirdparty/misc/clipper.cpp:1563:3: error: cannot use 'try' with exceptions disabled
  try {
  ^
thirdparty/misc/clipper.cpp:2841:5: error: cannot use 'throw' with exceptions disabled
    throw clipperException("ProcessIntersections error");
    ^
thirdparty/misc/clipper.cpp:2830:3: error: cannot use 'try' with exceptions disabled
  try {
  ^
thirdparty/misc/clipper.cpp:3005:8: error: cannot use 'throw' with exceptions disabled
  else throw clipperException("DoMaxima error");
       ^
10 errors generated.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
scons: *** [thirdparty/misc/clipper.javascript.debug.bc] Error 1
scons: building terminated because of errors.

Command i used: scons platform=javascript -j4 target=debug
Not sure if this is a already known error or i'm missing something :/
btw, are there nightly builds?

@akien-mga
Copy link
Member

CC @reduz @eska014

@Calinou
Copy link
Member

Calinou commented Mar 6, 2018

I can confirm this on 4f1b872 (GitLab CI build log).

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

3 participants