numworks / epsilon

Modern graphing calculator operating system.
https://www.numworks.com/resources/engineering/software/
1.73k stars 460 forks source link

Attempting to compile on windows to no avail. #1909

Open na-stewart opened 2 years ago

na-stewart commented 2 years ago

I followed all of the steps on the documentation (https://www.numworks.com/resources/engineering/software/build/#install-the-sdk) to install and compile Epsilon.

However, I cannot run the simulator locally due to

Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing 'freetype2.pc' to the PKG_CONFIG_PATH environment variable Package 'freetype2', required by 'virtual:world', not found Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable Package 'freetype2', required by 'virtual:world', not found I18N apps/i18n.cpp Traceback (most recent call last): File "/home/.../epsilon/apps/i18n.py", line 18, in import lz4.frame ModuleNotFoundError: No module named 'lz4' make: *** [apps/Makefile:73: output/release/simulator/windows/apps/i18n.cpp] Error 1

on MSYS2.

This is when running make PLATFORM=simulator epsilon_run

Would appreciate assistance and I would recommend adding more information to the documentation.

benjac05 commented 1 year ago

Having the exact same issue! (macOS)

na-stewart commented 1 year ago

Having the exact same issue! (macOS)

It's crazy this issue is a year old. absolutely no support. I'm pretty sure it's not actually compilable.

benjac05 commented 1 year ago

I ended up opening epsilon/apps/i18n.py and commenting out lines 18 and 462

->18. #import lz4.frame ->462. #compressedData = lz4.frame.compress(concatenatedData[locale], compression_level=12)

This fixed the problem, and it was able to build, but this isn't a good solution since I don't know when or by what the lz4 module is supposed to be used. I know it's a compression algorithm, but that's about the extent of my knowledge with the library.