[sane-devel] Introduction to backends, hello world!

Alexander Pevzner pzz at apevzner.com
Sun May 24 17:17:27 BST 2020


Hi Andrew,

On 5/24/20 5:26 AM, Andrew Chan wrote:
> Hi all! I'm new to C development coming from a web dev bootcamp background.

I suggest you to write a standalone driver, which compiles outside of 
the sane-backends tree.

At this case you will not be forced to integrate with SANE build 
ecosystem from the very beginning. It would be enough if you'll start 
with writing a trivial Makefile, and them concentrate on writing your C 
code.

Once you have successfully build your libsane-XXX.so.1, you may create a 
symbolic link from SANE drivers installation directory to your build 
directory. At this case, your driver will be automatically "updated" 
every time you rebuild it, without need of reinstallation.

-- 

	Wishes, Alexander Pevzner (pzz at apevzner.com)



More information about the sane-devel mailing list