Compiling CPP to DYLIB on Mac #1418
Wiggliestone
started this conversation in
Show and tell
Replies: 1 comment
|
main.cpp as follows: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Given CPP file main.cpp to compile:
g++ -c -fdeclspec main.cppThen to produce DYLIB:
g++ -dynamiclib -undefined suppress -flat_namespace *.o -o main.dylibAll reactions