jcurl / RJCP.DLL.SerialPortStream

SerialPortStream is an independent implementation of System.IO.Ports.SerialPort and SerialStream for better reliability and maintainability. Default branch is 2.x and now has support for Mono with help of a C library.
Microsoft Public License
639 stars 199 forks source link

path changes that were necessary for me to get cmake to work #40

Closed ardave closed 7 years ago

ardave commented 7 years ago

This slightly different step seemed to be necessary for me to get cmake to work on my raspberry pi. BUT I don't know the first thing about cmake, so just see what you think, yourself.

Also worth noting, I had to rename ibnserial.so.1.1 to ibnserial.so.1 just like in this comment here, but I really don't know if these instructions should ever be updated to reflect that, or if the need to rename the file might be particular only to me.

jcurl commented 7 years ago

Thanks Dave. I've made a similar change and put you as the author of this commit. As I merged manually, I'm closing this pull request (it's resolved with f7a533ef619aef47e904d0f8357a67cea1e21d19).

jcurl commented 7 years ago

Also worth noting, I had to rename libnserial.so.1.1 to libnserial.so.1 just like in this comment here, but I really don't know if these instructions should ever be updated to reflect that, or if the need to rename the file might be particular only to me.

Could you open a new ticket, and provide the exact instructions you use to build, and an ls of the build directory? The code looks for the library libnserial.so.1 and normally CMake will make a softlink from libnserial.so.1 -> libnserial.so.1.1 on deployment. Only the softlink "libnserial.so" isn't needed and is usually only part of a "dev" package for linkers with other C-Programs. So I suspect that "CMake" somehow broke?