Languages

Menu
Sites
Language
Problems when build and run a project

I want to run this project on github. https://github.com/Fohenz/SimpleTizenCameraFilter.git

But I met problem...

When I build the project I met problem like below.

I try to change x86 -> arm on project's properties. but not works.

And when I run the project another problem is occured.

ninja all 
[1/2] Building ../inc/dlib/external/libpng/arm/filter_neon.S not supported
[2/2] Linking selfcamera
Ignoring unsupported extension
FAILED: clang++.exe -o selfcamera inc/dlib/base64/base64_kernel_1.o inc/dlib/bit_stream/bit_stream_kernel_1.o inc/dlib/bsp/bsp.o inc/dlib/data_io/image_dataset_metadata.o inc/dlib/data_io/mnist.o inc/dlib/dir_nav/dir_nav_extensions.o inc/dlib/dir_nav/dir_nav_kernel_1.o inc/dlib/dir_nav/dir_nav_kernel_2.o inc/dlib/dnn/cpu_dlib.o inc/dlib/dnn/cublas_dlibapi.o inc/dlib/dnn/cuda_data_ptr.o inc/dlib/dnn/cudnn_dlibapi.o inc/dlib/dnn/curand_dlibapi.o inc/dlib/dnn/gpu_data.o inc/dlib/dnn/tensor_tools.o inc/dlib/entropy_decoder/entropy_decoder_kernel_1.o inc/dlib/entropy_decoder/entropy_decoder_kernel_2.o inc/dlib/entropy_encoder/entropy_encoder_kernel_1.o inc/dlib/entropy_encoder/entropy_encoder_kernel_2.o inc/dlib/external/libjpeg/jcapimin.o inc/dlib/external/libjpeg/jcapistd.o inc/dlib/external/libjpeg/jccoefct.o inc/dlib/external/libjpeg/jccolor.o inc/dlib/external/libjpeg/jcdctmgr.o inc/dlib/external/libjpeg/jchuff.o inc/dlib/external/libjpeg/jcinit.o inc/dlib/external/libjpeg/jcmainct.o inc/dlib/external/libjpeg/jcmarker.o inc/dlib/external/libjpeg/jcmaster.o inc/dlib/external/libjpeg/jcomapi.o inc/dlib/external/libjpeg/jcparam.o inc/dlib/external/libjpeg/jcphuff.o inc/dlib/external/libjpeg/jcprepct.o inc/dlib/external/libjpeg/jcsample.o inc/dlib/external/libjpeg/jdapimin.o inc/dlib/external/libjpeg/jdapistd.o inc/dlib/external/libjpeg/jdatadst.o inc/dlib/external/libjpeg/jdatasrc.o inc/dlib/external/libjpeg/jdcoefct.o inc/dlib/external/libjpeg/jdcolor.o inc/dlib/external/libjpeg/jddctmgr.o inc/dlib/external/libjpeg/jdhuff.o inc/dlib/external/libjpeg/jdinput.o inc/dlib/external/libjpeg/jdmainct.o inc/dlib/external/libjpeg/jdmarker.o inc/dlib/external/libjpeg/jdmaster.o inc/dlib/external/libjpeg/jdmerge.o inc/dlib/external/libjpeg/jdphuff.o inc/dlib/external/libjpeg/jdpostct.o inc/dlib/external/libjpeg/jdsample.o inc/dlib/external/libjpeg/jerror.o inc/dlib/external/libjpeg/jfdctflt.o inc/dlib/external/libjpeg/jfdctfst.o inc/dlib/external/libjpeg/jfdctint.o inc/dlib/external/libjpeg/jidctflt.o inc/dlib/external/libjpeg/jidctfst.o inc/dlib/external/libjpeg/jidctint.o inc/dlib/external/libjpeg/jidctred.o inc/dlib/external/libjpeg/jmemmgr.o inc/dlib/external/libjpeg/jmemnobs.o inc/dlib/external/libjpeg/jquant1.o inc/dlib/external/libjpeg/jquant2.o inc/dlib/external/libjpeg/jutils.o inc/dlib/external/libpng/arm/arm_init.o inc/dlib/external/libpng/arm/filter_neon_intrinsics.o inc/dlib/external/libpng/png.o inc/dlib/external/libpng/pngerror.o inc/dlib/external/libpng/pngget.o inc/dlib/external/libpng/pngmem.o inc/dlib/external/libpng/pngpread.o inc/dlib/external/libpng/pngread.o inc/dlib/external/libpng/pngrio.o inc/dlib/external/libpng/pngrtran.o inc/dlib/external/libpng/pngrutil.o inc/dlib/external/libpng/pngset.o inc/dlib/external/libpng/pngtrans.o inc/dlib/external/libpng/pngwio.o inc/dlib/external/libpng/pngwrite.o inc/dlib/external/libpng/pngwtran.o inc/dlib/external/libpng/pngwutil.o inc/dlib/external/zlib/adler32.o inc/dlib/external/zlib/compress.o inc/dlib/external/zlib/crc32.o inc/dlib/external/zlib/deflate.o inc/dlib/external/zlib/gzclose.o inc/dlib/external/zlib/gzlib.o inc/dlib/external/zlib/gzread.o inc/dlib/external/zlib/gzwrite.o inc/dlib/external/zlib/infback.o inc/dlib/external/zlib/inffast.o inc/dlib/external/zlib/inflate.o inc/dlib/external/zlib/inftrees.o inc/dlib/external/zlib/trees.o inc/dlib/external/zlib/uncompr.o inc/dlib/external/zlib/zutil.o inc/dlib/global_optimization/global_function_search.o inc/dlib/http_client/http_client.o inc/dlib/image_loader/jpeg_loader.o inc/dlib/image_loader/png_loader.o inc/dlib/image_saver/save_jpeg.o inc/dlib/image_saver/save_png.o inc/dlib/linker/linker_kernel_1.o inc/dlib/logger/extra_logger_headers.o inc/dlib/logger/logger_config_file.o inc/dlib/logger/logger_kernel_1.o inc/dlib/md5/md5_kernel_1.o inc/dlib/misc_api/misc_api_kernel_1.o inc/dlib/misc_api/misc_api_kernel_2.o inc/dlib/server/server_http.o inc/dlib/server/server_iostream.o inc/dlib/server/server_kernel.o inc/dlib/sockets/sockets_extensions.o inc/dlib/sockets/sockets_kernel_1.o inc/dlib/sockets/sockets_kernel_2.o inc/dlib/sockstreambuf/sockstreambuf.o inc/dlib/sockstreambuf/sockstreambuf_unbuffered.o inc/dlib/stack_trace.o inc/dlib/threads/async.o inc/dlib/threads/multithreaded_object_extension.o inc/dlib/threads/thread_pool_extension.o inc/dlib/threads/threaded_object_extension.o inc/dlib/threads/threads_kernel_1.o inc/dlib/threads/threads_kernel_2.o inc/dlib/threads/threads_kernel_shared.o inc/dlib/timer/timer.o inc/dlib/tokenizer/tokenizer_kernel_1.o inc/dlib/unicode/unicode.o src/imageutils.o src/landmark.o src/main.o src/view.o   -ldlib -L"../lib" -target i586-tizen-linux-gnueabi -gcc-toolchain "C:\tizen-studio\tools\smart-build-interface/../i386-linux-gnueabi-gcc-4.9/" -ccc-gcc-name i386-linux-gnueabi-g++ -march=i586 -Xlinker --as-needed  -pie -lpthread --sysroot="C:/tizen-studio/tools/smart-build-interface/../../platforms/tizen-3.0/mobile/rootstraps/mobile-3.0-emulator.core" -Xlinker --version-script="../.exportMap" -L"C:/tizen-studio/tools/smart-build-interface/../../platforms/tizen-3.0/mobile/rootstraps/mobile-3.0-emulator.core/usr/lib" -lBrokenLocale -laccounts-svc -lanl -lappcore-agent -lattach-panel -lbadge -lbase-utils-i18n -lbundle -lcairo -lcalendar-service2 -lcapi-appfw-alarm -lcapi-appfw-app-common -lcapi-appfw-app-control -lcapi-appfw-application -lcapi-appfw-app-manager -lcapi-appfw-event -lcapi-appfw-package-manager -lcapi-appfw-preference -lcapi-appfw-widget-application -lcapi-base-common -lcapi-content-media-content -lcapi-content-mime-type -lcapi-geofence-manager -lcapi-location-manager -lcapi-maps-service -lcapi-media-audio-io -lcapi-media-camera -lcapi-media-codec -lcapi-media-controller -lcapi-mediademuxer -lcapi-media-image-util -lcapi-media-metadata-editor -lcapi-media-metadata-extractor -lcapi-mediamuxer -lcapi-media-player -lcapi-media-radio -lcapi-media-recorder -lcapi-media-screen-mirroring -lcapi-media-sound-manager -lcapi-media-streamer -lcapi-media-streamrecorder -lcapi-media-thumbnail-util -lcapi-media-tone-player -lcapi-media-tool -lcapi-media-video-util -lcapi-media-vision -lcapi-media-wav-player -lcapi-messaging-email -lcapi-messaging-messages -lcapi-network-bluetooth -lcapi-network-connection -lcapi-network-http -lcapi-network-mtp -lcapi-network-nfc -lcapi-network-smartcard -lcapi-network-wifi-manager -lcapi-network-wifi -lcapi-system-device -lcapi-system-info -lcapi-system-media-key -lcapi-system-runtime-info -lcapi-system-sensor -lcapi-system-system-settings -lcapi-system-usbhost -lcapi-telephony -lcapi-ui-efl-util -lcapi-ui-inputmethod-manager -lcapi-ui-inputmethod -lcapi-vpnsvc -lcapi-web-url-download -lcbhm -lchromium-ewk -lcidn -lcontacts-service2 -lcontext -lcore-context-manager -lcore-sync-client -lcrypto -lcrypt -lc -lcsr-client -lcurl -ldali-adaptor -ldali-core -ldali-toolkit -ldata-control -ldlog -ldl -ldpm -lebluez -leconnman0_7x -lecore_buffer -lecore_con -lecore_evas -lecore_file -lecore_imf_evas -lecore_imf -lecore_input_evas -lecore_input -lecore_ipc -lecore -ledbus -ledje -leet -lefl-extension -lefreet_mime -lefreet -lefreet_trash -lehal -leina -leio -leldbus -lelementary -lembryo -lenotify -leofono -leom -leo -lethumb_client -lethumb -leukit -levas -lexif -lfeedback -lfido-client -lfontconfig -lfreetype -lgio-2.0 -lglib-2.0 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lharfbuzz-icu -lharfbuzz -liotcon -ljson-glib-1.0 -lkey-manager-client -lmessage-port -lminicontrol-provider -lminicontrol-viewer -lminizip -lm -lnotification -lnsd-dns-sd -lnsd-ssdp -lnsl -lnss_compat -lnss_dns -lnss_files -lnss_hesiod -lnss_nisplus -lnss_nis -loauth2 -loauth -lopenal -lphonenumber-utils -lprivilege-info -lpthread -lpush -lresolv -lrt -lservice-adaptor-client -lshortcut -lsqlite3 -lssl -lstorage -lstt_engine -lstt -ltbm -lthread_db -lttrace -ltts_engine -ltts -ltzsh_common -ltzsh_quickpanel -lui-viewmgr -lutil -lvc-elm -lvc -lwidget_service -lwidget_viewer_dali -lwidget_viewer_evas -lwifi-direct -lxml2 -lyaca -lz -Werror-implicit-function-declaration 
c:/tizen-studio/tools/i386-linux-gnueabi-gcc-4.9/bin/../lib/gcc/i386-linux-gnueabi/4.9.2/../../../../i386-linux-gnueabi/bin/ld.exe: skipping incompatible ../lib\libdlib.a when searching for -ldlib

c:/tizen-studio/tools/i386-linux-gnueabi-gcc-4.9/bin/../lib/gcc/i386-linux-gnueabi/4.9.2/../../../../i386-linux-gnueabi/bin/ld.exe: cannot find -ldlib

collect2.exe: error: ld returned 1 exit status

clang++.exe: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)

ninja: build stopped: subcommand failed.

 

Please solve this problems thank you!

Responses

3 Replies
GEUNSOO KIM

the log said that it was built for x86 still even though you said you changed.

did you install all packages for tizen studio?

 

명훈 심

Thank you for answering.

Do you mean Main SDK and Extension SDK in Package Manager?

GEUNSOO KIM

Did you install "4.0 Mobile" SDK? if you didn't,  install it and try another build.

In my experience, the build process requires a part of 4.0 SDK components even to build lower version of SDKs.

And if you did already, please show me "Tizen  Settings" part of the project property.