Re: [Mono-list] Understanding a bit how things work

2012-03-05 Thread José Baltasar García Perez-Schofield

Hi, Charles!

 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.

The problem is not SlimDX. The problem is that SlimDX is a wrapper 
library for DirectX, and there is not DirectX _at all_ in mono.

DirectX is a library available in Windows. C# is able to use it through 
p/invoke, in Windows, but because the library is already there:

http://msdn.microsoft.com/en-us/library/aa288468(v=vs.71).aspx

So, the real question is: the target operating system is Windows? If 
the answer is no, then you won't be able to use DirectX. You can for example 
use SDL and SDL#, which provide access to OpenGL:

http://www.matrix44.net/old/sdl/sdlnet.html

You can then distribute your mono application with the libraries for 
each platform, as the SDL library is multiplatform.

There are of course, other alternatives, such as Unity3D...

-- 
Baltasar García Perez-Schofield (jbgar...@uvigo.es)
Dpt. Informática, Universidad de Vigo, España
http://webs.uvigo.es/jbgarcia/
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Understanding a bit how things work

2012-03-03 Thread Charles Krinke
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@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Understanding a bit how things work

2012-03-03 Thread Carlos Alberto Cortez
Probably the Deployment page is a good starting point:

http://www.mono-project.com/Guidelines:Application_Deployment

2012/3/3 Charles Krinke charles.kri...@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@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Understanding a bit how things work

2012-03-03 Thread Charles Krinke
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 ?

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


On Sat, Mar 3, 2012 at 9:54 AM, Carlos Alberto Cortez
calberto.cor...@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.kri...@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@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list





-- 
Charles Krinke
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Understanding a bit how things work

2012-03-03 Thread Carlos Alberto Cortez
Hey,


2012/3/3 Charles Krinke charles.kri...@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.cor...@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.kri...@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@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-list
 
 



 --
 Charles Krinke

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list