【发布时间】:2012-11-30 20:12:18
【问题描述】:
pepper_21 示例文件夹中有一个 hello_world.c 文件,我正在尝试编译。这是我正在使用的命令:
$NACL_SDK_ROOT/toolchain/linux_x86_newlib/bin/x86_64-nacl-gcc hello_world.c -o a.nexe -lppapi
这是错误:
hello_world.c: In function ‘Instance_DidCreate’:
hello_world.c:86: error: ‘TCNAME’ undeclared (first use in this function)
我改编了来自this page 的命令。怎样才能编译成功?
【问题讨论】:
-
您至少可以发布相关代码。这里没有人适合你
标签: c google-nativeclient