-
-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't link basic blink #379
Comments
One other deviation - I didn't install Eclipse the way suggested in the notes, but rather via the Eclipse website (the C++ version) since that seemed to put Eclipse under /Applications instead of caskroom. |
Did you build libsming? This is no longer supplied pre-compiled. Spiffy is also now included in Sming, but also needs to be compiled, and should not need to be put anywhere other than where it is compiled. |
Thanks! That got me a lot further. 09:10:08 **** Incremental Build of configuration Sming for project Basic_Blink **** ... Traceback (most recent call last): 09:10:09 Build Finished (took 1s.872ms) Is there another thing I need to recompile to get the serial module? |
Also, does this mean that the separate version of Spiffy that is supposed to go in /usr/bin (that I put in /usr/local/bin) can be deleted? |
At some point I'd like to make some major changes to the Mac startup README, but I'll wait until I have more experience with the toolset. |
Yes, you shouldn't use a separate version any more as it might not be compatible. The version that is included with sming is built from the same code as the spiffs support in libsming so it should always be the right version. The makefiles now, by default, will look for the sming version of spiffy in its build location. You can build it with the eclipse target or by running |
What do you think is missing? I'll make changes. Sent from my iPhone
|
cd /opt
cd
Thanks! Eric |
shouldn't need to run make as root |
You don't need to be root, just logged in as an administrator rather than a regular user. Administrators have fewer privileges, it is a click box in the user creation system preference panel. I think my linker problem may be due to an old python install, I'm going to follow this advice: https://wolfpaulus.com/journal/mac/installing_python_osx/ Some other guy fixed the linker problem by updating python, I'll try that - it looks like a pain because Apple has marked python as "restricted" and you need to boot into recovery mode to change it even as root. |
@ericmnel normally you would use homebrew to install python that differs from your system one. |
Is that somewhere in the "build it yourself" instructions for ESP Open SDK? I used the pre-built install. |
I have the same original problem see below: This is from the build of the SmingFramework It is a fresh, error free sming installation from today(2015-11-02) The error building Basic_Blink: 13:06:46 Build Finished (took 31s.240ms) |
@Picatek : |
Thanks for your answer and sorry for the delay. I went on vacation. |
Obviously I messed up the install somehow:
18:20:25 **** Incremental Build of configuration Sming for project Basic_Blink ****
make all
LD out/build/app.out
/opt/esp-open-sdk/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lsming
collect2: error: ld returned 1 exit status
make: *** [out/build/app.out] Error 1
18:20:25 Build Finished (took 91ms)
Any pointers on how I can get esp-open-sdk to notice the Sming library appreciated. The only way I knowingly deviated from the process was to put Spiffy in /usr/local/bin instead of /usr/bin since it was also in my path and my admin user couldn't write to /usr/bin.
The text was updated successfully, but these errors were encountered: