Find Jobs
Hire Freelancers

Exec format error when trying to run c++ executable on mac

$10-30 USD

Mbyllur
Postuar almost 2 years ago

$10-30 USD

Paguhet në dorëzim
I am having trouble running the example executable of a project. I am just seeking help running the example. I have been struggling with this for some time now and have run out of ideas. When I try to run the first sample I get "zsh: exec format error”. I am offering 30 dollars for whoever can solve this for me today. Solve means getting the executable to run properly on my computer. My best guess is that I have some very basic and silly configuration error… or making some other highly rookie mistake. I will pay only when the issue is resolved to my satisfaction, not just for time spent. I am using a 2021 macbook pro with the M1 pro chip and have tried using CLion and VSCode and terminal and get the same error every time. The way it's supposed to work is: I type ./exampleExecutable in the terminal and it should give an example. But I only get the error. I have included the files and a screenshot of the error. Thank you.
ID e Projektit: 33988623

Rreth projektit

3 propozime
Projekt në distancë
Aktive 2 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
3 freelancers are bidding on average $30 USD for this job
Avatari i Përdoruesit
That is a linux elf for amd x64 architecture. you cant run that on m1 mac.. where did you get the binary from ? need to build the source again for mac ~$ readelf -a exampleExecutable ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: DYN (Shared object file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0x1230 Start of program headers: 64 (bytes into file) Start of section headers: 19048 (bytes into file)
$30 USD në 7 ditë
5,0 (7 përshtypje)
3,7
3,7
Avatari i Përdoruesit
I've been there, will do it in no time. I'm familiar with C++ and Java. I'll do the job as well as teach you how to resolve it. But first tell me whether you have compiled the program on the same machine or are you trying to run the .exe on a different mac? Also your output tells me it's a simple C++ program if in any case the error isn't resolved I'll simply write the whole program and run it on your mac.
$30 USD në 1 ditë
0,0 (0 përshtypje)
0,0
0,0

Rreth klientit

Flamuri i UNITED STATES
Reno, United States
0,0
0
Anëtar që nga qer 25, 2022

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.