Using C++ classes and plain C API
NOTE on syntax: as C and C++ don't have properties, in C++ class properties are represented by get_PropertyName() and set_PropertyName() methods.
C++ classes are provided in source code and are located in <SolFS>\CPP directory. You need to compile those classes according to your needs. C++ classes make use of static libraries located in subdirectories of <SolFS>\Lib directory as listed below.
If you need to use plain C API or compile C++ classes, add SolFS libraries mentioned below to your project.
- Windows 32-bit:
Use the library files located in <SolFS>\Lib\Win32\Static directory
- Windows 64-bit:
Use the library files located in <SolFS>\Lib\Win64\Static directory
Separate downloads are provided for 32-bit and 64-bit versions of Linux. The library with SolFS engine (libsolfsfuse.a) can be found in <SolFS>/Lib/ directory
- MacOS X:
The library with SolFS engine (libsolfsfuse.a) can be found in <SolFS>/Lib/ directory
On Linux and MacOS X systems you need to link some additional libraries to your project:
"m" and "fuse" libraries must be linked to your project.
- MacOS X:
"iconv" and "fuse_ino64" libraries must be linked to your project.
Additionally OSXFUSE must be installed in order to make SolFS OS Edition work on MacOS X. This package is not included with SolFS package and must be downloaded and installed separately. "MacFUSE compatibility layer" option must be set during installation of OSXFUSE.
On Linux and MacOS X the project must be compiled with the following compiler options:
On MacOS X it's necessary to also add "/usr/local/lib/**" to "Library Search Paths" path of your project's Build Settings.
See How To Start using the API topic for further instructions.