-
Notifications
You must be signed in to change notification settings - Fork 20
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
compilation error on mac 10.8.5 #3
Comments
On Linux 13.04, I used emscripten master with the emscripten customized version of clang. On Mac, I am assuming you installed the SDK ? What is the value of In my case, both are defined. I would expect the same on your side. In the the |
536 /* Define to 1 if you have the <sstream> header file. */
537 /* #undef HAVE_SSTREAM */
538
539 /* Define to 1 if you have the <sstream.h> header file. */
540 /* #undef HAVE_SSTREAM_H */ […] 612 /* Define to 1 if you have the `strstr' function. */
613 /* #undef HAVE_STRSTR */
614
615 /* Define to 1 if you have the <strstream> header file. */
616 /* #undef HAVE_STRSTREAM */
617
618 /* Define to 1 if you have the <strstream.h> header file. */
619 /* #undef HAVE_STRSTREAM_H */
620
621 /* Define to 1 if you have the <strstrea.h> header file. */
622 /* #undef HAVE_STRSTREA_H */
|
As a datapoint I could not replicate this on mac ox 10.9 with emscripten emsdk_portable 1.16.0 and cmake 2.8.12.1. Everything built cleanly. |
@arnaudgelas Could you try re-configuring the DCMTK project in If this work, will update |
Any idea what's wrong?
/Users/arnaud/GITROOT/dcmjs/build/DCMTK/ofstd/include/dcmtk/ofstd/ofstream.h:43:2: error:
DCMTK needs stringstream or strstream type
error DCMTK needs stringstream or strstream type
^
/Users/arnaud/GITROOT/dcmjs/build/DCMTK/ofstd/include/dcmtk/ofstd/ofstream.h:118:23: error:
no type named 'strstream' in namespace 'std'
typedef STD_NAMESPACE strstream OFStringStream;
~~~~~~~~~~~~~ ^
/Users/arnaud/GITROOT/dcmjs/build/DCMTK/ofstd/include/dcmtk/ofstd/ofstream.h:119:23: error:
no type named 'ostrstream' in namespace 'std'
typedef STD_NAMESPACE ostrstream OFOStringStream;
~~~~~~~~~~~~~ ^
/Users/arnaud/GITROOT/dcmjs/build/DCMTK/ofstd/include/dcmtk/ofstd/ofstream.h:120:23: error:
no type named 'istrstream' in namespace 'std'
typedef STD_NAMESPACE istrstream OFIStringStream;
~~~~~~~~~~~~~ ^
4 errors generated.
ERROR root: compiler frontend failed to generate LLVM bitcode, halting
The text was updated successfully, but these errors were encountered: