Moto Hell - The Motorola Modding Community
November 25, 2024, 07:39:50 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The forum is no longer active and registration is disabled; however you can still fetch everything as guest.
 
   Home   Help Facebook Search Calendar Login Register  
Pages: [1] 2 3   Go Down
  Print  
Author Topic: Compile E2 app in Windows Dev-Ezx-Win  (Read 32893 times)
kidscracker
Guest
« on: December 07, 2008, 03:54:59 pm »

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 Cheesy.

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 Cheesy


COMPILE (EXAMPLE)

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

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 Cheesy

Thanks to NestoR for being my Beta Tester Wink

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

« Last Edit: March 31, 2009, 06:10:00 am by kidscracker » Logged
keaglez
Indonesian Motolover
PHD modder
***

Karma: 61
Offline Offline

Posts: 2562


http://jeffri.net


View Profile WWW
« Reply #1 on: December 07, 2008, 04:53:31 pm »

Hey, thank you... Smiley I used to use Cygwin before but I just can't think a way to make blackhawk's SDK works with it... lol
Logged

Best regards,
Jeffri H.

kidscracker
Guest
« Reply #2 on: December 07, 2008, 05:04:07 pm »

well i found the way, i use blackhawks headers jeje. BTW your advmenuorganizer compile just with the header's names change ... Wink. 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 :'(
Logged
keaglez
Indonesian Motolover
PHD modder
***

Karma: 61
Offline Offline

Posts: 2562


http://jeffri.net


View Profile WWW
« Reply #3 on: December 07, 2008, 05:08:01 pm »

well i found the way, i use blackhawks headers jeje. BTW your advmenuorganizer compile just with the header's names change ... Wink. 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... Smiley But I dont know why, I can't compile the pictureflow source...segmentation fault... Sad
Logged

Best regards,
Jeffri H.

kidscracker
Guest
« Reply #4 on: December 07, 2008, 05:21:51 pm »

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 Cheesy ... 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 Cheesy hope you'll try my dev-env Wink
« Last Edit: December 07, 2008, 05:50:07 pm by kidscracker » Logged
keaglez
Indonesian Motolover
PHD modder
***

Karma: 61
Offline Offline

Posts: 2562


http://jeffri.net


View Profile WWW
« Reply #5 on: December 07, 2008, 06:33:26 pm »

hmm... I see... I will try it... Smiley
Logged

Best regards,
Jeffri H.

borndead
Guest
« Reply #6 on: December 08, 2008, 03:23:32 pm »

Links don't work! http://"http//www.4shared.com/file/74932915/376b2ad/dev-ezx_Win_Kidscracker.html%22

Plz, we need a new link for download!
Logged
NestorM
Guest
« Reply #7 on: December 08, 2008, 03:47:11 pm »

S%%$%t it doesn't work.

try this one, is the same.

http://www.4shared.com/file/74932915/376b2ad/dev-ezx_Win_Kidscracker.html
« Last Edit: December 08, 2008, 03:49:25 pm by NestorM » Logged
kidscracker
Guest
« Reply #8 on: December 08, 2008, 03:53:08 pm »

Fixed the link in the first post sorry Cheesy
Logged
Strelok_Vlad
Guest
« Reply #9 on: December 09, 2008, 11:23:31 am »

Please help me:
Logged
NestorM
Guest
« Reply #10 on: December 09, 2008, 12:24:17 pm »

you need to write this first.
. /opt/dev-ezx/setENV.sh e2

as I said, first you need to stablish the enviroment.
« Last Edit: December 09, 2008, 12:33:19 pm by NestorM » Logged
kidscracker
Guest
« Reply #11 on: December 09, 2008, 12:37:46 pm »

Also i forget to tell that PEARL is also needed as progen use it, after that and setting enviroment you'll be ready Wink

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.
« Last Edit: December 09, 2008, 12:55:13 pm by kidscracker » Logged
pebri86
Guest
« Reply #12 on: December 09, 2008, 03:46:15 pm »

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?
« Last Edit: December 09, 2008, 03:50:40 pm by pebri86 » Logged
kidscracker
Guest
« Reply #13 on: December 09, 2008, 04:06:43 pm »

@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 Cheesy
« Last Edit: December 09, 2008, 04:20:33 pm by kidscracker » Logged
pebri86
Guest
« Reply #14 on: December 09, 2008, 05:10:48 pm »

i'll test it ASAP...lol
Logged
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Design By Forum Hosting
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines