Skip to content

Instantly share code, notes, and snippets.

View CartBlanche's full-sized avatar

Dominique Louis CartBlanche

View GitHub Profile
Dominiques-MacBook-Pro:monodevelop savagesoftware$ ./configure --profile=mac
Configuring package: main
-------------------------
Configuration options: --disable-update-mimedb --disable-update-desktopdb --disable-gnomeplatform --enable-macplatform --enable-tests
**Error**: You must have `autoconf' installed to compile MonoDevelop.
Download the appropriate package for your distribution, or get the
source at ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.61.tar.bz2
(or a newer version if it is available)
Dominiques-MacBook-Pro:monodevelop savagesoftware$ make run
cd main && make run
PATH="/Library/Frameworks/Mono.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin" PKG_CONFIG_PATH="/Users/savagesoftware/Development/xamarin/monodevelop/local-config:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:" LD_LIBRARY_PATH="" DYLD_FALLBACK_LIBRARY_PATH="" MONO_GAC_PREFIX="/usr/local:" MONODEVELOP_LOCALE_PATH="/Users/savagesoftware/Development/xamarin/monodevelop/main/build/locale" MONO_ADDINS_REGISTRY="/Users/savagesoftware/Development/xamarin/monodevelop/main/build/bin" UBUNTU_MENUPROXY=0 exec -a "monodevelop" /Library/Frameworks/Mono.framework/Versions/Current/bin/mono --debug /Users/savagesoftware/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.exe --no-redirect
ERROR [2012-06-04 20:47:22Z]: Error setting process name
System.DllNotFoundException: libc.dylib
at (wrapper managed-to-native) MonoDevelop.Core.Runtime:prctl (int,byte[],intptr,intptr,i
Dominiques-MacBook-Pro:monodroid savagesoftware$ make mono
make -C builds all
Makefile:66: warning: overriding commands for target `.stamp-toolchain-arm'
Makefile:65: warning: ignoring old commands for target `.stamp-toolchain-arm'
Makefile:71: warning: overriding commands for target `.stamp-toolchain-Darwin'
Makefile:70: warning: ignoring old commands for target `.stamp-toolchain-Darwin'
(cd /Users/savagesoftware/Development/xamarin/mono && git submodule update --init --recursive) || exit 1
Submodule 'external/cecil' () registered for path 'external/cecil'
(cd /Users/savagesoftware/Development/xamarin/mono && autoreconf -i && rm -f config.sub) || exit 1
configure.in:394: warning: macro 'AM_PROG_LIBTOOL' not found in library
@CartBlanche
CartBlanche / gist:5227548
Last active May 20, 2016 12:25
C++ DirectXTK vs C# XNA/MonoGame
For example do you prefer this C++ DirectXTK code:
std::unique_ptr<DirectX::SpriteBatch> m_pSpriteBatch;
m_pSpriteBatch = std::unique_ptr<DirectX::SpriteBatch>(new DirectX::SpriteBatch(m_d3dContext.Get()));
Or do you prefer this C# XNA/MonoGame code...
SpriteBatch _spriteBatch;
_spriteBatch = new SpriteBatch(graphicsDevice);
@CartBlanche
CartBlanche / gist:8560196
Created January 22, 2014 15:02
Custom commands to upload to TestFlight.
Add these inside the Adhoc|iPhone block in your csproj and change the fields withing the square brackets [], so values that are relvant to your TestFlight account.
<CustomCommands>
<CustomCommands>
<Command type="BeforeBuild" command="rm -rf ${ProjectDir}/bin/${ProjectConfigPlat}/${ProjectConfigName}/Payload/${ProjectName}.app/" />
<Command type="BeforeBuild" command="rm -rf ${ProjectDir}/bin/${ProjectConfigPlat}/${ProjectConfigName}/${ProjectName}.ipa" />
<Command type="AfterBuild" command="cp -r ${ProjectDir}/bin/${ProjectConfigPlat}/${ProjectConfigName}/${ProjectName}.app ${ProjectDir}/bin/${ProjectConfigPlat}/${ProjectConfigName}/Payload/${ProjectName}.app" />
<Command type="AfterBuild" command="zip -r ${ProjectName}.ipa Payload/ -x &quot;*.DS_Store&quot;" workingdir="${ProjectDir}/bin/${ProjectConfigPlat}/${ProjectConfigName}/" />
<Command type="AfterBuild" command="curl http://testflightapp.com/api/builds.json -F file=@${ProjectName}.ipa -F api_token='[API
Still the odd over explanation, this time between geeks who supposedly need a visual representation of what should happen when back up tapes heat up.
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.exe
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.Ide.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.Core.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Mono.Addins.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Xwt.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Mono.Addins.Setup.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
Loaded assembly: /Library/Frameworks
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.exe
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.Ide.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.Core.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Mono.Addins.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Xwt.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Mono.Addins.Setup.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
Loaded assembly: /Library/Frameworks
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.exe
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.Ide.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.Core.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Mono.Addins.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Xwt.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Mono.Addins.Setup.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
Loaded assembly: /Library/Frameworks
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.exe
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.Ide.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/MonoDevelop.Core.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Mono.Addins.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Xwt.dll
Loaded assembly: /Users/dominique/Development/xamarin/monodevelop/main/build/bin/Mono.Addins.Setup.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
Loaded assembly: /Library/Frameworks