linux - 如何开始使用 fbx-conv? "Command not found"问题

标签 linux macos libgdx fbx

有谁知道如何在 mac 上使用 fbx-conv 吗?我在这里下载了 zip 文件:http://libgdx.badlogicgames.com/fbx-conv/

带有fbx-conv-mac thePathOfMyFile的命令行不起作用,它总是显示“找不到命令”。然后是自述文件:

On Linux and Mac, we have to link to the dynamic libraries of the FBX SDK (libfbxsdk.so and libfbxsdk.dylib). We recommend copying libfbxsdk.so to /usr/lib on Linux. Otherwise you can use LD_LIBRARY_PATH and set it to the directory you put the .so file.

我只有 .dylib 文件,因此我尝试使用以下命令将其复制到 /usr/lib 中:sudo cp/Users/MyName/fbx-conv/libfbxsdk.dylib/usr/lib ,它工作了,文件被复制到这个文件夹,但是命令行 fbx-conv-mac thePathOfMyFile 仍然不起作用:command未找到

仍在自述文件中,它说:

Building
You'll need premake and an installation of the FBX SDK 2014. Once installed/downloaded, set the FBX_SDK_ROOT to the directory where you installed the FBX SDK. Then run one of the generate_XXX scripts. These will generate a Visual Studio/XCode project, or a Makefile.

在 Google 上,使用 FBX SDK 2014,我找到了下载 fbx-conv-master 的链接:https://github.com/libgdx/fbx-conv看起来像是包含好文件的文件夹,但我不知道如何使用它们,例如没有 fbx-conv

有什么帮助吗?

谢谢

最佳答案

好的,我从 libgdx 论坛得到了答案,在 Mac 上,解决方案是编写 ./fbx-conv-mac filePath 而不是 fbx-conv-mac filePath 。它对我有用。

关于linux - 如何开始使用 fbx-conv? "Command not found"问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23237742/

相关文章:

linux - 所有任务的单一公共(public)地址空间

macos - 如何自动生成 Makefile 帮助命令

java - 如何在没有 box2d libgdx 的情况下对对象施加脉冲

linux - 一段时间后 HTTP Live Stream 停止播放

linux - GNU screen - 仅在程序运行后执行另一个命令

r - 打开 RStudio 时出现问题

c++ - 本地 CGEventRef 是否被视为指针?

java - LIBGDX 在 Android 上首次运行时的白色纹理

java - 在 Libgdx (Android) 的相机 View 之外时, Sprite 是否会自动不被绘制

创建一个新的瘦进程、 fork 还是线程?