Solve error: Cannot open include file: 'X11/Xlocale.h': No such file or directory

简介:

When you use FLTK with VS2010, you may get the error: fatal error C1083: Cannot open include file: 'X11/Xlocale.h': No such file or directory.

The way to solve this is quite simple, just add the following line before '#include <FL/Fl.H>'

#define WIN32

 本文转自博客园Grandyang的博客,原文链接:Solve error: Cannot open include file: 'X11/Xlocale.h': No such file or directory,如需转载请自行联系原博主。

相关文章
libfreetype.so.6: cannot open shared object file: No such file or directory
libfreetype.so.6: cannot open shared object file: No such file or directory
542 0
|
机器学习/深度学习 Linux
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
230 0
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
|
7月前
|
Java
cannot open shared object file: No such file or directory
cannot open shared object file: No such file or directory
93 0
|
Python
ERROR: file or directory not found: xx.py
​ 1、问题出现原因 在vscode中已导入pytest框架,做自动化demo小测试,运行Python文件一直出现如题错误,截图如下: ERROR: file or directory not found: xx.py  2、解决办法 1)直接把该文件移到当前主目录下,放在PYTHON-STUDY下 2)VSCode中右键tuopan.py文件,选择[在集成终端中打开],或者通过CD命令进入到tuopan.py文件所在目录 然后输入以下命令即可: 注:上述命令不是换行,在d:/前有空格 ,第一行信息为python所在安装路径,空格后的换行为运行的python文件的所在路径  
173 0
完美解决common_define.h: No such file or directory
完美解决common_define.h: No such file or directory
242 0
完美解决common_define.h: No such file or directory
|
并行计算 TensorFlow 算法框架/工具
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
323 0
|
Windows
Cannot open include file: ‘Windows.h‘: No such file or directory
Cannot open include file: ‘Windows.h‘: No such file or directory
268 0
ibavformat.so.57: cannot open shared object file: No such file or directory
ibavformat.so.57: cannot open shared object file: No such file or directory
160 0
Cannot open include file: 'unistd.h': No such file or directory的解决办法
Cannot open include file: 'unistd.h': No such file or directory的解决办法
395 0
|
并行计算
ImportError: libcudart.so.9.2: cannot open shared object file: No such file or directory
ImportError: libcudart.so.9.2: cannot open shared object file: No such file or directory
158 0