pfalcon / esp-open-sdk

Free and open (as much as possible) integrated SDK for ESP8266/ESP8285 chips
1.97k stars 623 forks source link

failed to build it in MacOS #379

Open kenjichanhkg opened 4 years ago

kenjichanhkg commented 4 years ago

when I followed the instruction, the first command failed..... image

riazbapoo commented 3 years ago

when I followed the instruction, the first command failed..... image

same here. have you found a solution?

gretel commented 3 years ago

samesame.

kenjichanhkg commented 3 years ago

still can't

mnbpdx commented 3 years ago

I've got the solution to this particular issue, though I think there's still problems down the road on MacOS. I'm having trouble getting make to work.

As your error says, homebrew/dupes has been deprecated. I don't know much about what's going on, but its explained here.

Just add the dependencies like this:

brew install <dependency>

Side note, brew install didn't seem to recognize the --with-default-names flag, so I omitted it. Hopefully that didn't break anything.

mnbpdx commented 3 years ago

Right now I'm stuck on this make error, hit me up if you get past it:

ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

gretel commented 3 years ago

this project looks.. done to me. move on folks 😄

mnbpdx commented 3 years ago

More hot tips: you'll have to make sure you have gawk not awk installed, or you'll get a make error:

brew install gawk

Had a similar error for objcopy/gobjcopy. Fixed it by adding binutils stuff to my path per #350.

export PATH="/usr/local/opt/binutils/bin:$PATH"

mnbpdx commented 3 years ago

@gretel Got a good alternative then?

I'm new to open source, haven't figured out when to give up and move on.

Edit: For context, I'm trying to build this. That project seems to still be active and it uses this fork.

gretel commented 3 years ago

@gretel Got a good alternative then?

the last commit to this repository was on 27 Nov 2018. the original author has not taken care of 109 open issues and 25 pull requests in the meantime.

due to the targets being commercial (not open source) hardware there is some controversy intrinsic for the whole of this.

I'm new to open source, haven't figured out when to give up and move on

even if you would get the toolchain running you are still limited to old versions of the dependencies required and now-outdated hardware targets.

it's up to you to decide if you want to stick with idealism from the past or head on to the now-current reality: espressif got super sucessful and is still not providing a truly open (source) hardware design.

personally, i do accept the commercial nature of mass-produced (cheap) microcontrollers and develop using micropython.

mnbpdx commented 3 years ago

Thanks for your thorough response, @gretel, I'll go on a dive with all those keywords and see where it gets me.

gretel commented 3 years ago

Thanks for your thorough response, @gretel, I'll go on a dive with all those keywords and see where it gets me.

i'd say wifi repeaters are not a good idea to run in most cases. either you have issues with the access point you are using and/or are better off using multiple inter-linked access points instead. maybe openwrt is worth a look.