Pjsip2.2 PJSUA2 API for iOS - c++

I've upgraded pjsip 2.2 with the new PJSUA2 API.
It's written in C++ and the documentation has given the use example for Java/Python applications as well. But I can't find any example for iOS application.
I'm not very familiar with using C++ in Objective-C. I was trying to replace the existing pjsua.h with pjsua2.hpp... It seems not even linked to the lib.
Any advice?

Related

How to build and use the C++ API for Tensorflow on windows

Has anyone been successful in building/using the c++ API for TensorFlow on windows (withing Visual Studio)? The tutorials I found online or on TensorFlow's website have only shown building from source for python, or are outdated (3+ years old or for TensorFlow 1.x)
I see that there are docs for the functions of the built C++ API on TensorFlow's website, but there's no mention of where to get it or how to build it, the build from source section builds the python package that can be installed using pip, not anything that can be used with C++.
I've looked at the C api, but that seems to be different from what is mentioned in the C++ API section of the docs, and I was unable to get the C API working within VS due an error in mixing C++ and C.
If it helps, the end goal is to run inferences for pre-trained models (built using the python API) using C++.
Any help is appreciated.

Xamarin.Forms + native library OpenCV

I'm trying to write an application using Xamarin.Forms. But I need to connect to the project native library OpenCV.
In tutorial i see how connect to the ios or android project. But I want use this native library in share code.
Library OpenCV has Android, Linux, Windows, iOS and Source Code versions. I would like to write code for this library once.
this is url for this library http://opencv.org/downloads.html
Please, help solve the problem
I don't think there's a way to have one codebase when using native bindings on iOS and Android. However, you can automate everything by using SWIG (http://www.swig.org). Short example here: http://blog.reblochon.org/2013/01/c-bindings-for-monotouch-using-swig.html
There's also .NET port of OpenCV called EMGU which works fine with Xamarin.

Is there a c++ bind can cross v8 and JavaScriptCore?

Im looking for a script engine for game developing. I dont like lua (because of it's syntax and features), Im very like js, so I want to use google V8, but seems it is not very friendly in iOS? So, Is there a c++ bind can cross v8 and JavaScriptCore? In iOS use JavaScriptCore and others use V8 to bind the same C++ code.
I've started a project for this. It currently supports building and running the examples included in version 3.14 of the V8 project, as well as Node version 0.10.
https://github.com/flyover/v8like
I've also made a fork of the Node project with project files for iOS and OS X including targets for compiling against V8 using the simulator (define USE_SIMULATOR) and the v8like project.
https://github.com/flyover/node
As I know, there is no such bind library. When I worked in game dev company in the past year, we created our own bind. But it is proprietary code. We used JavascriptCore on iOS and V8 for Android.
So it's possible, but to my regret I can't help you with code.

Integrating Visual C++ on .NET Framework 2.0 with C# Library

I am familiar with C# programming. Today I need to integrate one Visual C++ program on .NET Framework 2.0 with my C# library. After referencing my C# library, a new C++ class is created. But the following line cannot be compiled in the new class.
using namespace MyCSharpLibSpace;
The error is that "The namespace does not exist". Why? I think I can use the namespace after referencing it, right?
I also did another trial on .NET Framework 3.5. I created a simple HelloWorld Visual C++ project. It works fine. What I did is the same as above. It seems that it is different to integrate Visual C++ program with C# library on 3.5 and 2.0? How to do that on 2.0?
I appreciate so much for your help!
Bing

Porting C++ Project to Android

I have a big C++ application developed on windows,I need to port it to Android to run it as galaxy tab application.
I read many tutorials about NDK but it seems difficult to embed C++ files into Android.
Can I develop "DLL" using NDK? and invoke DLL from DLL?
any help would be highly appreciated .
Starting with 2.3, you can write android-applications completely in C++. Prior to 2.3, you had to create a shared object (the Linux equivalent of a DLL) using JNI, and call this from Java.