• Welcome, Guest. Please login.
 

Compile E2 app in Windows Dev-Ezx-Win

Started by kidscracker, December 08, 2008, 12:54:59 am

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

kidscracker

December 08, 2008, 12:54:59 am Last Edit: March 31, 2009, 04:10:00 pm by kidscracker
Well after some long nigths here is the final result, an easy and fast way to compile E2 apps in windows using CYGWIN, it's been inspired byt all the SDKs that are around in the net but i've made it as easy as i can to install and use, i hope you apreciate it :D.

Development Enviroment for CYGWIN

Carlos Aguilar aka Kidscracker
07/12/2008
Proudly From Peru  =)

Thanks to Lasly, blackhawk, Abram, Keaglez aka jeffri and more.

ModMyMoto and Motohell

INSTALLATION

1. Install Cygwin with Make and PEAR utilities checked
2. Extract "dev-ezx Win Kidscracker.7z" to C:\CYGWIN
3. Copy the libs from your PHONE to dir /opt/dev-ezx/e2/lib <=== IMPORTANT I FORGOT THESE STEP!!!!
4. Run Cygwin
5. write . /opt/dev-ezx/setENV.sh e2
6. Go to dir /e2 here you'll find some examples tested
7. Have fun :D


COMPILE (EXAMPLE)

1. cd /e2/Test1
2. progen -o Test1.pro
3. tmake Test1.pro -o Makefile
5. make
6. DONE :D

To test connect phone to computer copy Test1 to mmc/mmca1/ and execute it via telnet, bash will need you to add the mmca1 to PATH variable

export PATH=$PATH:/mmc/mmca1

that way it will look for executables in the mmca1 and will execute the example Test1

any comment or suggest are welcome :D

Thanks to NestoR for being my Beta Tester ;)

FIXED THE LINK

Development Enviroment for E2

DOWNLOAD FROM E2MOD: http://www.e2mod.com/content/view/289/29/
Descargar dev-ezx_Win_Kidscracker.7z
Descargar dev-ezx_Win_Kidscracker.7z [From Server Motoevolution.net]


E2 Libs For Development Enviroment

Descargar dev-ezx_Win_Kidscracker_e2-lib.7z

Pack for Development Enviroment for e680i (NOT TESTED YET)
Descargar dev-ezx_Win_Kidscracker_-_e680i.7z

UPDATED HEADERS
Download Updated Headers
Download Updated Headers - 4shared


keaglez

Hey, thank you... :) I used to use Cygwin before but I just can't think a way to make blackhawk's SDK works with it... lol
Best regards,
Jeffri H.


kidscracker

well i found the way, i use blackhawks headers jeje. BTW your advmenuorganizer compile just with the header's names change ... ;). why you stop using cygwin ? i'll be using linux now but as i'm not the only one that use this computer i cannot :'(

keaglez

Quote from: kidscracker on December 08, 2008, 02:04:07 am
well i found the way, i use blackhawks headers jeje. BTW your advmenuorganizer compile just with the header's names change ... ;). why you stop using cygwin ? i'll be using linux now but as i'm not the only one that use this computer i cannot :'(

Hmm... Me either, its not my own computer so I use virtual box and run puppy virtually... :) But I dont know why, I can't compile the pictureflow source...segmentation fault... :(
Best regards,
Jeffri H.


kidscracker

December 08, 2008, 02:21:51 am #4 Last Edit: December 08, 2008, 02:50:07 am by kidscracker
well i also had that prbblem while using lasly's SDK, that's why i use blackhawks SDK, with it all the code that use Qt works great :D ... mmm letm e chek if pictureflow copiles with my Dev-Env

EDIT: Well it copiles without problem, just some modification in the makefile to set the correct paths and some libs that were missing, also as i use Lasly's anmes in headers (E2_EZX_) i had to define QT_NO_DRAGANDDROP and QT_NO_PROPERTIES and done it copiles and run perfect in cell :D hope you'll try my dev-env ;)

keaglez

Best regards,
Jeffri H.



NestorM

December 09, 2008, 12:47:11 am #7 Last Edit: December 09, 2008, 12:49:25 am by NestorM
S%%$%t it doesn't work.

try this one, is the same.

http://www.4shared.com/file/74932915/376b2ad/dev-ezx_Win_Kidscracker.html

kidscracker


Strelok_Vlad


NestorM

December 09, 2008, 09:24:17 pm #10 Last Edit: December 09, 2008, 09:33:19 pm by NestorM
you need to write this first.
. /opt/dev-ezx/setENV.sh e2

as I said, first you need to stablish the enviroment.

kidscracker

December 09, 2008, 09:37:46 pm #11 Last Edit: December 09, 2008, 09:55:13 pm by kidscracker
Also i forget to tell that PEARL is also needed as progen use it, after that and setting enviroment you'll be ready ;)

PD: DON'T FORGET TO COPY THE LIBS FROM YOUR PHONE TO DIR /opt/dev-ezx/e2/lib if you have any problem let me know and i'll upload them.

pebri86

December 10, 2008, 12:46:15 am #12 Last Edit: December 10, 2008, 12:50:40 am by pebri86
it's run perfectly on my Computer....

Thanks Kids Cracker...

u need libs from your phone to compile your code...

Save EZX library to phone's MMC over telnet:
# cd /mmc/mmca1
# tar -C /usr -czvf e2-lib.tar.gz lib

Copy the compressed library and then extract to c:/cygwin/opt/dev-ezx/e2/lib on your computer:
$ tar -C /opt/dev-ezx/e2 -xzvf e2-lib.tar.gz

@kidscracker
will it work for e680i too?

kidscracker

December 10, 2008, 01:06:43 am #13 Last Edit: December 10, 2008, 01:20:33 am by kidscracker
Quote from: pebri86 on December 10, 2008, 12:46:15 am
@kidscracker
will it work for e680i too?


Well i think that it is just matter of trying with the file in this link

Pack for Development Enviroment for e680i (NOT TESTED YET)
Descargar dev-ezx_Win_Kidscracker_-_e680i.7z

Just extract it to CYGWIN directory and it will copy all the necessary files (except for the libs of course).
For setting the enviroment for the e680i use the same command but insteand of e2 use e680i

write . /opt/dev-ezx/setENV.sh e680i

and everything will be set up, let me know if it works for you. I'll put the link in the first post also :D

pebri86