语言

Menu
Sites
Language
Debug Error..

Hi guys.. 

I always appreciate your helps.

and... i have a problem again ..T-T

 

at Run - debug about last step...

 

..........

-losp-uifw -losp-appfw -losp-image -losp-json -losp-ime -losp-net -lpthread -losp-content -losp-locations -losp-telephony -losp-uix -losp-media -losp-messaging -losp-web -losp-social -losp-wifi -losp-bluetooth -losp-nfc -losp-face -losp-secure-element -losp-speech-tts -losp-speech-stt -losp-shell -losp-shell-core -losp-vision -lxml2 -lalut -lopenal
./src/CaroroMainForm.o:(.data.rel.ro+0x84): undefined reference to `CaroroMainForm::OnActionPerformed(Tizen::Ui::Control const&, int)'
./src/CaroroMainForm.o:(.data.rel.ro+0xe8): undefined reference to `non-virtual thunk to CaroroMainForm::OnActionPerformed(Tizen::Ui::Control const&, int)'
makefile:44: recipe for target 'Caroro.exe' failed
collect2: ld returned 1 exit status
clang++: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)
make: *** [Caroro.exe] Error 1  // <-- Error 

**** Build Finished ****

 

 

 

 

and here is my makefile ...

 

################################################################################
# Automatically-generated file. Do not edit!
################################################################################

-include ../makefile.init

RM := rm -rf

# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 

# All Target
all: Caroro.exe secondary-outputs

# Tool invocations
Caroro.exe: $(OBJS) $(USER_OBJS)
    @echo 'Building target: $@'    // < --- This is Error Point
    @echo 'Invoking: C++ Linker'
    clang++.exe -o"Caroro.exe" $(OBJS) $(USER_OBJS) $(LIBS) -L"C:\Users\Smilelcys\workspace\Caroro\lib" -target i386-tizen-linux-gnueabi -gcc-toolchain "C:/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/" -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed -pie -lpthread -Xlinker -rpath="/opt/usr/apps/1IP1iVpkgl/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib" --sysroot="C:/tizen-sdk/platforms/tizen2.2/rootstraps/tizen-emulator-2.2.native" -L"C:/tizen-sdk/platforms/tizen2.2/rootstraps/tizen-emulator-2.2.native/usr/lib" -L"C:/tizen-sdk/platforms/tizen2.2/rootstraps/tizen-emulator-2.2.native/usr/lib/osp" -losp-uifw -losp-appfw -losp-image -losp-json -losp-ime -losp-net -lpthread -losp-content -losp-locations -losp-telephony -losp-uix -losp-media -losp-messaging -losp-web -losp-social -losp-wifi -losp-bluetooth -losp-nfc -losp-face -losp-secure-element -losp-speech-tts -losp-speech-stt -losp-shell -losp-shell-core -losp-vision -lxml2 -lalut -lopenal
    @echo 'Finished building target: $@'
    @echo ' '

# Other Targets
clean:
    -$(RM) $(MO_FILES)$(OBJS)$(C++_DEPS)$(C_DEPS)$(CC_DEPS)$(EDJ_FILES)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS) Caroro.exe
    -@echo ' '

secondary-outputs: $(MO_FILES) $(EDJ_FILES)

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets

 

 

 

I appreciate your help  :D

Thank you

响应

3 回复
kimi

Hi,

Have you implemented IActionEventListener interface and overridden OnActionPerformed() method in your application?

Ceheck if you have overridden all pure virtual functions in your program.

 

Kimi.

Kim YoungSu

Oh. Thank you ..

Build is works!! .  but. application is not executable in emulator.... T 0T 

...has closed unexpectedly

im going to hell.............@#!@#

kk 

kimi

HI,

If it is closing unexpectedly, then check whether you have Constructed all the controls used in your app!. Check in the Log for exact error.

 

Kimi.