-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
non-zero exit status 2 while running python setup.py develop (exiting after building target assimp) #27
Comments
Other things I've tried:
This is the modified Dockerfile.base I ran:
|
Hi @francelico ! It would be very helpful if you could run again with |
You can do it by adding arguments Line 105 in c38436d
You can also manually run in the terminal from the root of the project:
|
Hi @alex-petrenko , I don't think this is distribution specific as I have the same error on a clean install of 22, on a separate machine. I didn't try 20 yet though, should I? Log output with -j1 option, on a clean Ubuntu 22.04.2 install |
@francelico sorry maybe I'm missing something but the log looks like it just abruptly ends. I don't see any compilation or linking errors. Does the build just stop here? Can you make sure you log both stdout and stderr, without seeing the error it is hard to understand what is happening. |
Hi @alex-petrenko , apologies for the delayed reply. Indeed I double checked and I was only logging stdout in my original file. I'm attaching the full log with both stdout and stderr. |
@francelico frustrating as it might be, I still have no idea what the actual error is. I can't find a concrete linking or compiling error in the logs. I can indeed see that the build is failing (with the error code 2) but it's impossible to figure out why without seeing the actual compilation output. There's a million warnings from different libraries we include, but no errors to be seen. I recommend that you try a standalone build, i.e. just regular cmake and then make, without the Python libraries first. You can pass the option -j1 to make to make sure it builds single-thread and stops immediately when the compiler fails. You can then just copy-paste the error from the terminal. Building C++ programs from sources can be frustrating like this, I guess this is one reason everyone uses python for everything. But hey, you can't write a million FPS renderer in Python :) |
@alex-petrenko indeed, that huge boost in FPS alone makes it worth it to fight a bit for it :) Building from the command line fails much earlier and throws a different compilation error (I am building from the src/ directory as there is no CMakeList.txt at the root). Attaching the log |
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.
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
The text was updated successfully, but these errors were encountered: