Title: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker 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 :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 (http://www.4shared.com/file/74932915/376b2ad/dev-ezx_Win_Kidscracker.html) Descargar dev-ezx_Win_Kidscracker.7z [From Server Motoevolution.net] (http://motoevolution.net/kidscracker/programas/dev-ezx/dev-ezx%20Win%20Kidscracker.7z) E2 Libs For Development Enviroment Descargar dev-ezx_Win_Kidscracker_e2-lib.7z (http://www.4shared.com/file/75363614/89d05c1/dev-ezx_Win_Kidscracker_e2-lib.html) Pack for Development Enviroment for e680i (NOT TESTED YET) Descargar dev-ezx_Win_Kidscracker_-_e680i.7z (http://www.4shared.com/file/75252953/cd89dc4b/dev-ezx_Win_Kidscracker_-_e680i.html) UPDATED HEADERS Download Updated Headers (http://www.4shared.com/file/76843775/9ed41d8/include_17_12_2008.html) Download Updated Headers - 4shared (http://motoevolution.net/kidscracker/programas/dev-ezx/include_17_12_2008.7z) Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: keaglez on December 07, 2008, 04:53:31 pm 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
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker 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 ... ;). 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 :'(
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: keaglez 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 ... ;). 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... :(Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker 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 :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 ;) Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: keaglez on December 07, 2008, 06:33:26 pm hmm... I see... I will try it... :)
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: borndead 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 (http://"http//www.4shared.com/file/74932915/376b2ad/dev-ezx_Win_Kidscracker.html%22)
Plz, we need a new link for download! Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: NestorM 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 Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker on December 08, 2008, 03:53:08 pm Fixed the link in the first post sorry :D
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: Strelok_Vlad on December 09, 2008, 11:23:31 am Please help me:
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: NestorM 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. Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker 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 ;)
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. Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: pebri86 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? Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker 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 (http://www.4shared.com/file/75252953/cd89dc4b/dev-ezx_Win_Kidscracker_-_e680i.html) 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 Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: pebri86 on December 09, 2008, 05:10:48 pm i'll test it ASAP...lol
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: keaglez on December 10, 2008, 02:48:03 am 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 I still can't get the picture flow run... :( It always ended segmentation fault even the compiling going smooth. Any help? I want to play with the picture flow widget badly....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 ;) Other source is compiled fine including my menu organizer... :) Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker on December 10, 2008, 09:24:04 am mm it's strange mmm i'm attaching the code i'm compiling, i've made some modiffication since i'm trying to use the filebrowser to select the directory to use, and also i've added some code on the key envents, it compiles without problems, look at the makefile may be there is a problem.... or maybe the moc file. let me know your results with these code. just extrat to /e2 dir and type make :D.
I'll be posting some examples that i've port to the E2 soon, let me practice more time to get familiar with the Qt stuff :D Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: Strelok_Vlad on December 10, 2008, 10:13:42 am Sorry but, What's wrong i do?
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: NestorM on December 10, 2008, 11:05:55 am you need to install perl tools.
and please use the lasly sdk libs. Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: Exploited on December 10, 2008, 11:09:52 am mirrored at e2mod: http://www.e2mod.com/content/view/289/29/
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker on December 10, 2008, 11:18:56 am As NestorM says PERL is missing , it's needed since progen use it, i've corrected it in the first post, about the sdk well blackhawks worked for me , lasly's generates Segmentation Fault :(. Anyway i'll be cleaning all the package and then release a pack with more examples as i said before.
Well it's a common problem as i can see, when you tar the libs from the phone and untar them to the lib dirs they are just links to the files or files of size 0 that's what the copiler says. to avoid these problem i'm uploading the libs i use i've taken them from other sdk and works fine, i'm adding these link to the first post also: E2 Libs For Development Enviroment Descargar dev-ezx_Win_Kidscracker_e2-lib.7z (http://www.4shared.com/file/75363614/89d05c1/dev-ezx_Win_Kidscracker_e2-lib.html) Extract in the CYGWIN directory just like the Dev Enviroment, it will create the necesary tree structure. I'll make another post with the complete sequences for installing CYGWIN and the development enviroment :D Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: keaglez on December 10, 2008, 08:16:14 pm mm it's strange mmm i'm attaching the code i'm compiling, i've made some modiffication since i'm trying to use the filebrowser to select the directory to use, and also i've added some code on the key envents, it compiles without problems, look at the makefile may be there is a problem.... or maybe the moc file. let me know your results with these code. just extrat to /e2 dir and type make :D. hmm... Still can't, the result still segmentation fault... :( I donno whats wrong, maybe the libs....will try another libs....I'll be posting some examples that i've port to the E2 soon, let me practice more time to get familiar with the Qt stuff :D Your compiled binary works in my phone though... :) Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker on December 10, 2008, 09:12:58 pm hmm... Still can't, the result still segmentation fault... :( I donno whats wrong, maybe the libs....will try another libs.... Your compiled binary works in my phone though... :) Well i've make everything from the start and compiled it again and it's working fine in my phone, try the libs that i've post in the first link, those are the one that i use. Hope you can make it work ;) Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: keaglez on December 11, 2008, 12:23:44 am Still can't work..... :( I dont have idea whats wrong anymore.... :(
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: Strelok_Vlad on December 16, 2008, 06:27:16 am Why when I am edit the source:
Quote /opt/dev-ezx/bin/moc hello3.cpp -o hello3.moc ?Fatal: Unable to execute command: /opt/dev-ezx/bin/moc Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: NestorM on December 16, 2008, 09:16:03 am try to verify if you have the bin folder with moc file inside. /opt/dev-ezx
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker on December 16, 2008, 09:32:07 am Why when I am edit the source: Quote /opt/dev-ezx/bin/moc hello3.cpp -o hello3.moc ?Fatal: Unable to execute command: /opt/dev-ezx/bin/moc Have you setup the enviroment with ". /opt/dev-ezx/setENV.sh e2" ? if you've done that you don't need to use the complete path to moc. Inside the proyect directory just type moc hello3.cpp -o hello3.moc in general if you have used progen and tmake to generate your makefilethis will handle the moc generation. try it. Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: Strelok_Vlad on December 16, 2008, 11:09:58 am Have you setup the enviroment with ". /opt/dev-ezx/setENV.sh e2" ? Yes. progen & tmake I`am use too.if I`am write "moc hello3.cpp -o hello3.moc" compile is done, but execute in phone is failed: segmentation fault =( Maybe its happend becouse I`am used the notepad++ for editing? Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker on December 16, 2008, 11:17:44 am if I`am write "moc hello3.cpp -o hello3.moc" compile is done, but execute in phone is failed: segmentation fault =( The segmentation fault will be caused by bad libraries, but fom my experiences it's caused by bad header. Btw hello3 isn't working i forget to delete it. the other examples are working? if not i'll upload my current headers. I've added some header adn modiffied other and they are working great :D.Maybe its happend becouse I`am used the notepad++ for editing? I use Notepad++ for editing, it's just perfect for me so i don't think it's the problem Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: Strelok_Vlad on December 16, 2008, 01:16:39 pm You are right - this problem only in hello3 :D . But please give your modified headers ;)
Thanks! Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: keaglez on December 18, 2008, 06:12:00 am BTW hello3 source works fine if you rebuilt the project file and the makefile... ;)
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker on December 20, 2008, 07:19:33 am Uploaded Updated Headers in the first psot, sorry for the delay, i was busy with personal things. Hope now you'll compile everything without problems ;D
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: BlinK_ on December 20, 2008, 09:59:56 am At the first post, did you mean PERL or PEAR ?
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker on December 25, 2008, 03:23:04 pm @BlinK_:
I meant PERL, thanks for the correction. And sorry for the delay i've been busy with work things ;). in a couples of days i'll have another beta for testing...and also try to correct the bug iin E2Light :D Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: Koin on March 31, 2009, 02:40:55 am Descargar dev-ezx_Win_Kidscracker_e2-lib.7z
I can't download from 4share anyother link? thx Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker on March 31, 2009, 06:07:10 am Well the link is working, but i'll update the first thread with other link from motoevoltion.net
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: steel00 on April 01, 2009, 10:14:42 pm GO PERU!!!! :D thx!!!!! testing right now!
Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: Koin on April 02, 2009, 12:08:24 am Well the link is working, but i'll update the first thread with other link from motoevoltion.net I've save the libs from my E2 n now have the problem Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: kidscracker on April 02, 2009, 12:24:36 am Please use the libs that are posted here, because when you extract the libraries from your phone you're also copying the linksym (dunno if it's the correct name) of the file, i mean you'll have ezxappbase.so ezxappbase.so.1 ezxappbase.so.1.0 ezxappbase.so.1.0.0 the three first are only files of 0 bytes, when you unpack it in your PC, but in the phone they are linksym is similar to make a mount -o bind to the file, the ezxappbase.so.1.0.0 is the real lib.
You get that error because the libqte.so files is empty (cause it's a linksym ) or it's missing. I suggest you to avoid all those complication just to download the libs and unpack it as indicated. Hope i solve some doubts :D Title: Re: Compile E2 app in Windows Dev-Ezx-Win Post by: Koin on April 02, 2009, 08:29:07 am @kidscracker
I've save the problem by cp n ren the libs thx~ |