在三星智能电视模拟器上使用 PNaCl 时出现 "Missing plug-in" 错误

Getting "Missing plug-in" error when using PNaCl on Samsung Smart TV Emulator

我正在为 Samsung Smart TV 开发应用程序。 HTML/CSS/JavaScript 中创建的部分在模拟器上运行良好,但我还需要使用 C++。我添加了一个 PNaCl 模块,但我看到了错误消息 "Missing plug-in"。我应该如何在 Samsung Smart TV 应用程序中使用 C++ 代码?

确保您正在编译特定于体系结构的可执行文件,即 .nexe 而不是 pexe。为此,请使用 newlib 或 glibc 工具链。据此dev page

On TizenTV the process of translation is performed by the developer after the compilation to .pexe.

我认为旧款智能电视也是如此,因此尝试加载 pexe 失败。