Shop OBEX P1 Docs P2 Docs Learn Events
Some more SimpleIDE issues — Parallax Forums

Some more SimpleIDE issues

photomankcphotomankc Posts: 943
edited 2014-12-27 01:54 in Propeller 1
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"
#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"
303 x 237 - 33K

Comments

  • photomankcphotomankc Posts: 943
    edited 2013-09-16 23:19
    Disregard issue 1. The project was on a shared drive. Moving the libraries to that shared location as well incurs the wrath of the network bandwidth monster. I notice the time to copy that folder to a local drive is just about the length of time it takes for the compile to begin. Mystery solved. It never showed up before because I was not linking in libraries from a network drive like this.

    The error about simplei2c remains though.
  • photomankcphotomankc Posts: 943
    edited 2013-09-18 06:27
    The second issue seems to be platform related somehow. When I open the project on the Mac it compiles without error. When I open on the PC it throws that error message. As I mention in the other thread. I'm going to forgo the attempts to edit and compile on multiple platforms for now. The MacMini will be doing the work of building and loading the program so it's the only one that needs to open the .side file anyway. The code can be edited from anything with any IDE so I don't really HAVE to be able to compile on both platforms.

    If mods wish to delete the thread that's fine with me.
  • jazzedjazzed Posts: 11,803
    edited 2013-09-18 09:00
    Could you post your project so that I can reproduce the possible platform related error?
  • photomankcphotomankc Posts: 943
    edited 2013-09-18 22:08
    Sure, I appreciate you taking a look at it. The widows system was a fresh install of SimpleIDE. I left everything at default.
  • jazzedjazzed Posts: 11,803
    edited 2013-09-19 09:50
    It compiled fine for 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.
  • photomankcphotomankc Posts: 943
    edited 2013-09-19 10:41
    Good information either way then. I'll see if I can get it to happen on my old Netbook. Thanks for looking into it anyway.
  • GeeksGoneBadGeeksGoneBad Posts: 100
    edited 2013-09-28 19:35
    This happened to me as well - I just updated my Learn folder and I was getting both errors

    I had to add simple library Protocol\libsimplei2c and Text Devices\libsimpletext

    Hope that helps!

    Jamie
  • JonMJonM Posts: 318
    edited 2014-12-27 01:46
    I ran into this running SimpleIDE 1.0.1(RC1) on Ubuntu 14.04 LTS. I too found if I just add the simple libs that had errors reported to the project the code compiles just fine.

    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.
  • jazzedjazzed Posts: 11,803
    edited 2014-12-27 01:54
    Hi,

    Please remove "Text Devices" ... it is deprecated.
Sign In or Register to comment.