Libssh2, building library with xcode - iphone

I'm using this project to attempt to use the libssh2 library with iOS. The readme does not explain much, however, and I could use some help building the library.
I opened up the example project in xcode, but I am confused about this part of the readme
You can build the libssh2 library with openssl or with libgcrypt!
There are several scripts in the project, do I need to run these as build phases in xcode?
Thanks for your help

You can run the ./build-all.sh with Terminal

Related

Qt 5.10.1 MinGW .. how to link a dll

I have a project that complies while linking to lib quazip.a. But the project crashes in the Qt IDE when trying to run it. In VS 2017 with Qt VS Tools I built the dll quazip.dll because the deployed project needs it. But the dll doesn't load with the error "Procedure entry point not found". Is there a way to link the dll in my project so an entry point can be found? Or is there a way to get the project to run in the IDE as well as deploy with the quazip.a lib? Or is there a way to build the quazip.dll in Qt MinGW?
I got the quazip.dll from a Qt MinGW build of quazip. All is fine now.

Is it possible to build iphone project by Gradle?

I have an iPhone project and I build it by XCode.
I also have an Android project and build it by Gradle.
Is it possible to build the iPhone project also by Gradle?
I'm not familiar with building iPhone projects, but if you can build the project via commandline commands, then you can also make Gradle call those commands using tasks of type Exec.
As far as I know there is no dedicated iPhone project support in Gradle to date, but you might suggest it on the Gradle forums.

Creating Nacl Cryptography library project in Eclipse on Ubuntu

I want to create an Eclipse project of the NaCl cryptographic library. I have installed it using the commands mentioned on the website, but I don't know how should I properly include all those files in my eclipse project so that I can use it to develop my own main function.
Can anyone help me on this? The githut repository is located at Nacl Github and the project installation details are available at Nacl Install
I am completely new to this and hence have no idea. If you need any further information, please tell me.
Thanks in advance.

ArUco in Eclipse Ubuntu

I want to compile the augmented reality ArUco library, but this library documentation on the internet is too scarce and I am facing some problems. Could someone give me a little tutorial about how to compile it in the Eclipse? (could be another IDE)
I'm using the Ubuntu 12.10, Eclipse Juno. Thanks!
Look at the README file of the library, you will probably have to use cmake. Open a terminal and install cmake and OpenCv (the requirements for the library) with apt-get. I don't know their exact package names in Ubuntu, but try the obvious cmake and opencv. Once that is done, cd to the directory where you unpackaged the aruco library, and do the following:
mkdir build && cd build
cmake ..
make all
make install
You can change the installation prefix by using cmake -i .. or ccmake if it got installed too. As for setting up the library in your IDE, just make a note of which directories the library files (binaries and headers) got installed to, and make sure those are in the compiler's search path.

How can I add libraries to Xamarin Mono for Android project in VS2010?

I am working on a mono for Android application (my very first) that consumes a web api. In the documentation at xamarin.com there are examples on using different libraries such as RestSharp and Json.Net.
However, when I try to install these libraries via Nuget in my VS2010 project it failes with the following message:
Install failed. Rolling back... Could not install package
'Newtonsoft.Json 4.5.9'. You are trying to install this package into a
project that targets 'MonoAndroid,Version=v2.2', but the package does
not contain any assembly references that are compatible with that
framework. For more information, contact the package author.
How can I include such libraries in my project?
Thanks in advance.
Erwin
This error message indicates those libraries are not compatible with Mono for Android. You should ask the manufacturer of the libraries if they have a MfA compatible version. If you have the source code of the libraries you could also try to make a MfA library, using linked source files, yourself.
Not sure if you've tried this but if you're using xamarin studio and right click the component folder in your Android app project choosing add component should be able to solve your problem. This will add a reference to the component that is added. Components seem like they are mono compatible packages and what's good for your case is that there are components for both RestSharp and Json.Net:
https://components.xamarin.com/view/restsharp
http://components.xamarin.com/view/json.net/