Additional Mtouch Arguments in iOS

I have a quick question about "optional mtouch arguments"

-gcc_flags "-lstdc++ -L${ProjectDir} -libMonkeyTalk-1.0.40 -lsqlite30 -framework CFNetwork -framework QuartzCore -all_load"

I have this as an additional argument, but I get the following error when creating an iOS application.

Error MT5201: Native linking failed. Please review user flags provided to gcc: "-lstdc++" "-L/Users/henry/Downloads/HelloWorld_iPhone/HelloWorld_iPhone" "-libMonkeyTalk-1.0.40" "-lsqlite30" "-framework" "CFNetwork" "-framework" "QuartzCore" "-all_load" (MT5201) (HelloWorld_iPhone)

How can i fix this? What is wrong with my argument? Am I missing a step in adding the MonkeyTalk library or is something else wrong?

+5
source share
1 answer

MT5201errors mean that the assembly failed to start the native linker .

One of the most common problems is related to additional (and unapproved) arguments provided to the linker using -gcc_flags. This is why the error message asks you to view them.

, . ( XS), /, ( ).

mtouch full, ++ ( "-lstdc++), mtouch ++, --cxx,

, mtouch, , --gcc_flags. .

--cxx -gcc_flags "-lstdc++ -L${ProjectDir} -libMonkeyTalk-1.0.40 -lsqlite30 -framework CFNetwork -framework QuartzCore -all_load"
+3

All Articles