Note that there are some explanatory texts on larger screens.

plurals
  1. POAdding -gcc_flags to [build/iphone build/extra arguments] causes linking errors. MonoDevelop bug?
    primarykey
    data
    text
    <p>I am using MonoDevelop version 2.4.2 with iOS SDK 4 installed. I am encountering a problem whereby simply adding -gcc_flags to the project [build/iphone build/extra arguments] setting causes linking errors in MonoDevelop. </p> <p>This is easily reproducible, just create an empty iPhone Window-based Project. Confirm that it compiles correctly. Then add a simple include path with in [build/iphone build/extra arguments] as follows:</p> <p>-v -v -v -gcc_flags "-I${ProjectDir}"</p> <p>With this added, when I try compile I get the following linking errors (I have removed the paths to the temporary directory to make the error messages more readable):</p> <p>main.m:9:26: error: mono/jit/jit.h: No such file or directory main.m:10:36: error: mono/metadata/assembly.h: No such file or directory main.m:11:39: error: mono/metadata/mono-config.h: No such file or directory main.m:12:38: error: mono/metadata/mono-debug.h: No such file or directory main.m:13:26: error: monotouch/gc.h: No such file or directory main.m:14:33: error: monotouch/monotouch.h: No such file or directory</p> <p>It seems, therefore, with the -gcc_flags option set that MonoDevelop does not seem to find the path to the required mono and monotouch header files. Is this a known problem? Does anyone know a work around for this problem?</p> <p>I am new to MonoTouch, and so maybe I am doing something wrong here... and if I am, then I would appreciate it if someone could let me know what I am doing wrong and how I can get MonoTouch to compile with -gcc_flags set.</p> <p>Thanks,</p> <p>Bruce</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload