dapperdox icon indicating copy to clipboard operation
dapperdox copied to clipboard

ARM build running issues

Open MrAndrew opened this issue 3 years ago • 1 comments

After downloading, untarring, and trying to run the example for ARM I get the following error:

./run_example.sh: line 10:  8581 Illegal instruction     ./dapperdox -spec-dir=examples/specifications/petstore/ -bind-addr=0.0.0.0:3123 -site-url=http://localhost:3123 -spec-rewrite-url=petstore.swagger.io=PETSTORE.swagger.io -log-level=trace -force-specification-list=false -theme=default

When I try the ARM64 version I see the following:

./run_example.sh: line 3: ./dapperdox: cannot execute binary file: Exec format error

I have the following printed when I run lscpu on the machine in question:

Architecture:        armv6l
Byte Order:          Little Endian
CPU(s):              1
On-line CPU(s) list: 0
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s):           1
Vendor ID:           ARM
Model:               7
Model name:          ARM1176
Stepping:            r0p7
CPU max MHz:         1000.0000
CPU min MHz:         700.0000
BogoMIPS:            697.95
Flags:               half thumb fastmult vfp edsp java tls

Any idea what's going on?

NOTE: I have no problem with the Windows x86 build on a different machine.

MrAndrew avatar Jun 11 '22 00:06 MrAndrew

Hi, I just bumped into this project. I hope this will help. (Running app on ARM - M1 Pro)

You have to install Go: brew install go Clone repository: git clone https://github.com/DapperDox/dapperdox.git Open folder: cd dapperdox Get go.mod file: go mod init github.com/DapperDox/dapperdox Build app: go get && go build or use Makefile: make You have built an application a you can run app: ./run_example.sh

Daniel-Programmer avatar Feb 08 '25 11:02 Daniel-Programmer