Simple VS 2022 project can't parse data
rickomax opened this issue · comments
Ricardo Reis commented
Description of Issue
The stage parser seem to be reading garbage data instead of my actual file data.
Steps to Reproduce
- I have built a new Visual Studio 2022 console project, included all needed USD libraries and headers, and used the following code:
#include <boost-1_82/boost/beast/core.hpp>
#include <boost-1_82/boost/beast/websocket.hpp>
#include <boost-1_82/boost/asio/ip/tcp.hpp>
#include <pxr/usd/usd/stage.h>
void usd_load(boost::beast::websocket::stream<boost::asio::ip::tcp::socket>& ws, const std::string& file_full_path)
{
pxr::UsdStageRefPtr stage = pxr::UsdStage::Open(file_full_path);
}
System Information (OS, Hardware)
Windows 10 - Visual Studio 2022
Package Versions
Lastest from branch
Build Flags
Standard MSVC console project flags