我尝试使用Emscripten将c ++项目移植到网络上。 为此,我需要将库构建为llvm字节码(.bc)。 我发现this thread可能有所帮助,不幸的是它对我没用。 我遇到了数百个错误。 这是一个示例:
erasme:~/Sources/boost$ ./b2
ERROR root: no input files
...
libs/context/src/unsupported.cpp:7:2: error: "platform not supported"
#error "platform not supported"
^
1 error generated.
ERROR root: compiler frontend failed to generate LLVM bitcode, halting
有没有人用emscripten建立提升?怎么样?
感谢您的回答。 埃拉斯姆。