Shop OBEX P1 Docs P2 Docs Learn Events
Interesting SimpleIDE incident/error complaint. — Parallax Forums

Interesting SimpleIDE incident/error complaint.

I keep all of my .side files on an external drive, that way I can plug in the external drive to another machine and have the files available. Yesterday I switched to a different machine and when I tried to compile xxx.side, it comes up with an error, basically it cannot find the simpletext.h file. This is all Windows 7 based.

I first put the xxx.side file together on a laptop that had the latest SimpleIDE version, and the SimpleIDE folder is located in the Documents folder that was located on that machine. The xxx.side program compiled without errors and ran as expected.

My main desktop machine has the latest SimpleIDE version, and the SimpleIDE folder located on the external drive, which is reflected in the SimpleIDE properties Library Folder window. That is basically the difference between the two setups.

Now, I am not sure as to why it is coming up with an error at compile time because it cannot find the simpletext.h file. Is the simpletext.h path embedded in the program when it was first initiated on the original setup/machine, and then it does not get changed when compiled on a different machine with a different path designations?

So it seems like the cure for this is that I have to create a new xxx.side, and then cut and paste the code in from the other file, and then do another compile. Not sure if I like this "feature" of SimpleIDE, or is this a bug? I have not tried the cut and paste yet, but I am making an assumption that this would work, I hope.

Ray

Comments

  • Paths aren't embedded in your project file. It': just a text file - you can open it with notepad or anything else and see the contents easily.

    What'a likely happened is you've installed SimpleIDE but not the SimpleTools library / workspace files on the other machine. I don't think SimpleIDE itself includes these, probably because they're intended to be versions independently of each other. There should be instructions on where to find them &a how to install on the SimpleTools page.
  • But it did install the SimpleIDE libraries, as mentioned in my OP. The reason I brought this up is because the SimpleIDE libraries are there, and I doubled checked SimpleIDE library folder, just to make sure. This is the first time that this occurred, when I made the external hard drive switch.

    Ray
Sign In or Register to comment.