From f6d2141a480dd6b5b8ee0e48d43bb64773232791 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 26 Mar 2024 23:38:14 -0600 Subject: add header ids --- .../2020-05-31-compiling-open-babel-on-ios.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'docs/posts/2020-05-31-compiling-open-babel-on-ios.html') diff --git a/docs/posts/2020-05-31-compiling-open-babel-on-ios.html b/docs/posts/2020-05-31-compiling-open-babel-on-ios.html index 812c599..708d1bd 100644 --- a/docs/posts/2020-05-31-compiling-open-babel-on-ios.html +++ b/docs/posts/2020-05-31-compiling-open-babel-on-ios.html @@ -6,13 +6,13 @@ - Compiling Open Babel on iOS + id="compiling-open-babel-on-ios">Compiling Open Babel on iOS - - + Compiling Open Babel on iOS" /> + Compiling Open Babel on iOS" /> @@ -44,7 +44,7 @@
-

Compiling Open Babel on iOS

+

Compiling Open Babel on iOS

Due to the fact that my summer vacations started today, I had the brilliant idea of trying to run open babel on my iPad. @@ -52,17 +52,17 @@ To give a little background, I had tried to compile AutoDock Vina using a cross-

I am running the Checkr1n jailbreak on my iPad and the Unc0ver jailbreak on my phone.

-

But Why?

+

But Why?

Well, just because I can. This is literally the only reason I tried compiling it and also partially because in the long run I want to compile AutoDock Vina so I can do Molecular Docking on the go.

-

Let's Go!

+

Let's Go!

How hard can it be to compile open babel right? It is just a simple software with clear and concise build instructions. I just need to use cmake to build and the make to install.

It is 11 AM in the morning. I install clang, cmake and make from the Sam Bingner's repository, fired up ssh, downloaded the source code and ran the build command.`clang

-

Fail No. 1

+

Fail No. 1

I couldn't even get cmake to run, I did a little digging around StackOverflow and founf that I needed the iOS SDK, sure no problem. I waited for Xcode to update and transferred the SDKs to my iPad

@@ -71,7 +71,7 @@ To give a little background, I had tried to compile AutoDock Vina using a cross-

Them I told cmake that this is the location for my SDK 😠. Successful! Now I just needed to use make.

-

Fail No. 2

+

Fail No. 2

It was giving the error that thread-local-storage was not supported on this device.

@@ -125,11 +125,11 @@ make: *** [Makefile:129: all] Error 2

"Open-Babel running on my iPad"

-

Packaging as a deb

+

Packaging as a deb

This was pretty straight forward, I tried installing it on my iPad and it was working pretty smoothly.

-

Moment of Truth

+

Moment of Truth

So I airdropped the .deb to my phone and tried installing it, the installation was successful but when I tried obabel it just aborted.

@@ -147,7 +147,7 @@ make: *** [Makefile:129: all] Error 2

I spent 2 hours around this problem, only to see the documentation and realise I hadn't setup the environment variable 🤦‍♂️

-

The Final Fix ( For Now )

+

The Final Fix ( For Now )

export BABEL_DATADIR="/usr/share/openbabel/3.1.0"
 export BABEL_LIBDIR="/usr/lib/openbabel/3.1.0"
-- 
cgit v1.2.3