Compile on MacOS Catalina
Posted: Sat Jul 03, 2021 8:30 am
Hi all, the software looks very interesting and would definitely help with some Blender nodes for rendering. I am not a programmer and can just dabble a little bit in the terminal. At the moment I am trying to install CGRU on Mac. Looking at the documentation, i see we have to use the build.sh and add the CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake . I have homebrew and the libraries as mentioned in the other post on this forum. I have hit a technical snag or maybe just aloof. Here is what my terminal shows when i use the build script
/Users/prajwalvas/Downloads/cgru.3.2.0/afanasy/src/libafanasy/name_afstr.cpp:141:60: error: expected expression
std::transform(lower.begin(), lower.end(), lower.begin(), [](unsigned char c){ return std::tolower(c); });
^
1 error generated.
make[2]: *** [libafanasy/CMakeFiles/afanasy.dir/Users/prajwalvas/Downloads/cgru.3.2.0/afanasy/src/libafanasy/name_afstr.cpp.o] Error 1
make[1]: *** [libafanasy/CMakeFiles/afanasy.dir/all] Error 2
make: *** [all] Error 2
All you fantastic folks at cgru please guide me. Let me know if this makes sense.Thanks in advance
/Users/prajwalvas/Downloads/cgru.3.2.0/afanasy/src/libafanasy/name_afstr.cpp:141:60: error: expected expression
std::transform(lower.begin(), lower.end(), lower.begin(), [](unsigned char c){ return std::tolower(c); });
^
1 error generated.
make[2]: *** [libafanasy/CMakeFiles/afanasy.dir/Users/prajwalvas/Downloads/cgru.3.2.0/afanasy/src/libafanasy/name_afstr.cpp.o] Error 1
make[1]: *** [libafanasy/CMakeFiles/afanasy.dir/all] Error 2
make: *** [all] Error 2
All you fantastic folks at cgru please guide me. Let me know if this makes sense.Thanks in advance