Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: SDK c/c++

  1. #1
    ArDJ's Avatar
    offline Of Mice and Modders
    Join Date
    Nov 2007
    Location
    Gruta de Lourdes, Montevideo, Uruguay
    Posts
    63
    Thanks
    11
    Thanked 40 Times in 11 Posts
    Downloads
    23
    Uploads
    0

    SDK c/c++

    Hola ya me canse no pude compilar


    Alguien puede subir el sd qe usa funcionando, o mejor seria toda la carpeta del cygwin? es demasiado, se agradeceria un monton. Porque no hay vuelta che.

  2. #2
    LuiisM's Avatar
    offline DeArtica
    Join Date
    Nov 2008
    Location
    Cartagena,Colombia
    Posts
    317
    Thanks
    478
    Thanked 554 Times in 109 Posts
    Downloads
    30
    Uploads
    0
    Bajar svn y ncftp
    sudo apt-get install subversion ncftp
    Para descargar el SDK:

  3. The Following User Says Thank You to LuiisM For This Useful Post:

    ArDJ (06-29-2010)

  4. #3
    ArDJ's Avatar
    offline Of Mice and Modders
    Join Date
    Nov 2007
    Location
    Gruta de Lourdes, Montevideo, Uruguay
    Posts
    63
    Thanks
    11
    Thanked 40 Times in 11 Posts
    Downloads
    23
    Uploads
    0
    si pero asi nomás no es porque eso lo debo haber echo ya como 5 veces despues que armo el makefile cuando pongo make me dice que no enccuentra el compilador en arm-eabi/bin/

  5. #4
    NestorM's Avatar
    offline Run To The Hills
    Join Date
    Jan 2007
    Location
    Ciudad de Guatemala
    Posts
    4,998
    Thanks
    472
    Thanked 2,660 Times in 1,235 Posts
    Downloads
    240
    Uploads
    71
    bueno como veo que es dificil que te ayuden por aqui voy a tratar de ayudarte.

    con el toolchain de darktech tienes que hacer un link en / a donde tienes bajada la toolchain.

    cd /
    ln -s /home/miusuario/toolchain/arm-eabi arm-eabi
    luego trata de compilar.

  6. The Following User Says Thank You to NestorM For This Useful Post:

    ArDJ (06-29-2010)

  7. #5
    ArDJ's Avatar
    offline Of Mice and Modders
    Join Date
    Nov 2007
    Location
    Gruta de Lourdes, Montevideo, Uruguay
    Posts
    63
    Thanks
    11
    Thanked 40 Times in 11 Posts
    Downloads
    23
    Uploads
    0
    yo el arm eabi lo tengo en / o sea en el raiz

    gracias por contestar nestor , aunque no tengas z6, parece que fuera joda esto un monton de gente sabe compilar pero parieciera que no quieren que los demás puedan hacerlo poruqe despues programar no es complicado pero yo me quede trancado ak no puedo hacer funcar el compilador.
    Last edited by ArDJ; 06-26-2010 at 10:29 AM. Reason: Automerged Doublepost

  8. #6
    NestorM's Avatar
    offline Run To The Hills
    Join Date
    Jan 2007
    Location
    Ciudad de Guatemala
    Posts
    4,998
    Thanks
    472
    Thanked 2,660 Times in 1,235 Posts
    Downloads
    240
    Uploads
    71
    haber, subi tu makefile aqui porfa.

  9. The Following User Says Thank You to NestorM For This Useful Post:

    ArDJ (06-29-2010)

  10. #7
    ArDJ's Avatar
    offline Of Mice and Modders
    Join Date
    Nov 2007
    Location
    Gruta de Lourdes, Montevideo, Uruguay
    Posts
    63
    Thanks
    11
    Thanked 40 Times in 11 Posts
    Downloads
    23
    Uploads
    0
    probe con este pare el zlauncher que viene de ejemplo

    TOOLPREFIX:= /arm-eabi
    QTDIR := $(TOOLPREFIX)/lib/qt-2.3.8
    EZXDIR := $(TOOLPREFIX)/lib/ezx-z6

    CC = $(TOOLPREFIX)/bin/arm-linux-gnueabi-gcc
    CXX = $(TOOLPREFIX)/bin/arm-linux-gnueabi-g++
    LD = $(TOOLPREFIX)/bin/arm-linux-gnueabi-g++
    CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG $(INCPATH)
    CXXFLAGS= -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG $(INCPATH)
    INCPATH = -I$(QTDIR)/include -I$(EZXDIR)/include
    LDFLAGS = -s
    LDLIBS = -L$(QTDIR)/lib -L$(EZXDIR)/lib -lm -lqte-mt -lezxpm -ljpeg -lezxappbase -lezxtapi-xscale-r -llog_util -llighting
    MOC = $(QTDIR)/bin/moc

    TARGETS = launcher

    all: $(TARGETS)

    launcher: launcher.cpp



    y ocn este y me tira el error 127 que no encuentra el compilador

    ################################################## ###########################

    # Makefile for building launcher
    # Generated by tmake at 00:02, 2010/06/26
    # Project: launcher
    # Template: app
    ################################################## ###########################

    ####### Compiler, tools and options


    TOOLPREFIX:=/arm-eabi
    #TOOLPREFIX:= /arm-eabi
    #Remember to set TOOLPREFIX to your own specific Path!
    QTDIR :=$(TOOLPREFIX)/lib/qt-2.3.8
    EZXDIR :=$(TOOLPREFIX)/lib/ezx-z6
    UPLOAD_PATH := /mmc/mmca1/bin/
    CC =$(TOOLPREFIX)/bin/arm-linux-gnueabi-gcc
    CXX =$(TOOLPREFIX)/bin/arm-linux-gnueabi-g++
    LD =$(TOOLPREFIX)/bin/arm-linux-gnueabi-g++
    CFLAGS =-pipe -Wall -W -O2 -DNO_DEBUG $(INCPATH)

    CXXFLAGS =-pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG $(INCPATH)
    INCPATH =-I$(QTDIR)/include -I$(EZXDIR)/include -I $(TOOLPREFIX)/arm-linux-gnueabi/include
    LDFLAGS =-s
    LINK =$(TOOLPREFIX)/bin/arm-linux-gnueabi-gcc
    LFLAGS =
    LIBS =$(SUBLIBS) -L$(TOOLPREFIX)/arm-linux-gnueabi/lib -L$(QTDIR)/lib -L$(EZXDIR)/lib -lm -lqte-mt -lezxpm -ljpeg -lezxappbase -lezxtapi-xscale-r -llog_util -llighting
    MOC =$(QTDIR)/bin/moc
    UIC =$(QTDIR)/bin/uic

    TAR = tar -cf
    GZIP = gzip -9f = gzip -9f

    ####### Files

    HEADERS =
    SOURCES = launcher.cpp
    OBJECTS = launcher.o
    INTERFACES =
    UICDECLS =
    UICIMPLS =
    SRCMOC =
    OBJMOC =
    DIST =
    TARGET = launcher
    INTERFACE_DECL_PATH = .

    ####### Implicit rules

    .SUFFIXES: .cpp .cxx .cc .C .c

    .cpp.o:
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

    .cxx.o:
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

    .cc.o:
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

    .C.o:
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

    .c.o:
    $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<

    ####### Build rules


    all: $(TARGET)

    $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
    $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)

    moc: $(SRCMOC)

    tmake: makefile

    makefile: launcher.pro
    tmake launcher.pro -o makefile

    dist:
    $(TAR) launcher.tar launcher.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
    $(GZIP) launcher.tar

    clean:
    -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
    -rm -f *~ core

    ####### Sub-libraries


    ###### Combined headers


    ####### Compile

    launcher.o: launcher.cpp


    Probe tambien poniendo la carpeta bien del arm-eabi enel path de linux y tampoco

    Siempre me tira este error por favor ayuda



    una consulta , tiene que ver que el linux sea de 64 bits?
    Last edited by ArDJ; 06-26-2010 at 12:32 PM. Reason: Automerged Doublepost

  11. #8
    NestorM's Avatar
    offline Run To The Hills
    Join Date
    Jan 2007
    Location
    Ciudad de Guatemala
    Posts
    4,998
    Thanks
    472
    Thanked 2,660 Times in 1,235 Posts
    Downloads
    240
    Uploads
    71
    puede que ese sea el problema men, 64 bits.

  12. The Following User Says Thank You to NestorM For This Useful Post:

    ArDJ (06-29-2010)

  13. #9
    ArDJ's Avatar
    offline Of Mice and Modders
    Join Date
    Nov 2007
    Location
    Gruta de Lourdes, Montevideo, Uruguay
    Posts
    63
    Thanks
    11
    Thanked 40 Times in 11 Posts
    Downloads
    23
    Uploads
    0
    ahora probe con 32 bits y lo que me pasa casi lo mismo , ahora por lo menos lo encuentra pero me tira el error 126 y me dice que el binario arm-linux-gnueabi-g++ no se puede ejecutar

    ya probe con todos los archivos compiladores que hay y el resultado es

    Last edited by ArDJ; 06-26-2010 at 02:38 PM. Reason: Automerged Doublepost

  14. #10
    NestorM's Avatar
    offline Run To The Hills
    Join Date
    Jan 2007
    Location
    Ciudad de Guatemala
    Posts
    4,998
    Thanks
    472
    Thanked 2,660 Times in 1,235 Posts
    Downloads
    240
    Uploads
    71
    esa ultima imagen es de cygwin ?
    acordate que no puedes usar el toolchain arm-eabi para linux en cygwin.
    Last edited by NestorM; 06-26-2010 at 03:16 PM.

  15. The Following User Says Thank You to NestorM For This Useful Post:

    ArDJ (06-29-2010)

  16. #11
    ArDJ's Avatar
    offline Of Mice and Modders
    Join Date
    Nov 2007
    Location
    Gruta de Lourdes, Montevideo, Uruguay
    Posts
    63
    Thanks
    11
    Thanked 40 Times in 11 Posts
    Downloads
    23
    Uploads
    0
    probe ejecutar el arm-eabi , o sea todo lo que teni omo si fuiera en linu peo en el cygwin porque como ese si era 64 bits, y bueno entonces ahora lo qe voy a hacer es instalar el linux 32 bits y ver que pasa , gracias

  17. #12
    NestorM's Avatar
    offline Run To The Hills
    Join Date
    Jan 2007
    Location
    Ciudad de Guatemala
    Posts
    4,998
    Thanks
    472
    Thanked 2,660 Times in 1,235 Posts
    Downloads
    240
    Uploads
    71
    hehehe ok, instala linux 32bits ahi te va a correr sin problema.

  18. The Following User Says Thank You to NestorM For This Useful Post:

    ArDJ (06-29-2010)

  19. #13
    luis30's Avatar
    offline So I Hear You Can Mod
    Join Date
    Dec 2008
    Location
    matamoros.tam.mexico
    Posts
    489
    Thanks
    213
    Thanked 335 Times in 117 Posts
    Downloads
    8
    Uploads
    0
    tienes qe tener linux o andlinux no cygwin
    bajas el sdk de darktech y lo subes a
    sudo -s
    tu pasword
    mv /RURA_DEL_SDK /
    y en el make pones la ruta esa
    el makefile lo generas asi
    cd /RuTA_DEL_SORCE
    progen -o XPROYECTO.pro
    tmake XPROYECTO.pro -o Makefile
    y cambias
    TOOLPREFIX:= /arm-eabi
    QTDIR := $(TOOLPREFIX)/lib/qt-2.3.8
    EZXDIR := $(TOOLPREFIX)/lib/ezx-z6

    CC = $(TOOLPREFIX)/bin/arm-linux-gnueabi-gcc
    CXX = $(TOOLPREFIX)/bin/arm-linux-gnueabi-g++
    LD = $(TOOLPREFIX)/bin/arm-linux-gnueabi-g++
    CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG $(INCPATH)
    CXXFLAGS= -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG $(INCPATH)
    INCPATH = -I$(QTDIR)/include -I$(EZXDIR)/include
    LDFLAGS = -s
    LDLIBS = -L$(QTDIR)/lib -L$(EZXDIR)/lib -lm -lqte-mt -lezxpm -ljpeg -lezxappbase -lezxtapi-xscale-r -llog_util -llighting
    MOC = $(QTDIR)/bin/moc

    esto por el encabezado de un source como el del navtab de fede
    y ya despues pones el make y listo
    el codigo del ledshow creo qe esta mal por eso no lo compila :d yo ya intente un sin fin de ocaciones y nunca pude :d siempre me daba el error 127
    is for ezra

  20. The Following User Says Thank You to luis30 For This Useful Post:

    ArDJ (06-29-2010)

  21. #14
    FFede's Avatar
    offline Developer
    Join Date
    Apr 2009
    Location
    Carhué-Adolfo Alsina-Bs. AS.
    Posts
    438
    Thanks
    489
    Thanked 662 Times in 173 Posts
    Downloads
    22
    Uploads
    0
    yo al principio tuve problemas parecidos, y después de leer bien los errores y modificar un poco el sdk, logre compilar varias cosas, acá te lo dejo. arm-eabi.tar.gz - 4shared.com - online file sharing and storage - download
    Bajalo y después descomprimilo como superusuario en /
    Federico Frysse


    .::mi corazón no tiene válvulas...tiene lumbreras ::.

  22. The Following User Says Thank You to FFede For This Useful Post:

    ArDJ (06-29-2010)

  23. #15
    Javierox's Avatar
    offline Developer
    Join Date
    Nov 2008
    Posts
    279
    Thanks
    268
    Thanked 1,568 Times in 219 Posts
    Downloads
    2
    Uploads
    0

    este..

    1- Te puede estar faltando el compilador g++ revisa en tu /arm-eabi
    2- Te falta definir el path, en general, podes hacer PATH:/arm-eabi/arm-eabi.../bin:$PATH.siempre antes de hacer compilacion cruzada es preferente, no obligatorio.

    SaTaN
    Staying alive!!!..


  24. 2 Users Say Thank You to Javierox For This Useful Post

    ArDJ (06-29-2010), LuiisM (01-14-2011)

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •