motofan logo
5 страниц V  1 2 3 > »         
> 

C++ Develop App

croccio
сообщение 21.6.2010, 21:36


Мастер
****

Группа: Пользователи
Сообщений: 254
Регистрация: 27.1.2008
Пользователь №: 161 521
Модель телефона: L7 Slvr, c350

Рейтинг: 11



i' trying to develop app in c++. i downloaded E8GCC and E8SDK. i edit file env.sh then i try to compile showRadio but i've this error:
Код
arm-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -DNO_DEBUG -I/home/antonio/Scrivania/E8SDK//include -o showRadio.o showRadio.cpp
make: execvp: arm-linux-gnueabi-g++: Permesso negato
make: *** [showRadio.o] Errore 127


wht is??
can anyone do example for create "windows" and position object in the window???

EXL: Share full log of their actions, beginning with the launch environment

Цитата(EXL @ 22.6.2010, 7:49) *

Share full log of their actions, beginning with the launch environment

env.sh
Код
#!/bin/bash

# -here you should put your own E8SDK path.
export QTDIR=/home/antonio/Scrivania/E8SDK/
export TMAKEPATH=/home/antonio/Scrivania/E8SDK/tmakelib/pwd/arm-linux-g++/
export PATH=/home/antonio/Scrivania:/e8-gcc/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin


for compile app i do new sh file i called it make_app.sh
Код
. /home/antonio/Scrivania/E8SDK/env.sh
cd /home/antonio/Scrivania/E8SDK/showRadio
progen -o showRadio.pro
tmake showRadio.pro -o Makefile
make

then from console i do
Код
/home/antonio/Scrivania/E8SDK/make_app.sh

the it show this
Код
arm-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -DNO_DEBUG -I/home/antonio/Scrivania/E8SDK//include -o showRadio.o showRadio.cpp
make: execvp: arm-linux-gnueabi-g++: Permesso negato
make: *** [text.o] Errore 127


can u tell me what file i post??? or app that i can try??? and how can i create new form (window) where i put object, as textbox, label... and how can i control key pression??
in the foldere where there is the app code there isn't showRadio.o

EXL: Try to do so:
Код

cd /home/antonio/Scrivania/E8SDK/
. env.sh
cd /home/antonio/Scrivania/E8SDK/showRadio
progen -o showRadio.pro
chmod +x /Path_to_progen/progen
chmod +x /Path_to_tmake/tmake
progen -o showRadio.pro
tmake showRadio.pro -o Makefile

Coming Makefile fix thus the following strings:
Код

CC    =    arm-linux-gcc
CXX    =    arm-linux-g++


Then execute:

Код

make


And do check the correctness of all paths...


it do nothing

(22.6.2010, 13:43):
i get this
Код
arm-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -DNO_DEBUG -I/home/antonio/Scrivania/E8SDK//include -o showRadio.o showRadio.cpp
make: execvp: arm-linux-gnueabi-g++: Permesso negato
make: *** [showRadio.o] Errore 127


EXL: arm-linux-gnueabi-g++ in the Makefile should be replaced by on arm-linux-g++ !


i edit the make file in showRadio folder, it is or no??

EXL: Yeah!

when i run make_app.sh the make file in showRadio folder change automatically!

can u upload your E8SDK and e8-gcc folder so i use that?? can u tell me in what folder i copy them???

if u don't belive i post a video screen soon

EXL: From make_app.sh remove next line - make

New make_app.sh:

Код
. /home/antonio/Scrivania/E8SDK/env.sh
cd /home/antonio/Scrivania/E8SDK/showRadio
progen -o showRadio.pro
tmake showRadio.pro -o Makefile


then correct Makefile
and run in console the following:

Код
cd /home/antonio/Scrivania/E8SDK/showRadio
make


Сообщение отредактировал EXL - 23.6.2010, 1:21
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
croccio
сообщение 22.6.2010, 14:02


Мастер
****

Группа: Пользователи
Сообщений: 254
Регистрация: 27.1.2008
Пользователь №: 161 521
Модель телефона: L7 Slvr, c350

Рейтинг: 11



Код
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -DNO_DEBUG -I/include -o showRadio.o showRadio.cpp
make: arm-linux-g++: comando non trovato
make: *** [showRadio.o] Errore 127



EXL: Give me a link to your E8 SDK

(22.6.2010, 14:06):
http://dc152.4shared.com/download/13376269...082755-79f8c8f3


i download them from mmus

(22.6.2010, 14:07):
env.sh file isn't edit with my path! it is original archive

(22.6.2010, 14:08):
can u help me with ftp connection on ubuntu 10.04 too?

EXL: arm-linux-gnueabi-g++ in the Makefile should be replaced by on g++

(22.6.2010, 14:23):
Код
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -DNO_DEBUG -I/include -o showRadio.o showRadio.cpp
make: g++: comando non trovato
make: *** [showRadio.o] Errore 127


(22.6.2010, 14:28):
can u give me your folder for develop them???

(22.6.2010, 14:41):
i install g++ with
Код
apt-get install g++

then i start "make" from console and now i've this
Код
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -DNO_DEBUG -I/include -o showQ.o showQ.cpp
showQ.cpp:2:26: error: ZApplication.h: Nessun file o directory
showQ.cpp:3:25: error: ZMessageDlg.h: Nessun file o directory
showQ.cpp:7:24: error: qtextcodec.h: Nessun file o directory
showQ.cpp:9: error: expected constructor, destructor, or type conversion before ‘*’ token
showQ.cpp:10: error: ‘QString’ does not name a type
showQ.cpp: In function ‘int main(int, char**)’:
showQ.cpp:17: error: ‘QString’ was not declared in this scope
showQ.cpp:17: error: expected ‘;’ before ‘title’
showQ.cpp:18: error: expected ‘;’ before ‘text’
showQ.cpp:23: error: ‘title’ was not declared in this scope
showQ.cpp:23: error: ‘ChineseAndEnglish’ was not declared in this scope
showQ.cpp:24: error: ‘text’ was not declared in this scope
showQ.cpp:29: error: ‘title’ was not declared in this scope
showQ.cpp:29: error: ‘ChineseAndEnglish’ was not declared in this scope
showQ.cpp:30: error: ‘text’ was not declared in this scope
showQ.cpp:34: error: ‘text’ was not declared in this scope
showQ.cpp:34: error: ‘ChineseAndEnglish’ was not declared in this scope
showQ.cpp:37: error: ‘ZApplication’ was not declared in this scope
showQ.cpp:37: error: ‘a’ was not declared in this scope
showQ.cpp:37: error: expected type-specifier before ‘ZApplication’
showQ.cpp:37: error: expected ‘;’ before ‘ZApplication’
showQ.cpp:39: error: ‘ZMessageDlg’ was not declared in this scope
showQ.cpp:39: error: ‘showQDlg’ was not declared in this scope
showQ.cpp:39: error: expected type-specifier before ‘ZMessageDlg’
showQ.cpp:39: error: expected ‘;’ before ‘ZMessageDlg’
showQ.cpp:41: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
showQ.cpp:42: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
make: *** [showQ.o] Errore 1


EXL: This is not a full SDK for E8( http://dc152.4shared.com/download/13376269...082755-79f8c8f3

can u give me all file for develop app please???

EXL: I do not have moto e8 and E8SDK(

Сообщение отредактировал EXL - 23.6.2010, 0:04
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
croccio
сообщение 23.6.2010, 13:39


Мастер
****

Группа: Пользователи
Сообщений: 254
Регистрация: 27.1.2008
Пользователь №: 161 521
Модель телефона: L7 Slvr, c350

Рейтинг: 11



can anyone give me E8SDK please??

Сообщение отредактировал EXL - 23.6.2010, 13:51
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Ant-ON
сообщение 24.6.2010, 14:58


Гуру
******

Группа: Разработчики
Сообщений: 1 327
Регистрация: 22.8.2005
Из: Екатеринбург
Пользователь №: 49 304
Модель телефона: N5 / Defy / VE66
Прошивка: CM12 / CM10 / PM2
Финалист Конкурса 2010

Рейтинг: 1790



Цитата(croccio @ 23.6.2010, 19:39) *
can anyone give me E8SDK please??

I use this SDK.

Install on Linux:

1) Install subversion
For Debian/Ubuntu:
Код
sudo apt-get install subversion

2) Download SDK + toolchain
For Debian/Ubuntu:
Код
svn co https://ezx.darktech.org/svn/trunk/arm-eabi

3) Create a symlink to arm-eabi in the root directory
For Debian/Ubuntu:
Код
sudo ln -s -d /home/anton/arm-eabi -t /


Now you can collect the application. To do this, open the makefile and replace the piece at the beginning (a piece of the file to "HEADERS ="):

Spoiler:

Код

# App can compile for platform:

#    PLATFORM=EZX-Z6

#    PLATFORM=EZX-Z6W

#    PLATFORM=EZX-U9

#    PLATFORM=EZX-ZN5

#    PLATFORM=EZX-V8

#    PLATFORM=EZX-E8 (default)

#    PLATFORM=EZX-VE66

#    PLATFORM=EZX-EM35

#.

# For example - compile this source for Motorla ZN5:

#.

# cd /PROJECT_FOLDER/

# make clean

# make PLATFORM=EZX-ZN5

#.



######Config######

APPNAME    := zTextEdit

UPLOAD_PATH :=  /mmc/mmca1/bin/

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



TOOLPREFIX := /arm-eabi

ARMLIB     := $(TOOLPREFIX)/arm-linux-gnueabi/lib



ifeq ($(PLATFORM),)

PLATFORM = EZX-E8
endif



ifeq ($(PLATFORM),EZX-Z6)

QTDIR    :=    $(TOOLPREFIX)/lib/qt-2.3.8

EZXDIR    :=    $(TOOLPREFIX)/lib/ezx-z6

LINKLIB := -lm -lqte-mt -lezxpm -ljpeg -lezxappbase -lezxtapi-xscale-r -llog_util -llighting

DIRECTIV := -DEZX_Z6

TARGET    =       $(APPNAME)_Z6

endif



ifeq ($(PLATFORM),EZX-V8)

QTDIR    :=    $(TOOLPREFIX)/lib/qt-v8

EZXDIR    :=    $(TOOLPREFIX)/lib/ezx-v8

LINKLIB := -lm -lqte-mt -lezxpm -lezxappbase

DIRECTIV := -DEZX_V8

TARGET    =       $(APPNAME)_V8

ZNEWCHECKBOX = 1

endif



ifeq ($(PLATFORM),EZX-E8)

ARMLIB     := $(TOOLPREFIX)/arm-linux-gnueabi/lib_E8

QTDIR    :=    $(TOOLPREFIX)/lib/qt-e8

EZXDIR    :=    $(TOOLPREFIX)/lib/ezx-e8

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_E8

TARGET    =       $(APPNAME)_E8

endif



ifeq ($(PLATFORM),EZX-EM30)

ARMLIB     := $(TOOLPREFIX)/arm-linux-gnueabi/lib_E8

QTDIR    :=    $(TOOLPREFIX)/lib/qt-em30

EZXDIR    :=    $(TOOLPREFIX)/lib/ezx-em30

EZXDIR2    :=    $(TOOLPREFIX)/lib/ezx-e8

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_EM30

TARGET    =       $(APPNAME)_EM30

endif



ifeq ($(PLATFORM),EZX-U9)

QTDIR    :=    $(TOOLPREFIX)/lib/qt-zn5

EZXDIR    :=    $(TOOLPREFIX)/lib/ezx-u9

EZXDIR2    :=    $(TOOLPREFIX)/lib/ezx-zn5

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_U9

TARGET    =       $(APPNAME)_U9

endif



ifeq ($(PLATFORM),EZX-Z6W)

QTDIR    :=    $(TOOLPREFIX)/lib/qt-z6w

EZXDIR    :=    $(TOOLPREFIX)/lib/ezx-z6w

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_Z6W

TARGET    =       $(APPNAME)_Z6W

endif



ifeq ($(PLATFORM),EZX-ZN5)

QTDIR    :=    $(TOOLPREFIX)/lib/qt-zn5

EZXDIR    :=    $(TOOLPREFIX)/lib/ezx-zn5

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_ZN5

TARGET    =       $(APPNAME)_ZN5

endif



ifeq ($(PLATFORM),EZX-EM35)

ARMLIB     := $(TOOLPREFIX)/arm-linux-gnueabi/lib_E8

QTDIR    :=    $(TOOLPREFIX)/lib/qt-em35

EZXDIR    :=    $(TOOLPREFIX)/lib/ezx-em35

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_EM35

TARGET    =       $(APPNAME)_EM35

endif



ifeq ($(PLATFORM),EZX-VE66)

ARMLIB     := $(TOOLPREFIX)/arm-linux-gnueabi/lib_E8

QTDIR    :=    $(TOOLPREFIX)/lib/qt-em35

EZXDIR    :=    $(TOOLPREFIX)/lib/ezx-ve66

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_VE66

TARGET    =       $(APPNAME)_VE66

endif



CC        =    $(TOOLPREFIX)/bin/arm-linux-gnueabi-gcc

CXX        =    $(TOOLPREFIX)/bin/arm-linux-gnueabi-g++

LD        =    $(TOOLPREFIX)/bin/arm-linux-gnueabi-g++

STRIP   =   $(TOOLPREFIX)/bin/arm-linux-strip

CFLAGS    =    -pipe -Wall -W -O2 -DNO_DEBUG $(INCPATH)

CXXFLAGS=    -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG $(DIRECTIV) $(INCPATH)

INCPATH    =    -I$(QTDIR)/include -I$(EZXDIR)/include -I$(EZXDIR2)/include -I $(TOOLPREFIX)/arm-linux-gnueabi/include

LDFLAGS    =    -s

LINK    =    $(TOOLPREFIX)/bin/arm-linux-gnueabi-gcc

LFLAGS    =    -Wl,-rpath-link,$(EZXDIR)/lib

LIBS    =    $(SUBLIBS) -L$(EZXDIR)/lib -L$(EZXDIR2)/lib -L$(ARMLIB) -L$(QTDIR)/lib $(LINKLIB)

MOC        =    $(QTDIR)/bin/moc

UIC        =    $(QTDIR)/bin/uic
[close]

Do not forget to edit the name of the application.
Now cd to the folder and make (make PLATFORM=EZX-E8).

Сообщение отредактировал Ant-ON - 24.6.2010, 16:13
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Nsolares
сообщение 25.6.2010, 4:33


Интересующийся
**

Группа: Пользователи
Сообщений: 53
Регистрация: 12.2.2008
Пользователь №: 163 256
Модель телефона: E398

Рейтинг: 17.5



hey croccio, how do you extract the e8 toolchain?

i recommend to you extract it with the ubuntu default extractor, i mean: right click (over your compressed file) then extract here.

do not use the terminal command line to extract it, to avoid permission troubles.
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
croccio
сообщение 26.6.2010, 13:35


Мастер
****

Группа: Пользователи
Сообщений: 254
Регистрация: 27.1.2008
Пользователь №: 161 521
Модель телефона: L7 Slvr, c350

Рейтинг: 11



thnk u! u're great! i'mdownlading it =) thank u to all =)

(26.6.2010, 14:54):
the download lock so
CODE
A    arm-eabi/arm-linux-gnueabi/bin
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
croccio
сообщение 26.6.2010, 22:07


Мастер
****

Группа: Пользователи
Сообщений: 254
Регистрация: 27.1.2008
Пользователь №: 161 521
Модель телефона: L7 Slvr, c350

Рейтинг: 11



bro why i can't reas src code of ztask 2???
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
croccio
сообщение 3.11.2010, 16:19


Мастер
****

Группа: Пользователи
Сообщений: 254
Регистрация: 27.1.2008
Пользователь №: 161 521
Модель телефона: L7 Slvr, c350

Рейтинг: 11



I tried again after quite a time trying to fill the showRadio, but does not work .. I followed the prcedimenti mentioned above but I get an error here goes

Код
antonio@antonio:~/e8sdk/E8SDK/showRadio$ make PLATFORM=EZX-E8
/home/antonio/arm-eabi/bin/arm-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -DEZX_E8 -I/home/antonio/arm-eabi/lib/qt-e8/include -I/home/antonio/arm-eabi/lib/ezx-e8/include -I/include -I /home/antonio/arm-eabi/arm-linux-gnueabi/include -I/home/antonio/arm-eabi/lib/qt-e8/include -I/home/antonio/arm-eabi/lib/ezx-e8/include -I/include -I /home/antonio/arm-eabi/arm-linux-gnueabi/include -o showRadio.o showRadio.cpp
/home/antonio/arm-eabi/bin/arm-linux-gnueabi-gcc -Wl,-rpath-link,/home/antonio/arm-eabi/lib/ezx-e8/lib -o showRadio showRadio.o   -L/home/antonio/arm-eabi/lib/ezx-e8/lib -L/lib -L/home/antonio/arm-eabi/arm-linux-gnueabi/lib_E8 -L/home/antonio/arm-eabi/lib/qt-e8/lib -lm -lqte-mt -lezxappbase
/home/antonio/arm-eabi/bin/../lib/gcc/arm-linux-gnueabi/3.4.3/../../../../arm-linux-gnueabi/bin/ld: cannot find /arm-eabi/arm-linux-gnueabi/lib/libc.so.6
collect2: ld returned 1 exit status
make: *** [showRadio] Errore 1
antonio@antonio:~/e8sdk/E8SDK/showRadio$ make PLATFORM=EZX-E8
/home/antonio/arm-eabi/bin/arm-linux-gnueabi-gcc -Wl,-rpath-link,/home/antonio/arm-eabi/lib/ezx-e8/lib -o showRadio showRadio.o   -L/home/antonio/arm-eabi/lib/ezx-e8/lib -L/lib -L/home/antonio/arm-eabi/arm-linux-gnueabi/lib_E8 -L/home/antonio/arm-eabi/lib/qt-e8/lib -lm -lqte-mt -lezxappbase
/home/antonio/arm-eabi/bin/../lib/gcc/arm-linux-gnueabi/3.4.3/../../../../arm-linux-gnueabi/bin/ld: cannot find /arm-eabi/arm-linux-gnueabi/lib/libc.so.6
collect2: ld returned 1 exit status
make: *** [showRadio] Errore 1


makefile
CODE
# App can compile for platform:

# PLATFORM=EZX-Z6

# PLATFORM=EZX-Z6W

# PLATFORM=EZX-U9

# PLATFORM=EZX-ZN5

# PLATFORM=EZX-V8

# PLATFORM=EZX-E8 (default)

# PLATFORM=EZX-VE66

# PLATFORM=EZX-EM35

#.

# For example - compile this source for Motorla ZN5:

#.

# cd /PROJECT_FOLDER/

# make clean

# make PLATFORM=EZX-ZN5

#.



######Config######

APPNAME := zTextEdit

UPLOAD_PATH := /mmc/mmca1/bin/

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



TOOLPREFIX := /home/antonio/arm-eabi

ARMLIB := $(TOOLPREFIX)/arm-linux-gnueabi/lib



ifeq ($(PLATFORM),)

PLATFORM = EZX-E8
endif



ifeq ($(PLATFORM),EZX-Z6)

QTDIR := $(TOOLPREFIX)/lib/qt-2.3.8

EZXDIR := $(TOOLPREFIX)/lib/ezx-z6

LINKLIB := -lm -lqte-mt -lezxpm -ljpeg -lezxappbase -lezxtapi-xscale-r -llog_util -llighting

DIRECTIV := -DEZX_Z6

TARGET = $(APPNAME)_Z6

endif



ifeq ($(PLATFORM),EZX-V8)

QTDIR := $(TOOLPREFIX)/lib/qt-v8

EZXDIR := $(TOOLPREFIX)/lib/ezx-v8

LINKLIB := -lm -lqte-mt -lezxpm -lezxappbase

DIRECTIV := -DEZX_V8

TARGET = $(APPNAME)_V8

ZNEWCHECKBOX = 1

endif



ifeq ($(PLATFORM),EZX-E8)

ARMLIB := $(TOOLPREFIX)/arm-linux-gnueabi/lib_E8

QTDIR := $(TOOLPREFIX)/lib/qt-e8

EZXDIR := $(TOOLPREFIX)/lib/ezx-e8

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_E8

TARGET = $(APPNAME)_E8

endif



ifeq ($(PLATFORM),EZX-EM30)

ARMLIB := $(TOOLPREFIX)/arm-linux-gnueabi/lib_E8

QTDIR := $(TOOLPREFIX)/lib/qt-em30

EZXDIR := $(TOOLPREFIX)/lib/ezx-em30

EZXDIR2 := $(TOOLPREFIX)/lib/ezx-e8

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_EM30

TARGET = $(APPNAME)_EM30

endif



ifeq ($(PLATFORM),EZX-U9)

QTDIR := $(TOOLPREFIX)/lib/qt-zn5

EZXDIR := $(TOOLPREFIX)/lib/ezx-u9

EZXDIR2 := $(TOOLPREFIX)/lib/ezx-zn5

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_U9

TARGET = $(APPNAME)_U9

endif



ifeq ($(PLATFORM),EZX-Z6W)

QTDIR := $(TOOLPREFIX)/lib/qt-z6w

EZXDIR := $(TOOLPREFIX)/lib/ezx-z6w

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_Z6W

TARGET = $(APPNAME)_Z6W

endif



ifeq ($(PLATFORM),EZX-ZN5)

QTDIR := $(TOOLPREFIX)/lib/qt-zn5

EZXDIR := $(TOOLPREFIX)/lib/ezx-zn5

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_ZN5

TARGET = $(APPNAME)_ZN5

endif



ifeq ($(PLATFORM),EZX-EM35)

ARMLIB := $(TOOLPREFIX)/arm-linux-gnueabi/lib_E8

QTDIR := $(TOOLPREFIX)/lib/qt-em35

EZXDIR := $(TOOLPREFIX)/lib/ezx-em35

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_EM35

TARGET = $(APPNAME)_EM35

endif



ifeq ($(PLATFORM),EZX-VE66)

ARMLIB := $(TOOLPREFIX)/arm-linux-gnueabi/lib_E8

QTDIR := $(TOOLPREFIX)/lib/qt-em35

EZXDIR := $(TOOLPREFIX)/lib/ezx-ve66

LINKLIB := -lm -lqte-mt -lezxappbase

DIRECTIV := -DEZX_VE66

TARGET = $(APPNAME)_VE66

endif



CC = $(TOOLPREFIX)/bin/arm-linux-gnueabi-gcc

CXX = $(TOOLPREFIX)/bin/arm-linux-gnueabi-g++

LD = $(TOOLPREFIX)/bin/arm-linux-gnueabi-g++

STRIP = $(TOOLPREFIX)/bin/arm-linux-strip

CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG $(INCPATH)

CXXFLAGS= -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG $(DIRECTIV) $(INCPATH)

INCPATH = -I$(QTDIR)/include -I$(EZXDIR)/include -I$(EZXDIR2)/include -I $(TOOLPREFIX)/arm-linux-gnueabi/include

LDFLAGS = -s

LINK = $(TOOLPREFIX)/bin/arm-linux-gnueabi-gcc

LFLAGS = -Wl,-rpath-link,$(EZXDIR)/lib

LIBS = $(SUBLIBS) -L$(EZXDIR)/lib -L$(EZXDIR2)/lib -L$(ARMLIB) -L$(QTDIR)/lib $(LINKLIB)

MOC = $(QTDIR)/bin/moc

UIC = $(QTDIR)/bin/uic

####### Files

HEADERS =
SOURCES = showRadio.cpp
OBJECTS = showRadio.o
INTERFACES =
UICDECLS =
UICIMPLS =
SRCMOC =
OBJMOC =
DIST =
TARGET = showRadio
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: showRadio.pro
tmake showRadio.pro -o Makefile

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

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

####### Sub-libraries


###### Combined headers


####### Compile

showRadio.o: showRadio.cpp


Сообщение отредактировал EXL - 3.11.2010, 16:27
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Ant-ON
сообщение 4.11.2010, 18:22


Гуру
******

Группа: Разработчики
Сообщений: 1 327
Регистрация: 22.8.2005
Из: Екатеринбург
Пользователь №: 49 304
Модель телефона: N5 / Defy / VE66
Прошивка: CM12 / CM10 / PM2
Финалист Конкурса 2010

Рейтинг: 1790



Check existing folder and library in it:
/home/antonio/arm-eabi/arm-linux-gnueabi/lib_E8
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
croccio
сообщение 4.11.2010, 18:54


Мастер
****

Группа: Пользователи
Сообщений: 254
Регистрация: 27.1.2008
Пользователь №: 161 521
Модель телефона: L7 Slvr, c350

Рейтинг: 11



i see it and exist
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
C++ Develop App · ROKR E8 & EM30 · Forum
 

5 страниц V  1 2 3 > » 
Ответ в темуСоздание новой темы
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 



Текстовая версия Сейчас: 20.10.2019, 21:29

Форум живёт: