0

I have a project written in C++ and I want to call some functions of it from Maple. Searching about possible solutions, I found the one to create .dylib from the C++ files and then call this .dylib from Maple.

I was able to create a .dylib from a single C++ file and use its functions from Maple, following this: How do I create a dynamic library (dylib) with Xcode?

Now, I'm wondering if I can do it with a full project. I saw that maybe I could do it using Xcode (I have the version 6.4), but I don't know how...

Someone could help me? Any help is appreciate, thank you in advance!

Community
  • 1
  • 1
afc94
  • 1
  • 2
  • It's a bit of a broad question, but it's certainly possible from Xcode. There should be a template for just such a project. – trojanfoe Jul 10 '15 at 10:17
  • Thanks for answering! Between all templates given by Xcode, which one could be more useful, or better for what I want to do? – afc94 Jul 10 '15 at 10:48
  • I am not near Xcode at the moment, but it's probably called "shared library". – trojanfoe Jul 10 '15 at 10:50
  • If I try to create a new project (and add what I have afterwards), for OS > Framework & Library, I have "Cocoa Framework", "Library", "Bundle" and "XPC Service". Should I go to "Library", right? – afc94 Jul 10 '15 at 10:56
  • But when I'm creating it asks for "Framework": "Cocoa", "STL (C++ Library)" and "None (Plain C/C++ Library)". Which one should I use? – afc94 Jul 10 '15 at 11:04
  • Have a look at this other [stackoverflow post](http://stackoverflow.com/questions/38201797/how-to-use-dylib-library-and-hpp-header-file-in-ios-project/38203901#38203901) – inigo333 Jul 05 '16 at 15:48

0 Answers0