- Newest
- Most votes
- Most comments
They used std::runtime_error in Sandbox's code. Another error for " std::runtime_error " can be solved by add this line in StdAfx.h of Editor module: [Lumberyard_Root]\dev\Code\Sandbox\Editor\StdAfx.h
#include <stdexcept>
The code that creates problems is:
typedef struct { string name; string xmlFile; int cgfCount; void GetMemoryUsage(ICrySizer* pSizer) const { pSizer->AddObject(name); pSizer->AddObject(xmlFile); } } TGameTypeInfo;
In C++ you don't need typedef... Solution:
struct TGameTypeInfo { string name; string xmlFile; int cgfCount; void GetMemoryUsage(ICrySizer* pSizer) const { pSizer->AddObject(name); pSizer->AddObject(xmlFile); } };
I also added in ObjectManager.cpp: #include <stdexcept>
I'm using VS2019 btw.
A lot of people are saying VS2019 is not working for them, if you can try 2017 and see if that fixes any issues. 👍
VS2019 works well, just they have few little errors.
@REDACTEDUSER
vs2019_fix.patch|attachment (3.3 KB)
FYI, here is my unofficial fix up for VS2019 16.6 on my local system. We will fix it in the next release.
hello Thanks ...I did, but there is another problem for me Can you help?
lmbr_create2.txt|attachment (3.8 KB)
Looks like you didn't check VS2017 or VS2019 in SetupAssistant.
This post is closed: Adding new answers, comments, and votes is disabled.
Relevant content
- Accepted Answerasked 4 months ago
- Accepted Answerasked 2 years ago
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago