diff --git a/03-UnrealEngine/Animation/UE5动画重定向笔记.md b/03-UnrealEngine/Animation/UE5动画重定向笔记.md index c37f6ea..d903cc1 100644 --- a/03-UnrealEngine/Animation/UE5动画重定向笔记.md +++ b/03-UnrealEngine/Animation/UE5动画重定向笔记.md @@ -40,4 +40,60 @@ FChainDecoderFK::DecodePose(): # FBX -https://help.autodesk.com/view/FBX/2020/ENU/?guid=FBX_Developer_Help_welcome_to_the_fbx_sdk_html \ No newline at end of file +https://help.autodesk.com/view/FBX/2020/ENU/?guid=FBX_Developer_Help_welcome_to_the_fbx_sdk_html + +使用之前建议**仔细查看文档**。FBX Sdk有三种库,分别为动态链接库(dll + lib)、静态链接库(/MD)、静态链接库(/MT)。 + +- 动态链接库:使用Qt的导入库功能,导入动态库之后,只需要再添加一行`DEFINES += FBXSDK_SHARED`即可。例如: +```qmake +QT += core gui + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +CONFIG += c++17 +DEFINES += FBXSDK_SHARED +# You can make your code fail to compile if it uses deprecated APIs. +# In order to do so, uncomment the following line. +#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 + +SOURCES += \ + Common/Common.cpp \ + main.cpp \ + mainwindow.cpp + +HEADERS += \ + Common/Common.h \ + mainwindow.h + +FORMS += \ + mainwindow.ui + +# Default rules for deployment. +qnx: target.path = /tmp/$${TARGET}/bin +else: unix:!android: target.path = /opt/$${TARGET}/bin +!isEmpty(target.path): INSTALLS += target + +win32:CONFIG(release, debug|release): LIBS += -L$$PWD/FBXSdk/lib/vs2022/x64/release/ -llibfbxsdk +else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/FBXSdk/lib/vs2022/x64/debug/ -llibfbxsdk + +INCLUDEPATH += $$PWD/FBXSdk/lib/vs2022/x64/debug +DEPENDPATH += $$PWD/FBXSdk/lib/vs2022/x64/debug + +INCLUDEPATH += $$PWD/FBXSdk/include +``` +- 静态链接库(/MD):使用Qt的导入库功能,导入静态库之后, +- 静态链接库(/MT):使用Qt的导入库功能,导入静态库之后, + +## Qt相关设置添加 +https://blog.csdn.net/libaineu2004/article/details/105718847 +Qt在pro中设置运行时库MT、MTd、MD、MDd,重点关注QMAKE_CFLAGS + +多线程调试Dll (/MDd) 对应的是MD_DynamicDebug +多线程Dll (/MD) 对应的是MD_DynamicRelease +多线程(/MT) 对应的是MD_StaticRelease +多线程(/MTd)对应的是MD_StaticDebug + +##  /NODEFAULTLIB:library +```cpp +win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../LIBRARYNAME/Lib/ -lLIBRARY /NODEFAULTLIB:library +``` \ No newline at end of file diff --git a/07-Other/VPS账号 以及PS4 DNS.md b/07-Other/VPS账号 以及PS4 DNS.md index d964325..64fcf27 100644 --- a/07-Other/VPS账号 以及PS4 DNS.md +++ b/07-Other/VPS账号 以及PS4 DNS.md @@ -8,7 +8,7 @@ INDIVIDUAL ⑨ 米粒儿 -reimu +Reimu ## 向日葵 blueroseslol orkj694780U9t7r1