[Mono-list] Understanding a bit how things work

Charles Krinke charles.krinke at gmail.com
Sat Mar 3 20:31:50 UTC 2012


First of all Carlos, thank you very much for working with me a bit
today. I am learning a few things and that is always good.

I have studied the Application_Deployment page and can run "gacutil
-l" and see what is available to mono. I also can run "xbuild
a.csprog" and it progresses till it cannot find "SlimDX".

I can also see that gacutil shows gtk-sharp and System.Windows.Forms,
so at least part of the required graphics stuff seems available, but
"SlimDX" is the current issue.

Going on a bit further, I can see that SlimDX instantiates a "Device"
and a "Line", where device = new Device(new Direct3D(), ...

So, at this point, I need to determine if there is a package in mono
that can provide the methods in "SlimDX" and if not, find something
similar and re-work all the methods.

Charles Krinke

On Sat, Mar 3, 2012 at 11:21 AM, Carlos Alberto Cortez
<calberto.cortez at gmail.com> wrote:
> Hey,
>
>
> 2012/3/3 Charles Krinke <charles.krinke at gmail.com>
>>
>> Thank you Carlos, I will get another cup of coffee and go through
>> "Guidelines:Application_Deployment".
>>
>> In the meantime, let me ask two more focused questions.
>>
>> 1. Given a VS2008 studio project with a .SLN and .CPROG file which
>> loads in monodevelop and at least partially compiles to the first
>> "using" error, how can I compile the same project from a bash command
>> line with gmcs in mono, or can I ?
>>
>
> You need to use 'xbuild'. You can try with something like 'xbuild
> myproj.csproj'
>
>>
>> 2. The compilation in monodevelop fails at the first "using SlimDX".
>> Is there a package in mono that supports SlimDX in Linux or is the
>> source going to have to be re-worked to change this dependency to
>> something else and if so, what might the something else be?
>>
>> Charles Krinke
>>
>
> What's the complete error message? There can be a lot of things happening
> there.
>
>>
>>
>> On Sat, Mar 3, 2012 at 9:54 AM, Carlos Alberto Cortez
>> <calberto.cortez at gmail.com> wrote:
>> > Probably the Deployment page is a good starting point:
>> >
>> > http://www.mono-project.com/Guidelines:Application_Deployment
>> >
>> > 2012/3/3 Charles Krinke <charles.krinke at gmail.com>
>> >>
>> >> I have worked with mono before but it has been a little while and I
>> >> now have a Windows project including a solution file and I can open
>> >> and partially compile that project in mono-develop. I can also invoke
>> >> gmcs from a command line and see there is a /usr/bin/mono/ directory.
>> >> So far so good.
>> >>
>> >> I am searching for a few clues on how packages are installed and
>> >> searched with mono as I need to understand how to use (or wean)
>> >> WinForms, DirectX and slimDX in this new project.
>> >>
>> >> Perhaps this is all written down in wiki's somewhere and I have been
>> >> googling a bit, so some search terms (other then "mono" or go to
>> >> http://mono-project.com which I have already done) are a helpful
>> >> answer.
>> >>
>> >> I think part of the answer is going to be "how does gac work?" as I
>> >> think that is part of what allows one to bring in various packages.
>> >>
>> >> In any case, I am searching for a few ends in the big ball of string
>> >> that I can follow and increase my understanding as I embark on a mono
>> >> project that contains WinForms and DirectX.
>> >>
>> >> --
>> >> Charles Krinke
>> >> _______________________________________________
>> >> Mono-list maillist  -  Mono-list at lists.ximian.com
>> >> http://lists.ximian.com/mailman/listinfo/mono-list
>> >
>> >
>>
>>
>>
>> --
>> Charles Krinke
>
>



-- 
Charles Krinke


More information about the Mono-list mailing list