From f5faa2ef095f035110f83e17da0b35d3a34d6b97 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sat, 17 Feb 2024 19:52:53 -0700 Subject: bump --- docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html') diff --git a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html index 330151d..a1f4df6 100644 --- a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html +++ b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html @@ -26,7 +26,7 @@ - + @@ -35,6 +35,7 @@ home | about/links | posts | +3D designs | RSS Feed | -- cgit v1.2.3 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-06-02-Compiling-AutoDock-Vina-on-iOS.html | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html') diff --git a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html index a1f4df6..1aed192 100644 --- a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html +++ b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html @@ -6,13 +6,13 @@ - Compiling AutoDock Vina on iOS + id="compiling-autodock-vina-on-ios">Compiling AutoDock Vina on iOS - - + Compiling AutoDock Vina on iOS" /> + Compiling AutoDock Vina on iOS" /> @@ -44,15 +44,15 @@
-

Compiling AutoDock Vina on iOS

+

Compiling AutoDock Vina on iOS

Why? Because I can.

-

Installing makedepend

+

Installing makedepend

makedepend is a Unix tool used to generate dependencies of C source files. Most modern programs do not use this anymore, but then again AutoDock Vina's source code hasn't been changed since 2011. The first hurdle came when I saw that there was no makedepend command, neither was there any package on any development repository for iOS. So, I tracked down the original source code for makedepend (https://github.com/DerellLicht/makedepend). According to the repository this is actually the source code for the makedepend utility that came with some XWindows distribution back around Y2K. I am pretty sure there is a problem with my current compiler configuration because I had to manually edit the Makefile to provide the path to the iOS SDKs using the -isysroot flag.

-

Editing the Makefile

+

Editing the Makefile

Original Makefile ( I used the provided mac Makefile base )

@@ -83,11 +83,11 @@ include ../../makefile_common -

Updating the Source Code

+

Updating the Source Code

Of course since Boost 1.41 many things have been added and deprecated, that is why I had to edit the source code to make it work with version 1.68

-

Error 1 - No Matching Constructor

+

Error 1 - No Matching Constructor

../../../src/main/main.cpp:50:9: error: no matching constructor for initialization of 'path' (aka 'boost::filesystem::path')
 return path(str, boost::filesystem::native);
@@ -98,7 +98,7 @@ return path(str, boost::filesystem::native);
 
return path(str)
 
-

Error 2 - No Member Named 'nativefilestring'

+

Error 2 - No Member Named 'nativefilestring'

../../../src/main/main.cpp:665:57: error: no member named 'native_file_string' in 'boost::filesystem::path'
                 std::cerr << "\n\nError: could not open \"" << e.name.native_file_string() << "\" for " << (e.in ? "reading" : "writing") << ".\n";
@@ -111,15 +111,15 @@ return path(str, boost::filesystem::native);
 
 

Turns out native_file_string was deprecated in Boost 1.57 and replaced with just string

-

Error 3 - Library Not Found

+

Error 3 - Library Not Found

This one still boggles me because there was no reason for it to not work, as a workaround I downloaded the DEB, extracted it and used that path for compiling.

-

Error 4 - No Member Named 'nativefilestring' Again.

+

Error 4 - No Member Named 'nativefilestring' Again.

But, this time in another file and I quickly fixed it

-

Moment of Truth

+

Moment of Truth

Obviously it was working on my iPad, but would it work on another device? I transferred the compiled binary and

-- cgit v1.2.3 From 9e620084e57378952c1a7f8e0a772ebebd18932b Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 27 Mar 2024 20:35:09 -0600 Subject: quick fix --- docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html') diff --git a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html index 1aed192..7efd518 100644 --- a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html +++ b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html @@ -6,13 +6,13 @@ - id="compiling-autodock-vina-on-ios">Compiling AutoDock Vina on iOS + Compiling AutoDock Vina on iOS - Compiling AutoDock Vina on iOS" /> - Compiling AutoDock Vina on iOS" /> + + -- cgit v1.2.3 From 01ff93c9c16867216f2d249664803860e1d6d5eb Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 27 Mar 2024 22:49:40 -0600 Subject: generate new theme --- .../2020-06-02-Compiling-AutoDock-Vina-on-iOS.html | 55 +++++++++++++++------- 1 file changed, 37 insertions(+), 18 deletions(-) (limited to 'docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html') diff --git a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html index 7efd518..c4521f3 100644 --- a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html +++ b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html @@ -2,14 +2,26 @@ - + + + + + Compiling AutoDock Vina on iOS + + + + + + + - Compiling AutoDock Vina on iOS - @@ -29,21 +41,27 @@ - -
-
+ + +
-
- +

Compiling AutoDock Vina on iOS

Why? Because I can.

@@ -127,14 +145,15 @@ return path(str, boost::filesystem::native);

The package is available on my repository and only depends on boost. ( Both, Vina and Vina-Split are part of the package)

+
If you have scrolled this far, consider subscribing to my mailing list here. You can subscribe to either a specific type of post you are interested in, or subscribe to everything with the "Everything" list.
-
+
-- cgit v1.2.3 From de19543d7fb44d343b052dc9b34ede78620c4a46 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 27 Mar 2024 23:36:55 -0600 Subject: Generate --- .../posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html') diff --git a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html index c4521f3..a8e55cb 100644 --- a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html +++ b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html @@ -46,7 +46,7 @@ + +
-- cgit v1.2.3 From a982ceab0b45609991179b3020a00260eed6f798 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 27 Mar 2024 23:45:59 -0600 Subject: css --- docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html') diff --git a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html index a8e55cb..814ce86 100644 --- a/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html +++ b/docs/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS.html @@ -5,6 +5,7 @@ + Compiling AutoDock Vina on iOS -- cgit v1.2.3