[问题] Meshlab use QT5.9 编码问题

楼主: lily1213 (lily)   2018-04-17 05:27:15
开发平台(Platform): (Ex: Win10, Linux, ...)
win10
编译器(Ex: GCC, clang, VC++...)+目标环境(跟开发平台不同的话需列出)
C++
额外使用到的函数库(Library Used): (Ex: OpenGL, ...)
Qt5.9,cmake,VCGlib
问题(Question):
出现"warning: C4819: 档案含有无法在目前字码页 (950) 中表示的字符。请以 Unicode 格式
储存盘案以防止资料遗失"的错误
错误结果(Wrong Output):
warning: C4819: 档案含有无法在目前字码页 (950) 中表示的字符。请以 Unicode 格式
储存盘案以防止资料遗失
程式码(Code):(请善用置底文网页, 记得排版,禁止使用图档)
我应用了qt-opensource-windows-x86-5.9.0,执行meshlab_mini.pro时出现错误
#
# meshlab_mini.pro
#
# This is a minimal project file for compiling as less as possible and having
a minimal meshlab setup.
# Compiling this minimal subset does not require any additional library
(except obviously qt and vcg).
#
TEMPLATE = subdirs
CONFIG += ordered
# the common framework, used by all the plugins,
SUBDIRS = common \
meshlab \ # the GUI framework
meshlabserver \
meshlabplugins/io_base\ # a few basic file formats
(ply, obj, off), without this you cannot open anything
meshlabplugins/filter_meshing \
meshlabplugins/decorate_base \
meshlabplugins/filter_measure \
#
# Next some other useful, but still easy to be compiled, plugins
# Uncomment them if you succeed in compiling the above ones.
# sampleplugins/sample_xmlfilter \
# meshlabplugins/decorate_background \
# meshlabplugins/decorate_base \
# meshlabplugins/edit_align \
# meshlabplugins/edit_manipulators \
# meshlabplugins/edit_select \
# meshlabplugins/filter_clean\
# meshlabplugins/filter_colorproc\
# meshlabplugins/filter_create\
# meshlabplugins/filter_layer\
# meshlabplugins/filter_mutualinfoxml\
# meshlabplugins/filter_quality \
# meshlabplugins/filter_sampling\
# meshlabplugins/filter_select \
# meshlabplugins/filter_sketchfab \
# meshlabplugins/filter_texture \
# meshlabplugins/filter_unsharp \
# meshlabplugins/io_collada \
# meshlabplugins/io_x3d \
补充说明(Supplement):
我是引用这个github上的程式码
https://github.com/cnr-isti-vclab/meshlab
可以麻烦各位大大帮忙完整编译这个程式吗?我苦恼好久了...
作者: Schottky (顺风相送)   2018-04-17 05:37:00
把该档用 unicode 格式储存,错误讯息讲得很清楚了不然就检查一下那个档案有什么不该出现的怪字符删掉你也没写你用哪一种 compiler虽然这个错误看起来比较像 Visual C++如果你不知道怎么转成 unicode,用记事本打开档案再选另存盘案,此时就可以改编码,随便你改
作者: LPH66 (-6.2598534e+18f)   2018-04-17 19:03:00
http://tinyurl.com/y7gdm252看起来是 Qt 的原始码 (可能是注解) 里用了非英文字
楼主: lily1213 (lily)   2018-04-17 23:15:00
谢谢您回应,但还是没办法解决还有更好的方法吗?跪求~
作者: uranusjr (←這人是超級笨蛋)   2018-04-18 00:42:00
这个警告明明就会提示是哪个档案有问题, 为什么不给?
楼主: lily1213 (lily)   2018-04-18 13:53:00
vcglib中Half.h color.h quality.h...都有这个warning感谢各位的帮助,我解决了

Links booklink

Contact Us: admin [ a t ] ucptt.com