The build instructions in BUILDING.md (which I assume is what you meant by "the build instructions from the TurboVNC website") give the example of
-DTJPEG_LIBRARY="-L/opt/libjpeg-turbo/lib64 -lturbojpeg"
for dynamic linking with the TurboJPEG API library. Adapting
that to your use case would result in:
as opposed to
cmake -DTJPEG_INCLUDE_DIR=“/usr/include” -DTJPEG_LIBRARY=“-L/usr/lib -llibturbojpeg.so" -G”Unix Makefiles"
'-llibturbojpeg.so' is incorrect linker syntax.
--
You received this message because you are subscribed to the Google Groups "TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/3a9c15a3-4a43-4fd0-b1bd-c658b75b495dn%40googlegroups.com.
I'm not sure where turbojpeg.so comes from, but whoever packaged that file made a mistake. DSOs on Linux must always have a 'lib' prefix. That is a downstream bug of some sort, which is out of my control. If turbojpeg.so is part of an Alpine Linux package, then please inform the package maintainer that that file is misnamed. However, you can probably work around the issue by setting TJPEG_LIBRARY=/usr/lib/turbojpeg.so.
As far as asm/page.h, I have no idea. I'm
guessing that one of the system headers tries to include that.
That file does not exist on my system, nor do any of the headers
under /usr/include include it. I would suggest grepping the
headers in /usr/include and determining which one tries to
include asm/page.h. With that information, I can try to figure
out where in the TurboVNC source the error is occurring. In all
likelihood, however, this is also a distribution-specific issue.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/12bfc524-cce8-4c51-8ab3-d94605b048e4n%40googlegroups.com.