Closed hairyhoncho closed 7 years ago
Hello, I'm unable to reproduce the issue:
What's the directory structure of your project?
Found the problem. Compile is looking at Test.ino (which has stubs but no link to Test.cpp) , code is in test.cpp. Is there a compile switch so that I can use regular C++ file structure ?
If you have both .ino
file and .cpp
file in your src
directory, both will be compile. I would suggest moving the files which aren't supposed to be part of the main app itself to a different directory.
Compile the test program below (note typo for "void" )in the desktop IDE (atom 1.15.0, particle-dev 0.1.20, particle-dev-cloud-functions 0.1.0)
Select "Compile in the cloud". The IDE suppresses the error message and instead returns "Success" in the status bar.
Compile in the web IDE and the compile errors are correctly reported