"__int128 is not supported on this target" when trying to generate bindings for OpenCV for iOS
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- devtools, mobile-dev
Research direction
Start with the attached shell script, generated Clang-defines header, and unified diff for opencv_modules.hpp; reproduce the CppSharp command against the OpenCV 3.2.0 iOS headers. Trace the target configuration related to the __int128 diagnostics, and consider the issue resolved when the bindings generate without these parsing errors.
Written by the indexing model from the issue text.
Description
Brief Description
I want to use OpenCV in C# with Xamarin, so I downloaded OpenCV 3.2.0 iOS Pack from their release page (https://opencv.org/releases.html [I know there is a newer version available but I have working code using the 3.2.0 version I want to port it from Windows .NET to Xamarin iOS]) and CppSharp 0.8.16. I had several parsing errors and was able to solve most
- by adding paths to C, C++ and Clang headers
- generating an header file from standard Clang defines
- locally patching opencv_modules.hpp to disable modules I actually will not use and add a few defines
However I get several "__int128 is not supported on this target" parsing errors which I am unable to solve.
OS: OS X El Capitan 10.11.6
Target: Clang
I will attach a few files :
- the shell script I wrote containing the paths to headers, the command to generate the header from standard Clang defines and the CppSharp command line
- the header generated from standard Clang defines
- A unified diff of my changes to opencv_modules.hpp
- Dominant language
- C#
- Stars
- 3.4k
- Forks
- 541
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mono/CppSharp
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
How to get started Open
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100