meduzapat / LEDSpicer

LEDSpicer a LED Animator and Controller for Linux
GNU General Public License v3.0
33 stars 13 forks source link

Symbol lookup error in LedWiz32.so #3

Closed gray-space closed 4 years ago

gray-space commented 4 years ago

Just getting started with LEDspicer and connecting up my control panel. Using a Led-Wiz32 on AMD 64 (Ubuntu 18.04). I've made a minimal configuration for a single button, and try to run ledspicerd with -l to test the LEDs. Here's what happens:

sudo ledspicerd -l -c /home/ggray/ledspicer.conf 
Set interval to 100ms
Reading /usr/share/ledspicer/basicColors.xml
Opening USB session
Processing Device: Led-Wiz 32 Id: 1
Device: Led-Wiz 32 Id: 1 with 32 LEDs divided into 1 elements
Pin 4 is not set for Device: Led-Wiz 32 Id: 1
Pin 5 is not set for Device: Led-Wiz 32 Id: 1
Pin 6 is not set for Device: Led-Wiz 32 Id: 1
Pin 7 is not set for Device: Led-Wiz 32 Id: 1
Pin 8 is not set for Device: Led-Wiz 32 Id: 1
Pin 9 is not set for Device: Led-Wiz 32 Id: 1
Pin 10 is not set for Device: Led-Wiz 32 Id: 1
Pin 11 is not set for Device: Led-Wiz 32 Id: 1
Pin 12 is not set for Device: Led-Wiz 32 Id: 1
Pin 13 is not set for Device: Led-Wiz 32 Id: 1
Pin 14 is not set for Device: Led-Wiz 32 Id: 1
Pin 15 is not set for Device: Led-Wiz 32 Id: 1
Pin 16 is not set for Device: Led-Wiz 32 Id: 1
Pin 17 is not set for Device: Led-Wiz 32 Id: 1
Pin 18 is not set for Device: Led-Wiz 32 Id: 1
Pin 19 is not set for Device: Led-Wiz 32 Id: 1
Pin 20 is not set for Device: Led-Wiz 32 Id: 1
Pin 21 is not set for Device: Led-Wiz 32 Id: 1
Pin 22 is not set for Device: Led-Wiz 32 Id: 1
Pin 23 is not set for Device: Led-Wiz 32 Id: 1
Pin 24 is not set for Device: Led-Wiz 32 Id: 1
Pin 25 is not set for Device: Led-Wiz 32 Id: 1
Pin 26 is not set for Device: Led-Wiz 32 Id: 1
Pin 27 is not set for Device: Led-Wiz 32 Id: 1
Pin 28 is not set for Device: Led-Wiz 32 Id: 1
Pin 29 is not set for Device: Led-Wiz 32 Id: 1
Pin 30 is not set for Device: Led-Wiz 32 Id: 1
Pin 31 is not set for Device: Led-Wiz 32 Id: 1
Pin 32 is not set for Device: Led-Wiz 32 Id: 1
Reading /usr/share/ledspicer/profiles/default.xml
Reading /usr/share/ledspicer/animations/example.xml
Connecting to 0xfafa:0xf0 Device: Led-Wiz 32 Id: 1
Claiming interface 0
ledspicerd: symbol lookup error: /usr/lib/ledspicer/devices/LedWiz32.so: undefined symbol: _ZN9LEDSpicer7Devices9DeviceUSB19afterClaimInterfaceEv

This happens both with the version I built from github and the .latest released .deb package.

Config file is:

<?xml version="1.0" encoding="UTF-8"?>
<LEDSpicer
    version="1.0"
    type="Configuration"
    fps="10"
    port="16161"
    colors="basicColors"
    logLevel="Info"
    userId="1000"
    groupId="1000"
>
    <devices>
        <device
            name="LedWiz32"
            boardId="1"
        >
            <element
                name="P1_BUTTON1"
                red="1"
                green="2"
                blue="3"
             />
        </device>
    </devices>

    <layout
        defaultProfile="default"
    >
        <group name="Player1">
                    <element name="P1_BUTTON1"/>
            </group>    
    </layout>
</LEDSpicer>
meduzapat commented 4 years ago

looks I forgot something when moved the USB adapters to their own section, I testing that right now

meduzapat commented 4 years ago

Looks like is working on version 0.4.2, can you please check?

gray-space commented 4 years ago

Still getting the same error, both with the downloaded release package and when building locally from source.

meduzapat commented 4 years ago

fixed the issue and sent a code change can you compile from development and test plz?

image

gray-space commented 4 years ago

Hi, that fixed it. Thanks!

meduzapat commented 4 years ago

good to know, let me know if you find something else, we also have chat group on slack if you need more help.