How to compile from command line

2 posts / 0 new
Last post
bunti
bunti's picture
Offline
Joined: 24 May 2011
Posts:
How to compile from command line

hi
I just discovered mosync. Great stuff!

I'd like to compile one of your examples, and then run it in a emulator. All on the command line.

I work on mac os x snow leopard with a nightly build (MoSync-110523-1437)

Ok, here is my problem
cd /Applications/MoSync/examples/MoTrix/
MoTrix.vcproj
main.cpp
res.lst
tileset.png
workfile.rb

If I understand correct. I have to first use the pipe tool.

$ /Applications/MoSync/bin/pipe-tool -R mx res.lst
Added 'res.lst'
Resource Compiler Copyright 2007-2010 MoSync AB
Pass 1 - Size 61225
Res 1 Total 61225
Pass 2 - Size 61225
Done...

That looks OK - I guess.

But, what comes next? What do I have to do with my newly created 'mx' file? How can I run this in a emulator?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Fredrik Eldh
Fredrik's picture
Offline
Mobile Sorcerer
Joined: 16 Feb 2009
Posts:

See the documentation: http://www.mosync.com/documentation/manualpages/building-projects-command-line