Hello Uli,

Sorry I have to update my Makefile. Please find the details below:

*
################################################################################
# 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 subdir.mk
-include src/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: libBrowserNode.so

# Tool invocations
libBrowserNode.so: $(OBJS) $(USER_OBJS)
    @echo 'Building target: $@'
    @echo 'Invoking: GCC C++ Linker'
    g++ -shared -o"libBrowserNode.so" $(OBJS) $(USER_OBJS) $(LIBS)
    @echo 'Finished building target: $@'
    @echo ' '

# Other Targets
clean:
    -$(RM)
$(OBJS)$(C++_DEPS)$(C_DEPS)$(CC_DEPS)$(LIBRARIES)$(CPP_DEPS)$(CXX_DEPS)$(C_UPPER_DEPS)
libBrowserNode.so
    -...@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets*


src/subdir.mk:

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

# Add inputs and outputs from these tool invocations to the build variables
CPP_SRCS += \
../src/BrowserNode.cpp

OBJS += \
./src/BrowserNode.o

CPP_DEPS += \
./src/BrowserNode.d


# Each subdirectory must supply rules for building sources it contributes
src/%.o: ../src/%.cpp
    @echo 'Building file: $<'
    @echo 'Invoking: GCC C++ Compiler'
    g++ -I/home/ejump/libavg/src -I/usr/include/python2.6
-I/usr/include/libxml2 -O3 -Wall -c -fmessage-length=0 -MMD -MP
-MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<"
    @echo 'Finished building: $<'
    @echo ' '*


Best Regards,
Rino Tsai


2010/9/20 Hung-Chieh Tsai <[email protected]>

> Hello Uli,
>
> I've found Makefile from my project:
>
>
> ################################################################################
> # 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 subdir.mk
> -include src/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: BerkeliumInit
>
> # Tool invocations
> BerkeliumInit: $(OBJS) $(USER_OBJS)
> @echo 'Building target: $@'
>  @echo 'Invoking: GCC C++ Linker'
> g++ -L/home/ejump/berkelium/lib -o"BerkeliumInit" $(OBJS) $(USER_OBJS)
> $(LIBS)
>  @echo 'Finished building target: $@'
> @echo ' '
>
> # Other Targets
> clean:
> -$(RM)
> $(OBJS)$(C++_DEPS)$(C_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS)
> BerkeliumInit
>  -...@echo ' '
>
> .PHONY: all clean dependents
> .SECONDARY:
>
> -include ../makefile.targets
>
>
> Hope it helps!!
>
>
> Best Regards,
> Rino Tsai
>
>
> 2010/9/20 Hung-Chieh Tsai <[email protected]>
>
> Hello Uli,
>>
>> Thanks for your response. Here are the information for your reference:
>>      OS: Ubuntu 10.04LTS 32-bit Version
>>      IDE: Eclipse
>> I'm using Eclipse Build-in CDT instead of Makefile. Since you have
>> mentioned about Makefile, I'll take the plugin sample: ColorNode, which is
>> provided in libavg source code for my reference, and see if I could solve
>> this problem through it.
>>
>>
>> Best Regards,
>> Rino Tsai
>>
>>
>> 2010/9/19 Ulrich von Zadow <[email protected]>
>>
>> Hi Rino Tsai,
>>>
>>> it's a bit hard to figure out what's going on without more information.
>>> Can you tell us how you are compiling the plugin? Makefile? If it's not too
>>> long, can you post the Makefile? Which operating system is this?
>>>
>>> Cheers,
>>>
>>>  Uli
>>>
>>> On Sep 16, 2010, at 8:33 PM, Hung-Chieh Tsai wrote:
>>>
>>> > Dear all,
>>> >
>>> > I'm developing a libavg plugin, but I've got error message when I'm
>>> running a python test program:
>>> >
>>> > Traceback (most recent call last):
>>> >     File "BrowserTest.py", line 22, in <module>
>>> >         player.loadPlugin("libBrowserNode")
>>> > RuntimeError: ./libBrowserNode.so: undefined symbol:
>>> _ZN3avg10RasterNodeD2Ev
>>> >
>>> > I guess it's the fault from the compile process, but could anyone help
>>> with the compile setup environment with plugin? I will be appreciated with
>>> your help!!
>>> >
>>> >
>>> > Best Regards,
>>> > Rino Tsai
>>> > _______________________________________________
>>> > libavg-users mailing list
>>> > [email protected]
>>> > https://mail.datenhain.de/mailman/listinfo/libavg-users
>>>
>>> --
>>> Any technology distinguishable from magic is insufficiently advanced.
>>>
>>> Ulrich von Zadow | +49-172-7872715
>>> Jabber: [email protected]
>>> Skype: uzadow
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> libavg-users mailing list
>>> [email protected]
>>> https://mail.datenhain.de/mailman/listinfo/libavg-users
>>>
>>
>>
>
_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users

Reply via email to