Open IshaanDesai opened 1 year ago
same as me . wait response
I manage to build rttr in Ubuntu 22.04 only after modifying two of the header files: In file I changed the following:
...
# else // CATCH_CONFIG_POSIX_SIGNALS is defined
#include <signal.h>
#undef SIGSTKSZ
#define SIGSTKSZ 32768
namespace Catch {
...
and in file
...
if (count) {
GenericValue* e = static_cast<GenericValue*>(allocator.Malloc(count * sizeof(GenericValue)));
SetElementsPointer(e);
//std::memcpy(e, values, count * sizeof(GenericValue));
e = values;
}
...
if (count) {
Member* m = static_cast<Member*>(allocator.Malloc(count * sizeof(Member)));
SetMembersPointer(m);
//std::memcpy(m, members, count * sizeof(Member));
m = members;
}
...
Hello,
I am struggling to compile
rttr
on a Ubuntu 22.04 machine. I am using themaster
branch and the commit: https://github.com/rttrorg/rttr/commit/7edbd580cfad509a3253c733e70144e36f02ecd4. The error I get is:The CMake configuration is:
I passed
"-sd=c++11"
asCMAKE_CXX_FLAGS
but that led to the compiler being usable right in the CMake phase. How can I resolve the above error?