언어 설정

Menu
Sites
Language
2.0.0a SDK + Native development

 

 

Hello -
 
I have Ubuntu 11.10 32-bit installed.  When I run the SDK I see three "Native" project types :
 
    Empty Platform Project
    Hello World
    Agent Project
 
For the Hello World application I can use the "Build Package" to build an rpm package that I can copy to an emulator, install, and run.  The other two project types have error message like this :
 
Start...
Command: /home/cfg/tizen-sdk2a/tools/smart-build-interface/bin/sbi action tizen-emulator-2.0.platform_gcc45obs.i386.platform -- buildpackage -PASSWD=***** -WORKING_DIR=/home/cfg/workspace2a/tppAgent/Tizen-Emulator -PKG_TYPE=RPM Working Directory: /home/cfg/workspace2a/tppAgent Checking prerequisite...
Checking grep... ok
Checking rpm... ok
Checking expect... ok
Checking qemu-user-static... ok
Generationg source package
com.samsung.tppAgent-0.1.0/
com.samsung.tppAgent-0.1.0/packaging/
com.samsung.tppAgent-0.1.0/packaging/tppAgent.spec
com.samsung.tppAgent-0.1.0/include/
com.samsung.tppAgent-0.1.0/include/tppAgent.h
com.samsung.tppAgent-0.1.0/debian/
com.samsung.tppAgent-0.1.0/debian/control
com.samsung.tppAgent-0.1.0/debian/rules
com.samsung.tppAgent-0.1.0/debian/postinst
com.samsung.tppAgent-0.1.0/debian/com.samsung.tppAgent.install
com.samsung.tppAgent-0.1.0/debian/changelog
com.samsung.tppAgent-0.1.0/debian/compat
com.samsung.tppAgent-0.1.0/src/
com.samsung.tppAgent-0.1.0/src/tppAgent.c
com.samsung.tppAgent-0.1.0/com.samsung.tppAgent.desktop.in
com.samsung.tppAgent-0.1.0/CMakeLists.txt
spawn sh -c sudo cp /home/cfg/workspace2a/tppAgent/Tizen-Emulator/com.samsung.tppAgent-0.1.0.tar.gz /home/cfg/tizen-sdk2a/tools/smart-build-interface/../../platforms/tizen2.0/rootstraps/tizen-emulator-2.0.platform/home/abuild/rpmbuild/SOURCES/;sudo cp ../packaging/tppAgent.spec /home/cfg/tizen-sdk2a/tools/smart-build-interface/../../platforms/tizen2.0/rootstraps/tizen-emulator-2.0.platform/home/abuild/rpmbuild/SPECS/; echo $? > exit-status [sudo] password for cfg: 
spawn sh -c sudo chroot /home/cfg/tizen-sdk2a/tools/smart-build-interface/../../platforms/tizen2.0/rootstraps/tizen-emulator-2.0.platform su abuild; echo $? > exit-status [sudo] password for cfg: 
bash-4.1$ rpmbuild -bb ~/rpmbuild/SPECS/tppAgent.spec
error: Failed build dependencies:
cmake is needed by com.samsung.tppAgent-0.1.0-1.i586
pkgconfig(appcore-agent) is needed by com.samsung.tppAgent-0.1.0-1.i586
pkgconfig(capi-appfw-application) is needed by com.samsung.tppAgent-0.1.0-1.i586
pkgconfig(dlog) is needed by com.samsung.tppAgent-0.1.0-1.i586 bash-4.1$ exit exit EXIT CODE=1 Build Failed!
 
I installed cmake and pkg-config (not called pkgconfig as above) but the message doesn't go away.  
 
- Does this look familiar to you?  
- If I reinstalled the SDK do you think it would locate the cmake and pkg-config dependencies?
 
Thank You,
 
Carlos
 
Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

3 댓글
Mats Wichmann
The lines:
pkgconfig(appcore-agent) is needed by com.samsung.tppAgent-0.1.0-1.i586
pkgconfig(capi-appfw-application) is needed by com.samsung.tppAgent-0.1.0-1.i586
pkgconfig(dlog) is needed by com.samsung.tppAgent-0.1.0-1.i586 bash-4.1$ exit exit EXIT CODE=1 Build Failed!
 

refer to build-time dependencies, not to pkg-config itself.  You need to find and install the three referenced dependencies.

 

Carlos Gomez
mwichmann - Ok, duh on my part. I "merged" the error output instead of treating them as different issues. My mistake. Thanks for the response! Carlos
Hi, I can't seem to get that far. Trying to create a Hello World native app. I keep getting this sudo error. How to fix?  
Start...
Command: /home/user123/tizen-sdk/tools/smart-build-interface/bin/sbi action tizen-emulator-2.0.platform_gcc45obs.i386.platform -- buildpackage -PASSWD=******** -WORKING_DIR=/home/user123/workspace/hellonative/Tizen-Emulator -PKG_TYPE=RPM
Working Directory: /home/user123/workspace/hellonative
Checking prerequisite...
Checking grep... ok
Checking rpm... ok
Checking expect... ok
Checking qemu-user-static... ok
Generationg source package
com.samsung.hellonative-0.0.1/
com.samsung.hellonative-0.0.1/debian/
com.samsung.hellonative-0.0.1/debian/rules
com.samsung.hellonative-0.0.1/debian/compat
com.samsung.hellonative-0.0.1/debian/control
com.samsung.hellonative-0.0.1/debian/com.samsung.hellonative.install
com.samsung.hellonative-0.0.1/debian/changelog
com.samsung.hellonative-0.0.1/packaging/
com.samsung.hellonative-0.0.1/packaging/hellonative.spec
com.samsung.hellonative-0.0.1/src/
com.samsung.hellonative-0.0.1/src/hellonative.c
spawn sh -c sudo cp /home/user123/workspace/hellonative/Tizen-Emulator/com.samsung.hellonative-0.0.1.tar.gz /home/user123/tizen-sdk/tools/smart-build-interface/../../platforms/tizen2.0/rootstraps/tizen-emulator-2.0.platform/home/abuild/rpmbuild/SOURCES/;sudo cp ../packaging/hellonative.spec /home/user123/tizen-sdk/tools/smart-build-interface/../../platforms/tizen2.0/rootstraps/tizen-emulator-2.0.platform/home/abuild/rpmbuild/SPECS/; echo $? > exit-status
[sudo] password for user123: 
Sorry, try again.
[sudo] password for user123: 
Sorry, try again.
[sudo] password for user123: 
Sorry, try again.
sudo: 3 incorrect password attempts
[sudo] password for user123: 
Sorry, try again.
[sudo] password for user123: 
Sorry, try again.
[sudo] password for user123: 
Sorry, try again.
sudo: 3 incorrect password attempts
EXIT CODE=1
Build Failed! [failed to transfer files]