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

does this build on linux and/or osx - appreciate any help #3

Open
tr8dr opened this issue Mar 10, 2022 · 2 comments
Open

does this build on linux and/or osx - appreciate any help #3

tr8dr opened this issue Mar 10, 2022 · 2 comments

Comments

@tr8dr
Copy link

tr8dr commented Mar 10, 2022

Recognizing that this project is 5 yrs old, I've not been able to build this either on Linux or OSX (in spite of installing llvm on both). On linux complains about a missing header (I suspect the later versions of LLVM have changed the headers and/or API). Appreciate any help.

Conceptually this seems like the best approach to reflection I've seen aside from direct language support ...

@chakaz
Copy link
Owner

chakaz commented Mar 11, 2022

Wow, blast from the past! I'd actually love to give this project some love.

I just tried to build this on my Debian machine and it works. Here's roughly what I had to do (not sure which steps are necessary):

git clone https://github.com/chakaz/reflang reflang
cd reflang
sudo apt-get install libclang-common-13-dev
sudo apt-get install libclang-cpp13-dev
sudo ln -s (which llvm-config-13) /usr/bin/llvm-config
mkdir build
cd build
cmake -GNinja ../
ninja

Did this help at all?

@tvandijck
Copy link

This may be a worthy alternative: https://github.com/Celtoys/clReflect..

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

No branches or pull requests

3 participants