gcarmix / HexWalk

Hex Viewer/Editor/Analyzer compatible with Linux/Windows/MacOS
https://www.hexwalk.com
GNU General Public License v3.0
733 stars 30 forks source link

Cannot build on Linux Aarch64, static library error #24

Closed blue-devil closed 8 months ago

blue-devil commented 8 months ago

Hello, I am trying to compile it from the source but I got an error:

/usr/bin/ld: attempted static link of dynamic object `/usr/lib/libQt5Charts.so'
collect2: error: ld returned 1 exit status
make: *** [Makefile:294: hexwalk] Error 1

My platform:

So, I am trying to compile this tool for aarch64 architecture. How can I compile it dynamically for my platform?

Thank you

gcarmix commented 8 months ago

In hexwalk.pro try to comment out the following lines and let me know:

CONFIG += static QMAKE_LFLAGS += -no-pie -lstdc++ -Bstatic -static-libgcc -static-libstdc++ -static

blue-devil commented 8 months ago

Hello, it worked thank you

hexwalk lin arm

close #24

gcarmix commented 8 months ago

Good!