Some more SimpleIDE issues
photomankc
Posts: 943
Still working on my serial sub controller as a C++ project. Got a fair number of source files in the project and a couple of small class hierarchies. First issue is that lately the build now takes a very long time compared to a week ago. A couple minutes on even fast machines where the version message comes up in the build window and nothing else happens for at least a minute. It doesn't seem like a big enough project to take that long to compile. The individual file compile lines dont show up until that first minute passes. Any idea what is going on during that delay or how I can reduce that?
Second issue is suddenly after a few non-related changes I get this message:
Simple Libraries/Utility/libsimpletools/simpletools.h:96:23: fatal error: simplei2c.h: No such file or directory
I have copied the Simple Libraries folder into my project directory and pointed SimpleIDE to that copy when I included the library. This is an effort to get around my earlier Mac/Windows issues when developing a project started on the other platform. This worked well before and I have no idea why suddenly it's unable to locate "simplei2c.h"
Second issue is suddenly after a few non-related changes I get this message:
Simple Libraries/Utility/libsimpletools/simpletools.h:96:23: fatal error: simplei2c.h: No such file or directory
I have copied the Simple Libraries folder into my project directory and pointed SimpleIDE to that copy when I included the library. This is an effort to get around my earlier Mac/Windows issues when developing a project started on the other platform. This worked well before and I have no idea why suddenly it's unable to locate "simplei2c.h"
#ifndef SIMPLETOOLS_H #define SIMPLETOOLS_H #if defined(__cplusplus) extern "C" { #endif #include <propeller.h> #include "simpletext.h" #include <driver.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <cog.h> #include <ctype.h> #include <unistd.h> #include <sys/stat.h> #include <dirent.h> #include <sys/sd.h> #include <math.h> #include "simplei2c.h"
Comments
The error about simplei2c remains though.
If mods wish to delete the thread that's fine with me.
I also tried changing my Library link and it still compiled - that is, it is using the local library path you specified.
It sure is a pain when problems are not easily reproduced. I don't doubt you have a problem though. It could be something specific to your computer.
I had to add simple library Protocol\libsimplei2c and Text Devices\libsimpletext
Hope that helps!
Jamie
One thing though, under the Learn/Simple Libraries folder there are 2 folders for TextDevices: One listed as "Text Devices" and the other listed as TextDevices (No space). The 'libsimpletext.h' file was located under the TextDevices folder in this instance. I wonder if this might be causing an issue with the compiler.
Please remove "Text Devices" ... it is deprecated.