Re: [SlimDevices: Unix] PiCore Player : installing Shared libraries

2021-11-24 Thread paul-

Libwiringpi is depreciated, it doesn’t work correctly anymore.  copying
libraries from other locations is not recommended.

It depends on what you are trying to do.  There are very simple
implementations to full libraries.   If you need precision timing for
encoders or other clock driven uses, use pigpio.  There is an extension
in our repo.   For simple implantations, look at how we do it in
squeezelite.

https://github.com/ralph-irving/squeezelite/blob/master/minimal_gpio.c



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=115405

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCore Player : installing Shared libraries

2021-11-24 Thread ygi


paul- wrote: 
> wiring pi is a depreciated library, it won't work properly on a pi4, so
> we don't offer that package.  

Hi Paul.. I had the opportunity to make it run but bay a wrong way... I
have added /lib into the backup, downloaded on my Win in order to add
the libwiring.so to the library, and uploaded back to the SD.
but I would prefer to do it in a proper manner... you suggest not to use
libwiring to control GPIO for CPP project.  I don't find the good way to
do it...
could you give me the name of library i can add in the link ? or is
there a system lib installed on piCore that i could use ?

best regards

yves



ygi's Profile: http://forums.slimdevices.com/member.php?userid=38324
View this thread: http://forums.slimdevices.com/showthread.php?t=115405

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCore Player : installing Shared libraries

2021-11-11 Thread Greg Erskine


hi ygi,

You really need to understand tinycore/picore *before* you do any
development. Its not like other Linux distributions.

'My changes disappeared'
(https://docs.picoreplayer.org/faq/my_changes_disappeared/)

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=115405

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCore Player : installing Shared libraries

2021-11-11 Thread paul-


You can, it just won't survive a reboot.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=115405

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCore Player : installing Shared libraries

2021-11-11 Thread ygi


paul- wrote: 
> wiring pi is a depreciated library, it won't work properly on a pi4, so
> we don't offer that package.  
> 
> pCP is a different kind of OS that you are used to.  It is bare bones.  
> You might want to read a little bit on how piCore/TinyCore works.  
> http://tinycorelinux.net/faq.html

thank you paul for your quick reply, i am'going to have a closer look to
this faq.. but in the meantime, why can't i copy the shared library to
/usr/local/bin ? Wouldn't be the easiest to resolve my issue ?



ygi's Profile: http://forums.slimdevices.com/member.php?userid=38324
View this thread: http://forums.slimdevices.com/showthread.php?t=115405

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCore Player : installing Shared libraries

2021-11-11 Thread paul-


wiring pi is a depreciated library, it won't work properly on a pi4, so
we don't offer that package.  

pCP is a different kind of OS that you are used to.  It is bare bones.  
You might want to read a little bit on how piCore/TinyCore works.  
http://tinycorelinux.net/faq.html



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=115405

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix