Skip to content

Instantly share code, notes, and snippets.

@sushihangover
Created February 21, 2015 16:24
Show Gist options
  • Save sushihangover/e26c444e32753ccc3d5e to your computer and use it in GitHub Desktop.
Save sushihangover/e26c444e32753ccc3d5e to your computer and use it in GitHub Desktop.
Monoobjc native package compile error
Cleaning: Fireworks (Release)
Removing output files...
Clean complete
Building: Fireworks (Release)
Pre-Building...
Building
Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/3.12.0/bin/mcs /noconfig "/r:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/mscorlib.dll" -nostdlib "/out:/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/Fireworks.exe" "/r:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Core.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Xml.dll" "/r:/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/monobjc-10.9/Monobjc.dll" "/r:/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/monobjc-10.9/Monobjc.AppKit.dll" "/r:/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/monobjc-10.9/Monobjc.Foundation.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Core.dll" /nologo /warn:4 /optimize- /codepage:utf8 /t:exe "/Library/Application Support/Monobjc/samples/Fireworks/Program.cs" "/Library/Application Support/Monobjc/samples/Fireworks/AppController.cs" "/Library/Application Support/Monobjc/samples/Fireworks/FireworksAppDelegate.cs" "/Library/Application Support/Monobjc/samples/Fireworks/AppController.designer.cs"
Build complete -- 0 errors, 3 warnings
Post-Building...
Compiling XIB files...
Compiling English.lproj/MainMenu.xib
Compiling /Library/Application Support/Monobjc/samples/Fireworks/English.lproj/MainMenu.xib into /Library/Application Support/Monobjc/samples/Fireworks/bin/Release/Fireworks.app/Contents/Resources/English.lproj
IBClippedContent: View is clipping its content
Copying output files...
Copying bin/Release/Fireworks.exe
Copying content files...
Copying Monobjc.icns
Copying tspark.png
Copying English.lproj/InfoPlist.strings
Generating the Info.plist...
Copying Monobjc assemblies...
Copying Monobjc.dll
Copying Monobjc.AppKit.dll
Copying Monobjc.Foundation.dll
Copying native launcher...
Compiling XIB files...
Compiling English.lproj/MainMenu.xib
Compiling /Library/Application Support/Monobjc/samples/Fireworks/English.lproj/MainMenu.xib into /Users/administrator/Desktop/Fireworks.app/Contents/Resources/English.lproj
IB file '/Library/Application Support/Monobjc/samples/Fireworks/English.lproj/MainMenu.xib' is up-to-date.
Copying output files...
Copying bin/Release/Fireworks.exe
Copying content files...
Copying Monobjc.icns
Copying tspark.png
Copying English.lproj/InfoPlist.strings
Generating the Info.plist...
Collecting assemblies...
Setting up the search directories...
Search Directories
-> /Library/Application Support/Monobjc/samples/Fireworks/bin/Release
-> /Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0
-> /Library/Frameworks/Mono.framework/Versions/Current/lib/mono/monobjc-10.9
Collecting dependencies for '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/Fireworks.exe'...
Probing assembly '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/Fireworks.exe'...
Collecting dependencies of 'Fireworks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'...
Found 'Monobjc, Version=10.9.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be'
Probing assembly 'Monobjc'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/Monobjc.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/Monobjc.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/monobjc-10.9/Monobjc.dll'...
Loaded 'Monobjc' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/gac/Monobjc/10.9.0.0__d5a8d181860c16be/Monobjc.dll'
Collecting dependencies of 'Monobjc, Version=10.9.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be'...
Found 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Probing assembly 'mscorlib'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/mscorlib.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/mscorlib.dll'...
Loaded 'mscorlib' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/mscorlib.dll'
Collecting dependencies of 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'...
Found 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Probing assembly 'System.Core'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/System.Core.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Core.dll'...
Loaded 'System.Core' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Core.dll'
Collecting dependencies of 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'...
Found 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Probing assembly 'System'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/System.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.dll'...
Loaded 'System' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.dll'
Collecting dependencies of 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'...
Found 'Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
Probing assembly 'Mono.Security'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/Mono.Security.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/Mono.Security.dll'...
Loaded 'Mono.Security' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/Mono.Security.dll'
Collecting dependencies of 'Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'...
Found 'System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Probing assembly 'System.Configuration'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/System.Configuration.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Configuration.dll'...
Loaded 'System.Configuration' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Configuration.dll'
Collecting dependencies of 'System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'...
Found 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Probing assembly 'System.Xml'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/System.Xml.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Xml.dll'...
Loaded 'System.Xml' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Xml.dll'
Collecting dependencies of 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'...
Found 'System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Probing assembly 'System.Security'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/System.Security.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Security.dll'...
Loaded 'System.Security' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Security.dll'
Collecting dependencies of 'System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'...
Found 'Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
Probing assembly 'Mono.Posix'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/Mono.Posix.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/Mono.Posix.dll'...
Loaded 'Mono.Posix' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/Mono.Posix.dll'
Collecting dependencies of 'Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'...
Found 'Monobjc.AppKit, Version=10.9.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be'
Probing assembly 'Monobjc.AppKit'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/Monobjc.AppKit.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/Monobjc.AppKit.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/monobjc-10.9/Monobjc.AppKit.dll'...
Loaded 'Monobjc.AppKit' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/gac/Monobjc.AppKit/10.9.0.0__d5a8d181860c16be/Monobjc.AppKit.dll'
Collecting dependencies of 'Monobjc.AppKit, Version=10.9.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be'...
Found 'Monobjc.Foundation, Version=10.9.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be'
Probing assembly 'Monobjc.Foundation'...
Probing location '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/Monobjc.Foundation.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/Monobjc.Foundation.dll'...
Probing location '/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/monobjc-10.9/Monobjc.Foundation.dll'...
Loaded 'Monobjc.Foundation' from '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/gac/Monobjc.Foundation/10.9.0.0__d5a8d181860c16be/Monobjc.Foundation.dll'
Collecting dependencies of 'Monobjc.Foundation, Version=10.9.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be'...
Generating native code...
Creating static libraries...
Processing static library Fireworks.exe
Embedding '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/Fireworks.exe'...
Create assembly file 'Fireworks_exe.s'...
Create object file 'Fireworks_exe.o'...
Create library file 'Fireworks_exe.a'...
Swaping content to 'libFireworks_exe.a'...
Processing static library Monobjc.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/gac/Monobjc/10.9.0.0__d5a8d181860c16be/Monobjc.dll'...
Create assembly file 'Monobjc_dll.s'...
Create object file 'Monobjc_dll.o'...
Create library file 'Monobjc_dll.a'...
Swaping content to 'libMonobjc_dll.a'...
Processing static library mscorlib.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/mscorlib.dll'...
Create assembly file 'mscorlib_dll.s'...
Create object file 'mscorlib_dll.o'...
Create library file 'mscorlib_dll.a'...
Swaping content to 'libmscorlib_dll.a'...
Processing static library System.Core.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Core.dll'...
Create assembly file 'System_Core_dll.s'...
Create object file 'System_Core_dll.o'...
Create library file 'System_Core_dll.a'...
Swaping content to 'libSystem_Core_dll.a'...
Processing static library System.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.dll'...
Create assembly file 'System_dll.s'...
Create object file 'System_dll.o'...
Create library file 'System_dll.a'...
Swaping content to 'libSystem_dll.a'...
Processing static library Mono.Security.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/Mono.Security.dll'...
Create assembly file 'Mono_Security_dll.s'...
Create object file 'Mono_Security_dll.o'...
Create library file 'Mono_Security_dll.a'...
Swaping content to 'libMono_Security_dll.a'...
Processing static library System.Configuration.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Configuration.dll'...
Create assembly file 'System_Configuration_dll.s'...
Create object file 'System_Configuration_dll.o'...
Create library file 'System_Configuration_dll.a'...
Swaping content to 'libSystem_Configuration_dll.a'...
Processing static library System.Xml.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Xml.dll'...
Create assembly file 'System_Xml_dll.s'...
Create object file 'System_Xml_dll.o'...
Create library file 'System_Xml_dll.a'...
Swaping content to 'libSystem_Xml_dll.a'...
Processing static library System.Security.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Security.dll'...
Create assembly file 'System_Security_dll.s'...
Create object file 'System_Security_dll.o'...
Create library file 'System_Security_dll.a'...
Swaping content to 'libSystem_Security_dll.a'...
Processing static library Mono.Posix.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/Mono.Posix.dll'...
Create assembly file 'Mono_Posix_dll.s'...
Create object file 'Mono_Posix_dll.o'...
Create library file 'Mono_Posix_dll.a'...
Swaping content to 'libMono_Posix_dll.a'...
Processing static library Monobjc.AppKit.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/gac/Monobjc.AppKit/10.9.0.0__d5a8d181860c16be/Monobjc.AppKit.dll'...
Create assembly file 'Monobjc_AppKit_dll.s'...
Create object file 'Monobjc_AppKit_dll.o'...
Create library file 'Monobjc_AppKit_dll.a'...
Swaping content to 'libMonobjc_AppKit_dll.a'...
Processing static library Monobjc.Foundation.dll
Embedding '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/gac/Monobjc.Foundation/10.9.0.0__d5a8d181860c16be/Monobjc.Foundation.dll'...
Create assembly file 'Monobjc_Foundation_dll.s'...
Create object file 'Monobjc_Foundation_dll.o'...
Create library file 'Monobjc_Foundation_dll.a'...
Swaping content to 'libMonobjc_Foundation_dll.a'...
Embedding '/Library/Frameworks/Mono.framework/Home/etc/mono/4.0/machine.config'...
Create assembly file 'machine_config.s'...
Create object file 'machine_config.o'...
Create library file 'machine_config.a'...
Swaping content to 'libmachine_config.a'...
Creating source file...
Output symbols for assemblies (12)
Output symbols for configuration (0)
Output symbol for machine configuration
Output bundle for assemblies (12)
System.ComponentModel.Win32Exception: ApplicationName='pkg-config', CommandLine='--cflags mono-2', CurrentDirectory='', Native error= Cannot find the specified file
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00352] in /private/tmp/source-mono-mac-3.12.0-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.0/mcs/class/System/System.Diagnostics/Process.cs:1102
at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00096] in /private/tmp/source-mono-mac-3.12.0-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.0/mcs/class/System/System.Diagnostics/Process.cs:1166
at System.Diagnostics.Process.Start () [0x0002c] in /private/tmp/source-mono-mac-3.12.0-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.0/mcs/class/System/System.Diagnostics/Process.cs:1176
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
at Monobjc.Tools.Utilities.ProcessHelper.Execute () [0x00000] in <filename unknown>:0
Compiling...
Arguments: ' -Os -gdwarf-2 -arch i386 -mmacosx-version-min=10.6 -I"/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/.native" -c "/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/.native/main.c" -o "/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/.native/main.o" '
/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/.native/main.c:4:10: fatal error: 'mono/metadata/assembly.h' file not found
#include <mono/metadata/assembly.h>
^
1 error generated.
System.ComponentModel.Win32Exception: ApplicationName='pkg-config', CommandLine='--libs mono-2', CurrentDirectory='', Native error= Cannot find the specified file
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00352] in /private/tmp/source-mono-mac-3.12.0-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.0/mcs/class/System/System.Diagnostics/Process.cs:1102
at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00096] in /private/tmp/source-mono-mac-3.12.0-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.0/mcs/class/System/System.Diagnostics/Process.cs:1166
at System.Diagnostics.Process.Start () [0x0002c] in /private/tmp/source-mono-mac-3.12.0-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.0/mcs/class/System/System.Diagnostics/Process.cs:1176
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
at Monobjc.Tools.Utilities.ProcessHelper.Execute () [0x00000] in <filename unknown>:0
Linking...
Arguments: ' -arch i386 -mmacosx-version-min=10.6 -L"/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/.native" -lmonobjc -lFireworks_exe -lMono_Posix_dll -lMono_Security_dll -lMonobjc_AppKit_dll -lMonobjc_dll -lMonobjc_Foundation_dll -lmscorlib_dll -lSystem_Configuration_dll -lSystem_Core_dll -lSystem_dll -lSystem_Security_dll -lSystem_Xml_dll -lmachine_config -o "/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/.native/Fireworks" "/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/.native/main.o" '
clang: error: no such file or directory: '/Library/Application Support/Monobjc/samples/Fireworks/bin/Release/.native/main.o'
Embedding done
Copying native code...
Reference 'Monobjc, Version=10.6.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be' not found on system. Using 'Monobjc, Version=10.9.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be' instead.
Reference 'Monobjc.AppKit, Version=10.6.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be' not found on system. Using 'Monobjc.AppKit, Version=10.9.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be' instead.
Reference 'Monobjc.Foundation, Version=10.6.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be' not found on system. Using 'Monobjc.Foundation, Version=10.9.0.0, Culture=neutral, PublicKeyToken=d5a8d181860c16be' instead.
Error while generating the bundle. /Library/Application Support/Monobjc/samples/Fireworks/bin/Release/.native/Fireworks does not exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment