megaverse icon indicating copy to clipboard operation
megaverse copied to clipboard

non-zero exit status 2 while running python setup.py develop (exiting after building target assimp)

Open francelico opened this issue 1 year ago • 8 comments

Hello,

I'm having trouble building from source. At first I thought it was similar to #17 , but the build seems to fail a little earlier, right after finishing to build assimp.

I've tried doing the checks @alex-petrenko recommended in #17 and I am getting the expected outputs.

First of all, please make sure that you executed the setup_env script in Vulkan SDK, i.e. following the instruction:

$ cd vulkansdk/1.2.162.0 $ source ./setup-env.sh

After you've done this, check that VULKAN_SDK env variable is set by running this in your terminal:

$ echo $VULKAN_SDK

To make sure the SDK headers contain the correct macros (the build procedure seems to be complaining about VK_ERROR_UNKNOWN), can you please search for it in the SDK folder, i.e. like this:

$ grep -r 'VK_ERROR_UNKNOWN' ./x86_64/include

Expected output is something like:

./x86_64/include/vulkan/vk_enum_string_helper.h: case VK_ERROR_UNKNOWN: ./x86_64/include/vulkan/vk_enum_string_helper.h: return "VK_ERROR_UNKNOWN"; ./x86_64/include/vulkan/vulkan.hpp: eErrorUnknown = VK_ERROR_UNKNOWN, ./x86_64/include/vulkan/vulkan_core.h: VK_ERROR_UNKNOWN = -13,

However even if all the test commands run fine (as well as the ones on the vulkand sdk website), I have noticed that the vulkan-sdk is supported for Ubuntu 20.04 and over. I am running Ubuntu 18.04.

Full output of the build command: setup_outputs.txt

francelico avatar Apr 28 '23 18:04 francelico