Skip to content

How to add GCC C++ Linker Flag AFTER cpp file ? #542

Closed Answered by jld01
konstantinos-x asked this question in Q&A
Discussion options

You must be logged in to vote

I suggest you try separating the linker flags from the libraries as follows:

  • GCC C++ Compiler > Miscellaneous > Other flags: `Magick++-config --cxxflags --cppflags`
  • GCC C++ Linker > Miscellaneous > Linker flags: `Magick++-config --ldflags`
  • GCC C++ Linker > Command line pattern: ${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} ${EXTRA_FLAGS} `Magick++-config --libs`

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jld01
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jld01
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants