分类 IT Technology 下的文章

python3在window上已安装,命令行也能正确识别到。
但cmake工程中的find就是找不到python3。

cmake生成工程加了-A win32参数,导致cmake只会去找32位的python。
错误信息:

_python3_executable-notfound

卸载64位的python,重新安装32位的python,问题得以解决.

local function encodeHtmlSpecialChars(str)
    local html = {
        ["<"] = "&lt;",
        [">"] = "&gt;",
        ["&"] = "&amp;",
    }
    local decstr, _ = string.gsub(tostring(str), "[<>&]", function(char)
        return html[char] or char
    end)
    return decstr
end

local function decodeHtmlSpecialChars(str)
    local html = {
        ["&lt;"] = "<",
        ["&gt;"] = ">",
        ["&amp;"] = "&",
    }
    local rawstr, _ = string.gsub(tostring(str), "%b&;", function(char)
        return html[char] or char
    end)
    return rawstr
end

godot支持TexturePacker需要使用到CodeAndWeb官方提供的TexturePacker Importer插件.

下载TexturePacker Importer,解压并放到工程的addons目录下.

TexturePacker中设置导出格子为Godot格式
TexturePacker.Importer.png

在把资源导入godot工程就可以使用精灵表单中的帧了.

使用插件vim-godot来支持gd script的代码高亮,快捷启动场景,配置ctages,但不启用自动补全。

1. 安装vim-godot

pathogen 包管理, window下的gwin.
$ cd D:/home/vimfiles/bundle
$ git clone https://github.com/habamax/vim-godot

阅读剩余部分

环境搭建

$ yum -y install gcc
$ yum -y install g++
$ yum install libXtst-devel libXt-devel libXrender-devel libXrandr-devel cups-devel fontconfig-devel alsa-lib-devel

编译

$ bash ./configure --with-extra-cxxflags="-Wno-error" \
--with-extra-cflags="-Wno-error" \
--enable-unlimited-crypto \
--with-native-debug-symbols=none \
--with-debug-level=release \
--with-target-bits=64 \
--with-boot-jdk=/home/jdks/dragonwell-11.0.17.13+8-GA
$ make images
$ ./build/linux-aarch64-normal-server-release/images/jdk/bin/java -version