You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to the changes needed for #89, I'm finding that clang++ on macOS Monterey at least does not appear to be happy with in-place object instantiation/anonymous initialization. I by no means consider myself a C++ savant, so I'm not sure what the proper term for that is in this language, but for instance on line 173 of TFE_Asset/vueAsset.cpp:
That aside, stepping through the basics of a macOS build, I'll mention any particular gotchas here, then resolve the necessary changes between this and #89, then expect another PR with the code changes relevant to a functional build on both. That said, I'll make note that I may require someone else to run through building a Windows copy with those changes to ensure there are no regressions before merge, I don't have a Windows machine I could use for that currently.
I haven't touched anything personally in a while. There was some debate over the use of XDG variables in the past (not POSIX, don't apply to macOS) but most other stuff done for the Linux support, at least that I contributed to, should be POSIX and therefore constitute mac support as well.
I seem to recall all of one time actually getting the OpenGL surface to pop up, but it was so long ago now, I don't know if that has since been paved over.
All that to say, I suspect that it shouldn't be hard to get this over the finish line for macOS, but I'm not actively making any contributions at this point and couldn't tell you who is paying attention to portability concerns.
If anyone does want to take a concerted swing at it I'm happy to help out.
P.S. A bridge to this working may be experimenting with the codebase using XQuartz. That'll get you running on macOS without needing as much of the underlying toolkit stuff to be perfectly Cocoa-ready.
At the time (two years ago) the work as I saw it entailed taking the Linux build at the time, trying to build it on Mac, and squashing compiler bugs as they arose. I don't know what state the Linux build is in today, but so long as Linux support bits are built in a POSIX-y way, the only Mac-specific bits would be Cocoa-related methinks, and imGUI may abstract most if not all of that away. Well that and the object instantiation mentioned above, clang doesn't like it.
If that eases anyone's trepidation at taking a swing, that's what I would do if I had bandwidth to start studying this again, I don't remember running into a question I couldn't answer through available documentation back when I got an OpenGL surface to pop up on my Mac properly. Good luck!
Tried to build on an M1 Mac and thought I would note a few issues here, unclear if some of these are clang related or MacOS's STL at this time:
sprintf is currently deprecated on MacOS, get warnings about it
QUAD_MAX is defined in limits.h
clang doesn't like while (buf[i++] = readNumber(&ptr));, it wants parentheses around the assignment inside the while loop's parantheses
clang also does not seem like switch statements that don't have a default case handler, in case of the KEYWORD enum being handled, it complains of not every enum value being handled.
Some calls to TFE_System::logWrite pass a std::string through a variadic function, which is not allowed.
Conversions from size_t * (unsigned long *) fail to the various int types in the memory handler
There are perhaps more issues, but this is what I had time to collect today.
Tried to build on an M1 Mac and thought I would note a few issues here, unclear if some of these are clang related or MacOS's STL at this time:
* [ ] sprintf is currently deprecated on MacOS, get warnings about it
* [ ] QUAD_MAX is defined in limits.h
Are these 2 apple specific things? I don't see sprintf() being deprecated in any official standards document, and QUAD_MAX isn't predefined on linux/windows either. But the change is simple enough.
* [ ] clang doesn't like while (buf[i++] = readNumber(&ptr));, it wants parentheses around the assignment inside the while loop's parantheses
* [ ] clang also does not seem like switch statements that don't have a default case handler, in case of the KEYWORD enum being handled, it complains of not every enum value being handled.
Yeah clang-only warnings,
* [ ] Conversions from size_t * (unsigned long *) fail to the various int types in the memory handler
Don't see those with clang on linux, can you please post the error messages?
All the libraries that TFE depends on seem to be available on MacOS, so I thought I would try and build it and see how far I got.
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
sprintf complains on windows as well I believe, but this is a simple macro to define to make the messages go away, and obviously it's just noise, not an absolute requirement to fix.
Another one I missed, LINE_MAX
#define LINE_MAX 65536
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/syslimits.h:110:9: note: previous definition is here
#define LINE_MAX 2048 /* max bytes in an input line */
^
#define QUAD_MAX 1024
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/arm/limits.h:120:9: note: previous definition is here
#define QUAD_MAX LLONG_MAX
file->write(®ion->blockArrCapacity);
~~~~~~^~~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:49:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s8 *' (aka 'const signed char *') for 1st argument
void write(const s8* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:50:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u8 *' (aka 'const unsigned char *') for 1st argument
void write(const u8* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:51:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s16 *' (aka 'const short *') for 1st argument
void write(const s16* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:52:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u16 *' (aka 'const unsigned short *') for 1st argument
void write(const u16* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:53:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s32 *' (aka 'const int *') for 1st argument
void write(const s32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:54:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u32 *' (aka 'const unsigned int *') for 1st argument
void write(const u32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:55:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s64 *' (aka 'const long long *') for 1st argument
void write(const s64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:56:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u64 *' (aka 'const unsigned long long *') for 1st argument
void write(const u64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:57:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const f32 *' (aka 'const float *') for 1st argument
void write(const f32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:58:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const f64 *' (aka 'const double *') for 1st argument
void write(const f64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:59:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const std::string *' (aka 'const basic_string<char> *') for 1st argument
void write(const std::string* ptr, u32 count=1) override { writeString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:484:9: error: no matching member function for call to 'write'
file->write(®ion->blockCount);
~~~~~~^~~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:49:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s8 *' (aka 'const signed char *') for 1st argument
void write(const s8* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:50:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u8 *' (aka 'const unsigned char *') for 1st argument
void write(const u8* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:51:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s16 *' (aka 'const short *') for 1st argument
void write(const s16* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:52:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u16 *' (aka 'const unsigned short *') for 1st argument
void write(const u16* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:53:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s32 *' (aka 'const int *') for 1st argument
void write(const s32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:54:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u32 *' (aka 'const unsigned int *') for 1st argument
void write(const u32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:55:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s64 *' (aka 'const long long *') for 1st argument
void write(const s64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:56:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u64 *' (aka 'const unsigned long long *') for 1st argument
void write(const u64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:57:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const f32 *' (aka 'const float *') for 1st argument
void write(const f32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:58:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const f64 *' (aka 'const double *') for 1st argument
void write(const f64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:59:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const std::string *' (aka 'const basic_string<char> *') for 1st argument
void write(const std::string* ptr, u32 count=1) override { writeString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:485:9: error: no matching member function for call to 'write'
file->write(®ion->blockSize);
~~~~~~^~~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:49:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s8 *' (aka 'const signed char *') for 1st argument
void write(const s8* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:50:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u8 *' (aka 'const unsigned char *') for 1st argument
void write(const u8* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:51:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s16 *' (aka 'const short *') for 1st argument
void write(const s16* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:52:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u16 *' (aka 'const unsigned short *') for 1st argument
void write(const u16* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:53:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s32 *' (aka 'const int *') for 1st argument
void write(const s32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:54:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u32 *' (aka 'const unsigned int *') for 1st argument
void write(const u32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:55:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s64 *' (aka 'const long long *') for 1st argument
void write(const s64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:56:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u64 *' (aka 'const unsigned long long *') for 1st argument
void write(const u64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:57:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const f32 *' (aka 'const float *') for 1st argument
void write(const f32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:58:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const f64 *' (aka 'const double *') for 1st argument
void write(const f64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:59:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const std::string *' (aka 'const basic_string<char> *') for 1st argument
void write(const std::string* ptr, u32 count=1) override { writeString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:486:9: error: no matching member function for call to 'write'
file->write(®ion->maxBlocks);
~~~~~~^~~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:49:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s8 *' (aka 'const signed char *') for 1st argument
void write(const s8* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:50:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u8 *' (aka 'const unsigned char *') for 1st argument
void write(const u8* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:51:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s16 *' (aka 'const short *') for 1st argument
void write(const s16* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:52:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u16 *' (aka 'const unsigned short *') for 1st argument
void write(const u16* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:53:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s32 *' (aka 'const int *') for 1st argument
void write(const s32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:54:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u32 *' (aka 'const unsigned int *') for 1st argument
void write(const u32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:55:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const s64 *' (aka 'const long long *') for 1st argument
void write(const s64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:56:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const u64 *' (aka 'const unsigned long long *') for 1st argument
void write(const u64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:57:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const f32 *' (aka 'const float *') for 1st argument
void write(const f32* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:58:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const f64 *' (aka 'const double *') for 1st argument
void write(const f64* ptr, u32 count=1) override { writeType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:59:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'const std::string *' (aka 'const basic_string<char> *') for 1st argument
void write(const std::string* ptr, u32 count=1) override { writeString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:546:10: error: no matching member function for call to 'read'
file->read(®ion->blockArrCapacity);
~~~~~~^~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:36:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's8 *' (aka 'signed char *') for 1st argument
void read(s8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:37:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u8 *' (aka 'unsigned char *') for 1st argument
void read(u8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:38:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's16 *' (aka 'short *') for 1st argument
void read(s16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:39:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u16 *' (aka 'unsigned short *') for 1st argument
void read(u16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:40:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's32 *' (aka 'int *') for 1st argument
void read(s32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:41:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u32 *' (aka 'unsigned int *') for 1st argument
void read(u32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:42:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's64 *' (aka 'long long *') for 1st argument
void read(s64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:43:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u64 *' (aka 'unsigned long long *') for 1st argument
void read(u64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:44:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f32 *' (aka 'float *') for 1st argument
void read(f32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:45:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f64 *' (aka 'double *') for 1st argument
void read(f64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:46:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'std::string *' (aka 'basic_string<char> *') for 1st argument
void read(std::string* ptr, u32 count=1) override { readString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:547:10: error: no matching member function for call to 'read'
file->read(®ion->blockCount);
~~~~~~^~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:36:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's8 *' (aka 'signed char *') for 1st argument
void read(s8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:37:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u8 *' (aka 'unsigned char *') for 1st argument
void read(u8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:38:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's16 *' (aka 'short *') for 1st argument
void read(s16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:39:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u16 *' (aka 'unsigned short *') for 1st argument
void read(u16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:40:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's32 *' (aka 'int *') for 1st argument
void read(s32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:41:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u32 *' (aka 'unsigned int *') for 1st argument
void read(u32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:42:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's64 *' (aka 'long long *') for 1st argument
void read(s64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:43:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u64 *' (aka 'unsigned long long *') for 1st argument
void read(u64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:44:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f32 *' (aka 'float *') for 1st argument
void read(f32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:45:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f64 *' (aka 'double *') for 1st argument
void read(f64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:46:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'std::string *' (aka 'basic_string<char> *') for 1st argument
void read(std::string* ptr, u32 count=1) override { readString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:548:10: error: no matching member function for call to 'read'
file->read(®ion->blockSize);
~~~~~~^~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:36:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's8 *' (aka 'signed char *') for 1st argument
void read(s8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:37:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u8 *' (aka 'unsigned char *') for 1st argument
void read(u8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:38:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's16 *' (aka 'short *') for 1st argument
void read(s16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:39:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u16 *' (aka 'unsigned short *') for 1st argument
void read(u16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:40:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's32 *' (aka 'int *') for 1st argument
void read(s32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:41:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u32 *' (aka 'unsigned int *') for 1st argument
void read(u32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:42:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's64 *' (aka 'long long *') for 1st argument
void read(s64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:43:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u64 *' (aka 'unsigned long long *') for 1st argument
void read(u64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:44:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f32 *' (aka 'float *') for 1st argument
void read(f32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:45:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f64 *' (aka 'double *') for 1st argument
void read(f64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:46:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'std::string *' (aka 'basic_string<char> *') for 1st argument
void read(std::string* ptr, u32 count=1) override { readString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:549:10: error: no matching member function for call to 'read'
file->read(®ion->maxBlocks);
~~~~~~^~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:36:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's8 *' (aka 'signed char *') for 1st argument
void read(s8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:37:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u8 *' (aka 'unsigned char *') for 1st argument
void read(u8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:38:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's16 *' (aka 'short *') for 1st argument
void read(s16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:39:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u16 *' (aka 'unsigned short *') for 1st argument
void read(u16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:40:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's32 *' (aka 'int *') for 1st argument
void read(s32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:41:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u32 *' (aka 'unsigned int *') for 1st argument
void read(u32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:42:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's64 *' (aka 'long long *') for 1st argument
void read(s64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:43:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u64 *' (aka 'unsigned long long *') for 1st argument
void read(u64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:44:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f32 *' (aka 'float *') for 1st argument
void read(f32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:45:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f64 *' (aka 'double *') for 1st argument
void read(f64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:46:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'std::string *' (aka 'basic_string<char> *') for 1st argument
void read(std::string* ptr, u32 count=1) override { readString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:555:10: error: no matching member function for call to 'read'
file->read(&blockArrCapacity);
~~~~~~^~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:36:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's8 *' (aka 'signed char *') for 1st argument
void read(s8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:37:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u8 *' (aka 'unsigned char *') for 1st argument
void read(u8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:38:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's16 *' (aka 'short *') for 1st argument
void read(s16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:39:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u16 *' (aka 'unsigned short *') for 1st argument
void read(u16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:40:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's32 *' (aka 'int *') for 1st argument
void read(s32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:41:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u32 *' (aka 'unsigned int *') for 1st argument
void read(u32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:42:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's64 *' (aka 'long long *') for 1st argument
void read(s64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:43:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u64 *' (aka 'unsigned long long *') for 1st argument
void read(u64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:44:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f32 *' (aka 'float *') for 1st argument
void read(f32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:45:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f64 *' (aka 'double *') for 1st argument
void read(f64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:46:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'std::string *' (aka 'basic_string<char> *') for 1st argument
void read(std::string* ptr, u32 count=1) override { readString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:556:10: error: no matching member function for call to 'read'
file->read(&blockCount);
~~~~~~^~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:36:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's8 *' (aka 'signed char *') for 1st argument
void read(s8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:37:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u8 *' (aka 'unsigned char *') for 1st argument
void read(u8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:38:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's16 *' (aka 'short *') for 1st argument
void read(s16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:39:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u16 *' (aka 'unsigned short *') for 1st argument
void read(u16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:40:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's32 *' (aka 'int *') for 1st argument
void read(s32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:41:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u32 *' (aka 'unsigned int *') for 1st argument
void read(u32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:42:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's64 *' (aka 'long long *') for 1st argument
void read(s64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:43:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u64 *' (aka 'unsigned long long *') for 1st argument
void read(u64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:44:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f32 *' (aka 'float *') for 1st argument
void read(f32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:45:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f64 *' (aka 'double *') for 1st argument
void read(f64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:46:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'std::string *' (aka 'basic_string<char> *') for 1st argument
void read(std::string* ptr, u32 count=1) override { readString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:557:10: error: no matching member function for call to 'read'
file->read(&blockSize);
~~~~~~^~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:36:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's8 *' (aka 'signed char *') for 1st argument
void read(s8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:37:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u8 *' (aka 'unsigned char *') for 1st argument
void read(u8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:38:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's16 *' (aka 'short *') for 1st argument
void read(s16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:39:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u16 *' (aka 'unsigned short *') for 1st argument
void read(u16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:40:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's32 *' (aka 'int *') for 1st argument
void read(s32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:41:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u32 *' (aka 'unsigned int *') for 1st argument
void read(u32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:42:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's64 *' (aka 'long long *') for 1st argument
void read(s64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:43:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u64 *' (aka 'unsigned long long *') for 1st argument
void read(u64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:44:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f32 *' (aka 'float *') for 1st argument
void read(f32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:45:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f64 *' (aka 'double *') for 1st argument
void read(f64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:46:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'std::string *' (aka 'basic_string<char> *') for 1st argument
void read(std::string* ptr, u32 count=1) override { readString(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_Memory/memoryRegion.cpp:558:10: error: no matching member function for call to 'read'
file->read(&maxBlocks);
~~~~~~^~~~
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:36:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's8 *' (aka 'signed char *') for 1st argument
void read(s8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:37:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u8 *' (aka 'unsigned char *') for 1st argument
void read(u8* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:38:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's16 *' (aka 'short *') for 1st argument
void read(s16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:39:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u16 *' (aka 'unsigned short *') for 1st argument
void read(u16* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:40:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's32 *' (aka 'int *') for 1st argument
void read(s32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:41:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u32 *' (aka 'unsigned int *') for 1st argument
void read(u32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:42:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 's64 *' (aka 'long long *') for 1st argument
void read(s64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:43:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'u64 *' (aka 'unsigned long long *') for 1st argument
void read(u64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:44:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f32 *' (aka 'float *') for 1st argument
void read(f32* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:45:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'f64 *' (aka 'double *') for 1st argument
void read(f64* ptr, u32 count=1) override { readType(ptr, count); }
^
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:46:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'std::string *' (aka 'basic_string<char> *') for 1st argument
void read(std::string* ptr, u32 count=1) override { readString(ptr, count); }
My simple fix to get past the errors was just to add a read and write method that took size_t * instead of one of the project defined integer types. I was a little hesitant as this was my first 15 minutes looking at the actual code base and didn't want to modify something that might be reading or writing from data files where there are expected/required sizes of objects inside the files.
I also modified CMakeLists line 59 to if(LINUX OR MACOS) to get it to build
If I have a little more time, I could throw together a pull request on a few of the smaller changes
/Users/jonathan/code/TheForceEngine/TheForceEngine/TFE_FileSystem/filestream.h:51:7: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *')
How many bits does an "unsigned long" have on Apple? A bit strange that it does not match either the u32 or u64 specialization.
The sprintf->snprintf replacement should be fine, with the understanding this is an ANSI C99 extension.
For the size_t thing, size_t is defined as the type returned by sizeof () on a particular platform, so ideally should only be used in this context. If something else is being coerced to size_t and back out, that may be something where the type should be redefined elsewhere.
Could the issues be due to it being a pointer to size_t rather than size_t itself? C gets iffy on conversions between pointers of different types without a cast. This owes to some platforms historically having different pointer representations for different data types, even though this is quite uncommon nowadays.
What I'd do is inspect whether these variables of size_t are truly defined as the result of the sizeof () operator. If they aren't, then size_t technically isn't the right type for them, even if they may for instance be array indices. This is especially true if the field is from a binary file, because it may have originated as a size_t on the host platform (MS-DOS, x86), but it has since been flattened into a machine long-word, and is no longer defined as the general result of sizeof () on , it is a 4-byte little-endian value which is best read out as bytes and composited into a uint32_t (or equivalent). Granted you may cast it to size_t in appropriate places, but just understand you need to make sure you have the reverse of that casting and compositing anywhere you need to go back to the binary format.
So on my machine at least the capability check is failing for two reasons:
The "UBO" capability is not being detected (check for "GL_ARB_uniform_buffer_object" extension)
The texture buffer maximum size is being reported as 0 (check for GL_MAX_TEXTURE_BUFFER_SIZE via glGetIntegerv)
I think what's happening here is a result of mix-matching SDL and native OpenGL calls. For instance, in TFE_RenderBackend/Win32OpenGL/openGL_Caps.cpp, the OpenGL major/minor version are being requested via:
I get back a major.minor of 2.1. Still, the minimum requirements (defined as DEV_TIER_2) appear to be OpenGL 3.3 capabilities and a maximum texture buffer size of at least 0x10000.
I'm not sure if there is an SDL equivalent of the texture buffer size lookup. I tried briefly to find one to no avail. Some Googling around suggests that getting higher OpenGL profiles than 2.1 to work on macOS is a mixed bag. I wonder if this simply means macOS may need some significant work in the renderer. However, I do recall getting an OpenGL surface to pop up in Cocoa for this once upon a time...so there is probably a way. If I figure out any more I'll share that info here.
Adding just the last three actually finally got me a surface, looks like without the hints OpenGL defaults to 2.1 on macOS. With the hints I get OpenGL 4.1 on my machine. This also resolves the matter of not getting a maximum texture buffer size.
So in addition to adding this to the context setup right before creating the context (I chose 3.3 because that's the minimum the code is looking for):
I also had to edit the capability check because it was only checking for extensions that can provide the 3.3 experience on lower versions. In other words, the check on capabilities goes from:
The reason being that the individual checks are being done by looking up certain extension names, extension names that are no longer present when a given extension gets promulgated into the actual profile. Doesn't mean that bit isn't supported, just means it's been incorporated into the core profile and no longer exposes that extension handle.
This can probably be done more gracefully to allow macOS machines that do reach tier 3 (OpenGL 4.5) to also utilize whatever that adds in, but in any case this should be the root of getting a surface. After I make these changes, TFE launches and creates a full-screen, albeit blank, OpenGL surface. In the console I get the following:
2024-Oct-28 12:57:35 - [RenderBackend] SDL Videodriver: cocoa
2024-Oct-28 12:57:35 - [RenderBackend] GL Info: 4.1 INTEL-22.5.11, Intel(R) Iris(TM) Plus Graphics OpenGL Engine
2024-Oct-28 12:57:35 - [RenderBackend] OpenGL Device Tier: 2
2024-Oct-28 12:57:36 - [Error : Shader] Failed to compile 'Shaders/overlay.vert'!
2024-Oct-28 12:57:36 - [Error : Shader] Error: ERROR: 0:1: '' : version '130' is not supported
ERROR: 0:2: '' : #version required and missing.
2024-Oct-28 12:57:36 - [Error : Shader] Failed to compile 'Shaders/blit.vert'!
2024-Oct-28 12:57:36 - [Error : Shader] Error: ERROR: 0:1: '' : version '130' is not supported
ERROR: 0:2: '' : #version required and missing.
2024-Oct-28 12:57:36 - [Error : Shader] Failed to compile 'Shaders/blit.vert'!
2024-Oct-28 12:57:36 - [Error : Shader] Error: ERROR: 0:1: '' : version '130' is not supported
ERROR: 0:2: '' : #version required and missing.
2024-Oct-28 12:57:36 - [Error : Shader] Failed to compile 'Shaders/blit.vert'!
2024-Oct-28 12:57:36 - [Error : Shader] Error: ERROR: 0:1: '' : version '130' is not supported
ERROR: 0:2: '' : #version required and missing.
2024-Oct-28 12:57:36 - [Error : Shader] Failed to compile 'Shaders/blit.vert'!
2024-Oct-28 12:57:36 - [Error : Shader] Error: ERROR: 0:1: '' : version '130' is not supported
ERROR: 0:2: '' : #version required and missing.
2024-Oct-28 12:57:36 - [Error : Shader] Failed to compile 'Shaders/blit.vert'!
2024-Oct-28 12:57:36 - [Error : Shader] Error: ERROR: 0:1: '' : version '130' is not supported
ERROR: 0:2: '' : #version required and missing.
2024-Oct-28 12:57:36 - [Error : Shader] Failed to compile 'Shaders/blit.vert'!
2024-Oct-28 12:57:36 - [Error : Shader] Error: ERROR: 0:1: '' : version '130' is not supported
ERROR: 0:2: '' : #version required and missing.
2024-Oct-28 12:57:36 - [Error : Shader] Error:
2024-Oct-28 12:57:36 - [Error : Shader] Error:
2024-Oct-28 12:57:36 - [Error : Shader] Error:
2024-Oct-28 12:57:36 - [Warning : TextureGPU - OpenGL] Pre-existing OpenGL error: 0x501 when calling TextureGpu::create().
2024-Oct-28 12:57:36 - [Startup] TFE_AudioSystem::init
2024-Oct-28 12:57:36 - [Audio] SDLAudio using interface 'coreaudio'
2024-Oct-28 12:57:36 - [Audio] Device 00: MacBook Pro Speakers
2024-Oct-28 12:57:36 - [Audio] Device 01: Microsoft Teams Audio
2024-Oct-28 12:57:36 - [Audio] Starting up audio stream for device 'System Default'
2024-Oct-28 12:57:36 - [Startup] TFE_MidiPlayer::init
2024-Oct-28 12:57:36 - [Startup] TFE_Image::init
2024-Oct-28 12:57:36 - [Startup] TFE_FrontEndUI::init
2024-Oct-28 12:57:36 - [MemoryRegion] Allocated new memory block in region 'game' - new size is 1 blocks, total size is '8388608'
2024-Oct-28 12:57:36 - [MemoryRegion] Allocated new memory block in region 'level' - new size is 1 blocks, total size is '8388608'
2024-Oct-28 12:57:36 - [Progam Flow] The Force Engine Game Loop Started
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile vertex shader! With GLSL: #version 130
ERROR: 0:1: '' : version '130' is not supported
ERROR: 0:2: '' : #version required and missing.
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile fragment shader! With GLSL: #version 130
ERROR: 0:1: '' : version '130' is not supported
ERROR: 0:2: '' : #version required and missing.
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to link shader program! With GLSL #version 130
ERROR: One or more attached shaders not successfully compiled
2024-Oct-28 12:57:39 - [Audio] Shutdown
2024-Oct-28 12:57:39 - [Audio] Stop Audio Stream.
2024-Oct-28 12:57:39 - [MidiPlayer] Shutdown
2024-Oct-28 12:57:39 - [Progam Flow] The Force Engine Game Loop Ended.
Looks like the next domino is the shader GLSL versions. Hopefully all of these notes help.
...
Apple is known to be paranoid in following OpenGL specs and usually generates errors on
every deviation from it. And here we see that Apple engineers read the other portion of
OpenGL 3.2 specification listing supported GLSL versions as 1.40 and 1.50 - so that it does not
accept GLSL 1.30.
...
In contrast, Apple never has OpenGL 3.0/3.1 and implemented OpenGL 3.2 Core Profile straight
ahead (without any interest in implementing Compatible Profiles). That's why, I guess, they
preferred to read specs that GLSL 1.30 (OpenGL 3.1) is not supported.
...
Sounds like the GLSL version may be suspect in this specific case. Since this is getting into the realm of potentially reworking components altogether, I think the solution to this one will need some attention from @luciusDXL and other central folks. In any case, the details in this thread should provide a roadmap for getting the build system and basic C++ bits behaving better.
Word on the net is that for llvm's assembler, issues can arise if there are non-private labels between a .cfi_startproc and .cfi_endproc. This may be the case in _CallARM64, there are several labels down in there, but whether that's the case depends on if these qualify as "non-private" however the assembler defines that:
One solution may be to implement these labels as private, again however the assembler defines that. I'm surprised there's anything down in TFE using assembly code...that majorly diminishes the portability of the application.
@gilmorem560 agreed - I was surprised to find assembly code here. I'm hopeful it's not needed as I'm actually planning to try to port the core parts of the engine to embedded :)
The source implies this is being done so that they can be sure the same version is being used for all parts of the engine...presumably though if a platform has a shared library present the linker isn't going to arbitrarily link different objects with different versions, the same -l rule should result in the latest .so/.dylib getting pulled in regardless. Not sure how much it matters in practice, but you could potentially try linking with a later version, either statically or by docking this out and pointing at a system copy. I did something similar with a whole host of dependencies like SDL2 which were also packed in as DLLs in the source code repo for some reason, replacing the references with inclusion of shared libraries, and didn't really notice any major problems. I think imGUI was the only of the top-level dependencies I couldn't re-point to a shared object simply because imGUI doesn't have good support for that linking scenario.
Anywho, hope that helps. It's now less surprising me to see assembly because scripting engines do tend to include some to speed up certain things, but still, being dependent on a scripting library that has machine-dependent code like that does impact the portability. There may be some implication here that a different scripting interface may be beneficial to the long-term accessibility of the project, that or perhaps a way to omit scripting in environments where the script engine simply can't be built, allowing the rest of the application to still be bootstrapped on new platforms. In the defense of AngelScript, it does appear to support: ARM(64), MIPS, PowerPC(64), RISC-V 64, SuperH-4, and x86(_64), a pretty wide spread, so in practice this probably won't come up for overwhelmingly common consume devices...but is still a factor.
Long story short, try pulling in a more recent copy of AngelScript somehow and that may result in better operation. I suggest deleting the old, dropping in the new, then using git diff to determine where things might need a touch up to integrate properly. This'll also give you an idea of generally the delta between the current static version and the latest from the vendor.
Yea, once I replace the angelscript files in the repo with ones from fresh download the compilation / linking are fine and the exectuable runs with the same GPU / GL capabilities issues mentioned above.
Activity
gilmorem560 commentedon Nov 29, 2021
In addition to the changes needed for #89, I'm finding that clang++ on macOS Monterey at least does not appear to be happy with in-place object instantiation/anonymous initialization. I by no means consider myself a C++ savant, so I'm not sure what the proper term for that is in this language, but for instance on line 173 of TFE_Asset/vueAsset.cpp:
transforms.push_back({ rotScale, translation });fails in clang++, but:
VueTransform transform = { rotScale, translation }; transforms.push_back(transform);works.
That aside, stepping through the basics of a macOS build, I'll mention any particular gotchas here, then resolve the necessary changes between this and #89, then expect another PR with the code changes relevant to a functional build on both. That said, I'll make note that I may require someone else to run through building a Windows copy with those changes to ensure there are no regressions before merge, I don't have a Windows machine I could use for that currently.
sofakng commentedon Sep 19, 2023
Is this still on the roadmap or being developed?
gilmorem560 commentedon Sep 19, 2023
I haven't touched anything personally in a while. There was some debate over the use of XDG variables in the past (not POSIX, don't apply to macOS) but most other stuff done for the Linux support, at least that I contributed to, should be POSIX and therefore constitute mac support as well.
I seem to recall all of one time actually getting the OpenGL surface to pop up, but it was so long ago now, I don't know if that has since been paved over.
All that to say, I suspect that it shouldn't be hard to get this over the finish line for macOS, but I'm not actively making any contributions at this point and couldn't tell you who is paying attention to portability concerns.
If anyone does want to take a concerted swing at it I'm happy to help out.
P.S. A bridge to this working may be experimenting with the codebase using XQuartz. That'll get you running on macOS without needing as much of the underlying toolkit stuff to be perfectly Cocoa-ready.
dgorshkov commentedon Nov 14, 2023
(this is an upvote)
sofakng commentedon Dec 14, 2023
I would also really like to see macOS support...
gilmorem560 commentedon Dec 18, 2023
At the time (two years ago) the work as I saw it entailed taking the Linux build at the time, trying to build it on Mac, and squashing compiler bugs as they arose. I don't know what state the Linux build is in today, but so long as Linux support bits are built in a POSIX-y way, the only Mac-specific bits would be Cocoa-related methinks, and imGUI may abstract most if not all of that away. Well that and the object instantiation mentioned above, clang doesn't like it.
If that eases anyone's trepidation at taking a swing, that's what I would do if I had bandwidth to start studying this again, I don't remember running into a question I couldn't answer through available documentation back when I got an OpenGL surface to pop up on my Mac properly. Good luck!
mikesk8 commentedon Apr 5, 2024
Is there still a chance the Mac version happens soon? ;-)
Burrito78 commentedon May 24, 2024
Just leaving a comment as my vote for a macOS build. Thank you.
jodaco commentedon Jul 7, 2024
Tried to build on an M1 Mac and thought I would note a few issues here, unclear if some of these are clang related or MacOS's STL at this time:
There are perhaps more issues, but this is what I had time to collect today.
mlauss2 commentedon Jul 8, 2024
Are these 2 apple specific things? I don't see sprintf() being deprecated in any official standards document, and QUAD_MAX isn't predefined on linux/windows either. But the change is simple enough.
Yeah clang-only warnings,
Don't see those with clang on linux, can you please post the error messages?
jodaco commentedon Jul 8, 2024
All the libraries that TFE depends on seem to be available on MacOS, so I thought I would try and build it and see how far I got.
sprintf complains on windows as well I believe, but this is a simple macro to define to make the messages go away, and obviously it's just noise, not an absolute requirement to fix.
Another one I missed, LINE_MAX
My simple fix to get past the errors was just to add a read and write method that took size_t * instead of one of the project defined integer types. I was a little hesitant as this was my first 15 minutes looking at the actual code base and didn't want to modify something that might be reading or writing from data files where there are expected/required sizes of objects inside the files.
I also modified CMakeLists line 59 to if(LINUX OR MACOS) to get it to build
If I have a little more time, I could throw together a pull request on a few of the smaller changes
mlauss2 commentedon Jul 8, 2024
How many bits does an "unsigned long" have on Apple? A bit strange that it does not match either the u32 or u64 specialization.
Could you please test PR #419 ? Thanks!
gilmorem560 commentedon Jul 8, 2024
The sprintf->snprintf replacement should be fine, with the understanding this is an ANSI C99 extension.
For the size_t thing, size_t is defined as the type returned by sizeof () on a particular platform, so ideally should only be used in this context. If something else is being coerced to size_t and back out, that may be something where the type should be redefined elsewhere.
Could the issues be due to it being a pointer to size_t rather than size_t itself? C gets iffy on conversions between pointers of different types without a cast. This owes to some platforms historically having different pointer representations for different data types, even though this is quite uncommon nowadays.
What I'd do is inspect whether these variables of size_t are truly defined as the result of the sizeof () operator. If they aren't, then size_t technically isn't the right type for them, even if they may for instance be array indices. This is especially true if the field is from a binary file, because it may have originated as a size_t on the host platform (MS-DOS, x86), but it has since been flattened into a machine long-word, and is no longer defined as the general result of sizeof () on , it is a 4-byte little-endian value which is best read out as bytes and composited into a uint32_t (or equivalent). Granted you may cast it to size_t in appropriate places, but just understand you need to make sure you have the reverse of that casting and compositing anywhere you need to go back to the binary format.
31 remaining items
thermophylae33 commentedon Oct 26, 2024
same error - tried it with a couple different numbers down to 2.0 but doesn't change anything unfortunately.
gilmorem560 commentedon Oct 28, 2024
So on my machine at least the capability check is failing for two reasons:
I think what's happening here is a result of mix-matching SDL and native OpenGL calls. For instance, in TFE_RenderBackend/Win32OpenGL/openGL_Caps.cpp, the OpenGL major/minor version are being requested via:
Both gl_maj and gl_min are 0 on my machine after these lines run. However, if I swap these with
I get back a major.minor of 2.1. Still, the minimum requirements (defined as DEV_TIER_2) appear to be OpenGL 3.3 capabilities and a maximum texture buffer size of at least 0x10000.
I'm not sure if there is an SDL equivalent of the texture buffer size lookup. I tried briefly to find one to no avail. Some Googling around suggests that getting higher OpenGL profiles than 2.1 to work on macOS is a mixed bag. I wonder if this simply means macOS may need some significant work in the renderer. However, I do recall getting an OpenGL surface to pop up in Cocoa for this once upon a time...so there is probably a way. If I figure out any more I'll share that info here.
gilmorem560 commentedon Oct 28, 2024
Adding just the last three actually finally got me a surface, looks like without the hints OpenGL defaults to 2.1 on macOS. With the hints I get OpenGL 4.1 on my machine. This also resolves the matter of not getting a maximum texture buffer size.
So in addition to adding this to the context setup right before creating the context (I chose 3.3 because that's the minimum the code is looking for):
I also had to edit the capability check because it was only checking for extensions that can provide the 3.3 experience on lower versions. In other words, the check on capabilities goes from:
to
The reason being that the individual checks are being done by looking up certain extension names, extension names that are no longer present when a given extension gets promulgated into the actual profile. Doesn't mean that bit isn't supported, just means it's been incorporated into the core profile and no longer exposes that extension handle.
This can probably be done more gracefully to allow macOS machines that do reach tier 3 (OpenGL 4.5) to also utilize whatever that adds in, but in any case this should be the root of getting a surface. After I make these changes, TFE launches and creates a full-screen, albeit blank, OpenGL surface. In the console I get the following:
Looks like the next domino is the shader GLSL versions. Hopefully all of these notes help.
gilmorem560 commentedon Oct 29, 2024
https://stackoverflow.com/questions/68268197/is-glsl-1-30-always-supported-in-opengl-3-x-4-x
Food for thought:
Sounds like the GLSL version may be suspect in this specific case. Since this is getting into the realm of potentially reworking components altogether, I think the solution to this one will need some attention from @luciusDXL and other central folks. In any case, the details in this thread should provide a roadmap for getting the build system and basic C++ bits behaving better.
finger563 commentedon Apr 18, 2025
I'm also trying to build on M1 silicon and outside of the warnings, what I'm getting is an assembly error:
Have I misconfigured something or is there a different patch I need?
gilmorem560 commentedon Apr 18, 2025
Word on the net is that for llvm's assembler, issues can arise if there are non-private labels between a .cfi_startproc and .cfi_endproc. This may be the case in _CallARM64, there are several labels down in there, but whether that's the case depends on if these qualify as "non-private" however the assembler defines that:
https://reviews.llvm.org/D153167
One solution may be to implement these labels as private, again however the assembler defines that. I'm surprised there's anything down in TFE using assembly code...that majorly diminishes the portability of the application.
finger563 commentedon Apr 18, 2025
@gilmorem560 agreed - I was surprised to find assembly code here. I'm hopeful it's not needed as I'm actually planning to try to port the core parts of the engine to embedded :)
gilmorem560 commentedon Apr 18, 2025
For the record too that is another dependency being packed in statically from a disconnected snapshot:
https://www.angelcode.com/angelscript/
The source implies this is being done so that they can be sure the same version is being used for all parts of the engine...presumably though if a platform has a shared library present the linker isn't going to arbitrarily link different objects with different versions, the same -l rule should result in the latest .so/.dylib getting pulled in regardless. Not sure how much it matters in practice, but you could potentially try linking with a later version, either statically or by docking this out and pointing at a system copy. I did something similar with a whole host of dependencies like SDL2 which were also packed in as DLLs in the source code repo for some reason, replacing the references with inclusion of shared libraries, and didn't really notice any major problems. I think imGUI was the only of the top-level dependencies I couldn't re-point to a shared object simply because imGUI doesn't have good support for that linking scenario.
Anywho, hope that helps. It's now less surprising me to see assembly because scripting engines do tend to include some to speed up certain things, but still, being dependent on a scripting library that has machine-dependent code like that does impact the portability. There may be some implication here that a different scripting interface may be beneficial to the long-term accessibility of the project, that or perhaps a way to omit scripting in environments where the script engine simply can't be built, allowing the rest of the application to still be bootstrapped on new platforms. In the defense of AngelScript, it does appear to support: ARM(64), MIPS, PowerPC(64), RISC-V 64, SuperH-4, and x86(_64), a pretty wide spread, so in practice this probably won't come up for overwhelmingly common consume devices...but is still a factor.
Long story short, try pulling in a more recent copy of AngelScript somehow and that may result in better operation. I suggest deleting the old, dropping in the new, then using git diff to determine where things might need a touch up to integrate properly. This'll also give you an idea of generally the delta between the current static version and the latest from the vendor.
sofakng commentedon Apr 26, 2025
Hopefully these issues can be resolved ... It would be great to have macOS support!
finger563 commentedon Apr 26, 2025
Using a downloaded version of Angel script and some slight force script mods I was able to get it to compile but I haven't tested it yet
finger563 commentedon Apr 28, 2025
Yea, once I replace the angelscript files in the repo with ones from fresh download the compilation / linking are fine and the exectuable runs with the same GPU / GL capabilities issues mentioned above.
Updates to run on macOS (see description)
Updates to run on macOS (see description)
macOS Support (#584)
Updates on Jan 26, 2026 18:52