mkbundle

mkbundle and GTK#

我的未来我决定 提交于 2019-12-01 01:48:14
I'm trying to use mkbundle so that I can distribute a GTK# application without users needing to install .NET/Mono or GTK#. I've successfully bundled an application which uses winforms, but for some reason when I do the same with a GTK# application it won't work. This is what I get out of cygwin: $ mkbundle --deps a.exe OS is: Windows Sources: 1 Auto-dependencies: True Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp' or one of its dependencies. The system cannot find the file specified. File name: 'gtk-sharp' at System.AppDomain.Load (System

C# program doesn't work under mono in Linux.

六眼飞鱼酱① 提交于 2019-11-30 21:01:15
问题 I am trying to make my program written in Visual C# 2010 work on Linux. For that, I have used mkbundle feature, so that potential client doesn't have to install mono. Unfortunately I am not knowledgeable about Linux or Mono, so I have just followed this: c# cywgwin mono mkbundle windows 7 - cannot compile file But for some reason mkbundle writes [FAIL] in the end, saying something about "No such file or directory". I have pasted the full text below. Does anybody know how to solve this? $

Create C# executable with mkbundle on windows

半城伤御伤魂 提交于 2019-11-30 10:05:06
Im trying to create an executable from a console application. I have installed mono,cygwin (mingw-gcc, mingw-zlib1, mingw-zlib-devel, pkg-config) and I have added the following lines to my .bashrc file export PKG_CONFIG_PATH=/cygdrive/c/progra~1/Mono-3.2.3/lib/pkgconfig export PATH=$PATH:/cygdrive/c/progra~1/Mono-3.2.3/bin export CC="i686-pc-mingw32-gcc -U _WIN32" But everytime I try to use mkbundle I receive the following message Is there a way to make mkbundle work properly on windows.? (Im using windows 7 x86, mono 3.2.3, the cygwin I found on the official website, xamarin studio 4.2 and

An issue when running mono 2.10.2 mkbundle on Mac OS X snow leopard

不羁岁月 提交于 2019-11-30 05:49:15
This page has info about Bundles with mkbundle , but when I tried to use it on Mac, I got this error message. delegate> mkbundle delegate.exe -o delegate OS is: Darwin Sources: 1 Auto-dependencies: False embedding: /Users/smcho/Desktop/csharp/delegate/delegate.exe Compiling: as -o temp.o temp.s temp.s:2:unknown section type: symbol_stubs temp.s:2:Rest of line ignored. 1st junk character valued 112 (p). [Fail] And from this site , I could run export AS="as -arch i386" to get another error. Compiling: as -arch i386 -o temp.o temp.s cc -g -o a.out -Wall temp.c `pkg-config --cflags --libs mono-2`

An issue when running mono 2.10.2 mkbundle on Mac OS X snow leopard

陌路散爱 提交于 2019-11-29 04:04:13
问题 This page has info about Bundles with mkbundle , but when I tried to use it on Mac, I got this error message. delegate> mkbundle delegate.exe -o delegate OS is: Darwin Sources: 1 Auto-dependencies: False embedding: /Users/smcho/Desktop/csharp/delegate/delegate.exe Compiling: as -o temp.o temp.s temp.s:2:unknown section type: symbol_stubs temp.s:2:Rest of line ignored. 1st junk character valued 112 (p). [Fail] And from this site, I could run export AS="as -arch i386" to get another error.

Can not compile simple C# application with mkbundle

本小妞迷上赌 提交于 2019-11-28 19:00:47
I have written some console "Hello world"-like app. and have followed c# cywgwin mono mkbundle windows 7 - cannot compile file answer. But I have got: $ mkbundle -o Fur Furries.exe --deps -z OS is: Windows Sources: 1 Auto-dependencies: True embedding: C:\Monotest\Furries.exe compression ratio: 40.43% embedding: C:\Soft\Mono\lib\mono\4.0\mscorlib.dll compression ratio: 34.68% Compiling: as -o temp.o temp.s gcc -mno-cygwin -g -o Fur -Wall temp.c `pkg-config --cflags --libs mono-2|dos2un ix` -lz temp.o temp.c: In function `main': temp.c:173: warning: implicit declaration of function `g_utf16_to

How to make “mkbundle --deps” option working with mono 3.2.3

删除回忆录丶 提交于 2019-11-28 08:57:03
I am trying to bundle the application with mono 3.2.3 to a stand-alone executable. To do so, I am following this guideline. After declarating variables: mono_version="3.2.3" export MONO=/cygdrive/c/progra~2/Mono-$mono_version machineconfig=$PROGRAMFILES\\Mono-$mono_version\\etc\\mono\\4.5\\machine.config export PATH=$PATH:$MONO/bin export PKG_CONFIG_PATH=$MONO/lib/pkgconfig export CC="i686-pc-mingw32-gcc -U _WIN32" mkbundle --deps command cannot localize referenced assemblies: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp' or one of its

mono mkbundle windows

末鹿安然 提交于 2019-11-28 06:51:05
问题 I've used mono mkbundle on cygwin, to compile a dot net app, and it works fine. I used the instructions from here c# cywgwin mono mkbundle windows 7 - cannot compile file The finished app will not run unless the following files (copied from the mono/bin) folder are in the same folder as the app: mono.dll, libglib-2.0-0.dll, libgthread-2.0-0.dll, zlib.dll This all seems ok - however if I run the command (from cygwin) $ objdump -p mycompiledapp.exe | grep "DLL Name" (where "mycompiledapp.exe"

c# cywgwin mono mkbundle windows 7 - cannot compile file

此生再无相见时 提交于 2019-11-27 17:00:32
问题 I'm trying to follow the following post to build a c# app with mono embedded, using cygwin. I am following the guide here: How to convert a simple .Net console project a into portable exe with Mono and mkbundle? The error I am receiving is: "gcc: the -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler." I'm unsure how to fix this - can anyone advise? I'm using: Windows 7 x64, Mono 2.4.3, cygwin 7.1 beta (for Windows 7 support). Thanks, Frank 回答1: Have you tried updating to

How to make “mkbundle --deps” option working with mono 3.2.3

时间秒杀一切 提交于 2019-11-27 02:37:49
问题 I am trying to bundle the application with mono 3.2.3 to a stand-alone executable. To do so, I am following this guideline. After declarating variables: mono_version="3.2.3" export MONO=/cygdrive/c/progra~2/Mono-$mono_version machineconfig=$PROGRAMFILES\\Mono-$mono_version\\etc\\mono\\4.5\\machine.config export PATH=$PATH:$MONO/bin export PKG_CONFIG_PATH=$MONO/lib/pkgconfig export CC="i686-pc-mingw32-gcc -U _WIN32" mkbundle --deps command cannot localize referenced assemblies: Unhandled