Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a Meson Wrap for Rizin library #3454

Open
XVilka opened this issue Apr 7, 2023 · 3 comments
Open

Make a Meson Wrap for Rizin library #3454

XVilka opened this issue Apr 7, 2023 · 3 comments

Comments

@XVilka
Copy link
Member

XVilka commented Apr 7, 2023

See https://mesonbuild.com/Adding-new-projects-to-wrapdb.html

Essentially, it boils down to preparing a wrap file for 0.6.0 release, since Rizin already uses Meson build system. Lets target it for the next release, it will allow other Meson projects easily use the Rizin library.

@XVilka XVilka added this to the 0.6.0 milestone Apr 7, 2023
@saurabhmj11

This comment was marked as spam.

@XVilka XVilka modified the milestones: 0.6.0, 0.7.0 Aug 1, 2023
@XVilka
Copy link
Member Author

XVilka commented Aug 4, 2023

Even if I apply the PR, one issue still remains:

lz4| Project name: lz4
lz4| Project version: 1.9.4
lz4| C compiler for the host machine: cc (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.202)")
lz4| C linker for the host machine: cc ld64 820.1
lz4| Program GetLz4LibraryVersion.py found: YES (/opt/homebrew/opt/[email protected]/bin/python3.11 /Users/anton.kochkov/Rizin/wrapdb/subprojects/lz4-1.9.4/contrib/meson/meson/GetLz4LibraryVersion.py)
lz4| Message: Project version is now: 1.9.4
lz4| Compiler for C supports arguments -Wcast-qual: YES
lz4| Compiler for C supports arguments -Wcast-align: YES
lz4| Compiler for C supports arguments -Wshadow: YES
lz4| Compiler for C supports arguments -Wswitch-enum: YES
lz4| Compiler for C supports arguments -Wdeclaration-after-statement: YES
lz4| Compiler for C supports arguments -Wstrict-prototypes: YES
lz4| Compiler for C supports arguments -Wundef: YES
lz4| Compiler for C supports arguments -Wpointer-arith: YES
lz4| Compiler for C supports arguments -Wstrict-aliasing=1: YES
lz4| Compiler for C supports arguments -DLZ4_DEBUG=1: YES
lz4| Build targets in project: 11
lz4| Subproject lz4 finished.


subprojects/rizin/meson.build:542:21: ERROR: Requested variable "lz4_dep" not found.

A full log can be found at /Users/user/Rizin/wrapdb/builddir/meson-logs/meson-log.txt

@ret2libc
Copy link
Member

ret2libc commented Aug 7, 2023

Do you have a PR for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants