Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling viewkel on M2 MacBook Pro #37

Open
jdacchio opened this issue Nov 11, 2022 · 3 comments
Open

Compiling viewkel on M2 MacBook Pro #37

jdacchio opened this issue Nov 11, 2022 · 3 comments

Comments

@jdacchio
Copy link

Hi everyone,

I've enjoyed using viewkel since my time in the Hoffmann group, but have gotten super-bummed that I can't get it to work on my M2 MacBook Pro running Monterey. I've had luck compiling it on Intel systems, but I'm stumped. Disclaimer: I'm not a programmer, but am OK at going in and modifying code if I need to. I downloaded the viewkel source on SourceForge, and modified the Makefile which I'm attaching. I get the attached error.

In a nutshell, I'm not sure how to get the code to compile without the Undefined symbols for architecture arm64: error. I've used both Homebrew's port of gmake and OSX's make. I've dug around online, and I see a lot of people compiling using Xcode's GUI and modifying architecture type. I'm doing things through a command line using trial by error and keeping my fingers crossed. Any help is appreciated.

Be well,

Jason

Makefile.txt
error.txt

@greglandrum
Copy link
Owner

Hi @jdacchio : to be honest, I'm amazed that viewkel will compile at all on a modern system. I haven't done any maintenance work on that code in a very long time and wouldn't expect it to work

@jdacchio
Copy link
Author

Hi @jdacchio : to be honest, I'm amazed that viewkel will compile at all on a modern system. I haven't done any maintenance work on that code in a very long time and wouldn't expect it to work

Well, rats, @greglandrum ! What I liked most about it was the ability to generate MO diagrams from FMO tightbind calculations. I can still generate MO diagrams with the FMO output; it just requires a little more tinkering on my part.

Thanks for getting back to me. I appreciate it!

@bobk1955
Copy link

bobk1955 commented Feb 13, 2024

In case anybody out there is still trying to do this - I found it almost straightforward to build viewkel on MacOS 12 using a variation of the makefile posted by @jdacchio. I first installed xquartz, then macports, then the macports version of gcc-12 and readline. ymmv

Makefile.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants