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

Cannot able to compile with x86 Cpp Sharp dlls #4

Closed
manikk opened this issue Jul 4, 2014 · 2 comments
Closed

Cannot able to compile with x86 Cpp Sharp dlls #4

manikk opened this issue Jul 4, 2014 · 2 comments

Comments

@manikk
Copy link

manikk commented Jul 4, 2014

Cannot able to compile with the x86 dlls downloaded from
https://dl.dropboxusercontent.com/u/194502/CppSharp/CppSharp_VS2012_423_artifacts.zip. The following error occur while building the project.

  1. The type or namespace name 'Attribute' does not exist in the namespace 'CppSharp.AST' (are you missing an assembly reference?) D:\QtSharp\QtSharp\Documentation.cs 14 32 QtSharp

It would be fine to have the required x86 Cpp Sharp dlls in the References folder.

@ddobrev
Copy link
Owner

ddobrev commented Jul 4, 2014

The Attribute class was added by me on exactly the 13th of November but apparently a while after Joao had uploaded his latest binaries. I'm afraid you'll have to compile C++# yourself. Take note, though: you need to build not master but rather the "Merge pull request #283 from ddobrev/master" commit - that is, the first commit before "Kill the old parser (good riddance :).". It's very easy if you use TortoiseGit: clone master, then show the long, right-click on the required commit and select "Switch/Checkout to this". In the mean time I'm going to ask Joao to upload his latest binaries for the old parser.
I agree it would be nice to have the 32-bit binary in the references but I'm afraid it won't happen any time soon. That would mean I have to maintain a separate build, including LLVM itself, a build that I don't actually use. Fortunately for you, it's easy to update and rebuild C++# once it's been set up so I think it's going to be a minor inconvenience.

@ddobrev
Copy link
Owner

ddobrev commented Nov 21, 2015

C++# now has regular binary 32-bit releases for Windows at https://github.com/mono/CppSharp/releases so this is no longer a problem.

@ddobrev ddobrev closed this as completed Nov 21, 2015
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

2 participants