Debug build not working

I am trying to get my debug version of my C++ to work with OpenUSD. I have made a release build of OpenUSD and that works in release mode in my project but in debug it does not work. I looked around and came to the conclusion that I should make a debug build of OpenUSD. When I tried to make the debug build, I got the error below.

Any idea what I might be doing wrong? Do I need to make a debug build at all?

To debug , you definitely need debug symbols which means either building in debug or release with debug.

Could you share more about how you’re building, the command you run, the Python version etc that you’re using?


I am building the project using visual studio 2019. As for building the debug version of Open USD I am using the build_usd.py script and I ran the following in command prompt. (I left in the visual studio errors in case anyone wanted to see some of those.) I am using Python 3.12.1.


Better screenshot of the command I used

It’s quite difficult to parse screenshots. Would you be able to post the text or actual log files going forward?

In this case, both your original and new screenshot show different issues so it’s hard to find a theme based on what’s presented. I would recommend deleting your build folder, and doing a fresh build to make sure there are no conflicts, and then posting the build logs once done.

It would also help to know what version of OpenUSD you are building just to make sure it’s recent.

OpenUSD 25.5 just released a release candidate as well, and might help resolve some build issues potentially.

log.txt (636 Bytes)
Here is the log file for the build errors. I wont try to send anything related to my project build since it is now clear that it is distracting and will likely be fixed by having the debug versions of OpenUSD files. I am going to make a fresh build now and post the results.

log.txt (368 Bytes)
Attempted a fresh build but it couldnt download the boost files. I got around this when I build the first time by downloading the files manually. I didn’t do that this time. The version I am working with is 24.8