Skip to content
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

Cannot compile nodemcuv2 using version 3.0.0.b13 #770

Closed
deladriere opened this issue Sep 6, 2016 · 8 comments
Closed

Cannot compile nodemcuv2 using version 3.0.0.b13 #770

deladriere opened this issue Sep 6, 2016 · 8 comments
Assignees
Milestone

Comments

@deladriere
Copy link

gives this error

collect2: error: ld returned 1 exit status
*** [.pioenvs/nodemcuv2/firmware.elf] Error 1

reverting to 2.11.2 works

@ivankravets ivankravets added this to the 3.0.0 milestone Sep 6, 2016
@ivankravets ivankravets self-assigned this Sep 6, 2016
@ivankravets
Copy link
Member

How to reproduce this issue? Could you provide test platformio.ini and source code?

@ivankravets
Copy link
Member

I've just tried your project and don't see any problems

platformio.ini

[env:nodemcuv2]
platform = espressif8266
framework = arduino
board = nodemcuv2
lib_deps = Blynk, SimpleTimer, DallasTemperature, Encoder

See output http://pastebin.com/Qs064aru

@deladriere
Copy link
Author

added lib_deps = Blynk, SimpleTimer, DallasTemperature, Encoder
to platformio.ini solved it !
very strange

@ivankravets
Copy link
Member

You are going to use a few external libraries in your project and you don't have them. The code could not be built.

@deladriere
Copy link
Author

deladriere commented Sep 6, 2016

It does compile fine under 2.11.2

@deladriere
Copy link
Author

now I have a new error
Exception OSError: OSError(2, 'No such file or directory') in <bound method dblite.del of <SCons.dblite.dblite obje
ct at 0x10586f150>> ignored
if I keep ib_deps = Blynk, SimpleTimer, DallasTemperature, Encoder
removed it and now compiles fine !!!

@deladriere
Copy link
Author

sorry cannot reproduce Exception OSError: OSError(2, 'No such file or directory') in ct at 0x10586f150>> ignored

@ivankravets
Copy link
Member

I don't know what do you do. Try to clean project via pio run -t clean. Now, run it again via pio run. Do you see any errors?

ivankravets added a commit that referenced this issue Sep 9, 2016
* develop:
  Fix incorrect line order when converting from INO to CPP and pointer is used
  Fix unit test
  Notify about `version` field when creating library
  Add support for SparkFun Blynk Board
  Return valid exit code from ``plaformio test`` command
  Disable SSL Server-Name-Indication for Python < 2.7.9
  Version bump to 3.0.1 (issue #772)
  Disable temporary SSL for PlatformIO services // Resolve #772
  Version bump to 3.0.0 (issues #770, #766, #747, #730, #765, #640, #659, #742, #459, #542, #763, #759, #753, #757, #749, #748, #745, #519, #709, #743, #413, #498, #410, #740, #361, #414, #554, #732, #588, #475, #461, #101, #719, #721, #537, #415, #522, #289, #556, #570, #456, #617, #432, #408, #479, #667, #510)
  Fix menu height for  docs
  Fix issue with multiple archives when linking firmware
  Add migration guide for PIO2 to PIO3
  Search libraries by headers/includes with ``platformio lib search --header`` option
  Update pio run command examples
  Add Unit Testing Demo
  Update PIO Plus badge title and link
  Add PlatformIO Plus badge
  Add links to PlatformIO Plus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants