我试图链接到一个swiftkey库,得到了这个错误:
g++ test.cpp -I include/swiftkeysdk/ -L lib/x86/ -lswiftkeysdk-cpp
/usr/bin/ld: warning: libm.so.2, needed by lib/x86//libswiftkeysdk-cpp.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcpp.so.4, needed by lib/x86//libswiftkeysdk-cpp.so, not found
VSCode Version:1.8.1
OS Version:Windows 10 x64 and Kali Linux x64
嘿,我正在尝试做一个使用nodehun模块的VSCode扩展,它使用我在Windows10上使用命令行node的node-gyp来动态地链接hunspell库:
process.version = 7.4.0 process.arch = x64
如果我尝试使用NodeJS命令行界面手动使用nodehun方法,一切正常,但如果我尝试在extension.js中使用它并通过可视化代码进行调试,我会得到:
process.version = 6.5.0 process
我想将我的软件版本嵌入到我的代码中,然后使用类似命令的参数,如-v或--version,从程序二进制文件中检索它。例如,一些GNU/Linux软件二进制文件在命令行中提供-v或-V参数时会打印其版本信息,以ls为例:
$ ls --version
ls (GNU coreutils) 8.13
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free soft
我有一个Windows3.0应用程序,它在与OpenGL一起使用时工作得很好。我的着色程序都是从
#version 130 core\n
现在,当我使用Linux3.0Mesa18.0.5访问linux时,这些着色器的编译会出现错误消息。
Vertex shader failed: 0:1(10): error: illegal text following version number
这里有什么问题吗?它肯定是OpenGL 3.0,它应该支持GLSL1.3-它抱怨什么非法文本?