Project

Profile

Help

Bug #6299

open

Add a Makefile to the release for building of the SaxonC C/C++ API library

Added by O'Neil Delpratt 12 months ago. Updated 5 days ago.

Status:
New
Priority:
Low
Category:
C++ API
Start date:
2023-12-20
Due date:
% Done:

0%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.4.1
Fixed in version:
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

Reported by user here https://stackoverflow.com/questions/77684816/undefined-reference-error-when-link-to-saxon-library-in-c/77690492#77690492

The SaxonC release should contain a MakeFile to build the C/C++ library. This is something we attempted to do long time ago, but for some reason we proceed with its use. Since we are now using Graalvm we should use a Makefile.

Actions #1

Updated by Norm Tovey-Walsh 12 months ago

Yes, definitely. I assumed we were avoiding it because of Windows build problems. But if that's not the case, it would be better and simpler than shell scripts, I think.

Actions #2

Updated by O'Neil Delpratt 5 days ago

  • Assignee changed from O'Neil Delpratt to Matt Patterson
Actions #3

Updated by Matt Patterson 5 days ago

We've been experimenting with using CMake to generate a build system for SaxonC, and that has been very promising. There are a couple of open questions about how to consume SaxonC as a library, and there are implications for how we build SaxonC Python and PHP that still need shaking out before we can make this publicly available.

We also need to test that our release artifacts can be successfully imported into a CMake-using client project. In theory this also gives us options for easily generating pkg-config .pc files as well. One or both of these hopefully address issues like the one raised in #1962.

Please register to edit this issue

Also available in: Atom PDF