SimpleIDE not finding simpletext.h
Marcus76
Posts: 25
I am on Linux Mint i686. I just installed SimpleIDE and I am trying to build the sample Hello World program and it is failing. Here is the error I am getting:
I have tried installing it to a different version of Mint that I booted from a LiveCD, and got the same problem. The header file "simpletext.h" exists, its just not being found for some reason (It is in "Simple Libraries/TextDevices/libsimpletext/simpletext.h").
Project Directory: /home/user/Desktop/SimpleIDE/SimpleIDE/My Projects/ SimpleIDE Version 1.0.1 /home/user/Desktop/SimpleIDE/SimpleIDE/Learn/Simple Libraries/ /home/user/Desktop/SimpleIDE/SimpleIDE/ Updated on: 2016-05-02 propeller-elf-gcc -v GCC 4.6.1 (propellergcc_v1_0_0_2408) propeller-elf-gcc -I . -L . -I /home/user/Desktop/SimpleIDE/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools -L /home/user/Desktop/SimpleIDE/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools/cmm/ -I /home/user/Desktop/SimpleIDE/SimpleIDE/Learn/Simple Libraries/Text Devices/libsimpletext -L /home/user/Desktop/SimpleIDE/SimpleIDE/Learn/Simple Libraries/Text Devices/libsimpletext/cmm/ -I /home/user/Desktop/SimpleIDE/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L /home/user/Desktop/SimpleIDE/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/cmm/ -o cmm/Welcome.elf -Os -mcmm -m32bit-doubles -fno-exceptions -std=c99 Welcome.c -lm -lsimpletools -lsimpletext -lsimplei2c -lm -lsimpletools -lsimpletext -lm -lsimpletools -lm In file included from Welcome.c:26:0: /home/user/Desktop/SimpleIDE/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools/simpletools.h:111:24: fatal error: simpletext.h: No such file or directory compilation terminated. Done. Build Failed! Click error or warning messages above to debug.
I have tried installing it to a different version of Mint that I booted from a LiveCD, and got the same problem. The header file "simpletext.h" exists, its just not being found for some reason (It is in "Simple Libraries/TextDevices/libsimpletext/simpletext.h").
Comments
If that doesn't fix it, can you post your code?
It finds "simpletools.h", but "simpletools.h" has the line which is not found.
I believe the double quotes is correct syntax in this case, as both of those header files are in the SimpleIDE Workspace folder as part of Simple Libraries. I have tried changing these to angle brackets though, and it gives the same error.
Source.
As to your question of why it does not work, I do not know
On my version of SimpleIDE, the folder Text Devices has a space between Text and Devices as shown in Andy's post. In your post there is no space. Did you type the path or cut & paste it?
Tom
(Ignore the fact that it is "SimpleIDE/SimpleIDE". I just decided to put the files in a folder called "SimpleIDE", but apparently the program had the same idea)
I cut and pasted from the Location and got:
But I was using an old version of SimpleIDE and the Libraries (my simpletext library documentation shows version 0.85.)
I downloaded and installed the latest version of SimpleIDE and whatever libraries it automatically installs. That version of simpletext.h is 0.99.
More importantly, the path to that library does NOT have a space between Text and Devices. However, since the original post showed a space in the library string
I wonder if that inconsistency is causing a problem.
I forgot to mention I am using windows.
Also when I loaded and built the hello program using the version of SimpleIDE I just installed, it worked and the library list did NOT have a space between text and devices.
I'm not sure what is happening.
Tom
The library hierarchy was created this way when SimpleIDE first ran, and I can reproduce the problem on a LiveCD. I got the package from: learn.parallax.com/tutorials/language/propeller-c/propeller-c-set-simpleide/linux
Why do these two separate directories exist? I would think that this should have been fixed by now for all OS platforms. If there is some reason as to why there must be two directories (i.e. backward-compatibly), there should be at least some documentation explaining that fact.
It was very confusing as to why I was getting compilation/linking errors ((.text+0x14): undefined reference to `_fdserial_rxCount') when I was trying to compile the "Page Controls light Host.c" program for the 32420 Parallax WX ESP8266 WiFi Module - DIP.