horsicq / DIE-engine

DIE engine
MIT License
2.29k stars 317 forks source link

Compiling DIE GUI fails on Ubuntu 20.4.5 ARM64 #77

Closed dirk-fr closed 1 year ago

dirk-fr commented 1 year ago

I know ARM64 is not supported yet - still had to try. Maybe you find this helpful. release_version = 3.0.7

When compiling DIE on Ubuntu 20.4.5 ARM64, the make command for the gui_source sub-dir errors out:

../FormatWidgets/PE/peprocessdata.cpp: In member function ‘virtual void PEProcessData::_process()’: ../FormatWidgets/PE/peprocessdata.cpp:882:25: error: ‘struct SpecAbstract::SCAN_OPTIONS’ has no member named ‘varInfo’ 882 | options.varInfo = listResources.at(i).irin[0].nID; | ^~~ make: *** [Makefile:37271: peprocessdata.o] Error 1

Indeed there seems to be no "varInfo" member in the SCAB_OPTIONS struct. Commenting out line 882 in "peprocessdata.cpp" seems to resolve the issue - haven't seen any negative impact from doing that yet...

Dirk

horsicq commented 1 year ago

Wow! Thank you for testing it on ARM! I added this varinfo yesterday i guess you could just make fresh "git clone" to resolve this problem. Or just comment it as you did.

horsicq commented 1 year ago

I will add ARM in the future. Are you using Ubuntu ARM64 on Raspberry Pi?

dirk-fr commented 1 year ago

Working on a MacBook Air M2 running Ubuntu 20.4.5 ARM in a VMWare Fusion machine. So far DIE seems to compile (using automate) fine - had to manually install qt5script for some reason, otherwise no issues. If you have a test-suite to validate more formally, feel free to share and I'll run the tests.

horsicq commented 1 year ago

Great! Thank you!