- Announcement about May 10th, 2018 update and your password.
Problem making and using SimpleIDE library
I used the instructions in the "Propeller C Library Studies" learn.parallax.com/tutorials/language/propeller-c/propeller-c-library-studies
to build a library from the servo360 driver that I had ported from spin to C (posted here).
When running the "test harness" program from the Simple Libraries/My Libraries/libservo360a folder, I get errors during "building" until I use the "open Tab to project" command in the "project" menu and open the "servo360a.c" and "FourPly.spin" files that are located in the folder. (The c file contains the library functions, and the spin file has the PASM driver).
I had previously built another library that worked well (libspiasm) as well as the ones in the tutorial, and as long as I had the relevant ".h" file in an #include statement in the program that uses the library functions, they worked without having to manually add the files to the project.
Since SimpleIDE doesn't allow opening tabs of files that exist in folders that are different than the one used for the project, that would require copying the library files to the folder containing the project.
I've attached a zip that contains the library files and the CMM folder that should contain the compiled library. The test harness file is "libservo360driver.side". "servo360.c" is the file with the library functions and "servo360.h" is the header file.
I am using SimpleIDE version 1.1 although I also tried it on an earlier version (1.02.RC2).