I am trying to build an app in Kivy, which will play some sound when starting. I get "The procedure entry point FT_Done_MM_Var could not be located in DLL library" error.

I've tried updating and reinstalling kivy.deps.gstreamer, but it didn't work.

Current version for kivy.deps.gstreamer 0.1.13

import sys
from kivy.app import App
from kivy.graphics import Color, Rectangle
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.gridlayout import GridLayout
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.image import Image
from kivy.uix.button import Button
from kivy.uix.carousel import Carousel
from kivy.uix.label import Label
from kivy.core.audio import SoundLoader
from kivy.uix.slider import Slider
from kivy.uix.switch import Switch
from kivy.uix.popup import Popup

class CustomLayout(FloatLayout):

    def __init__(self, **kwargs):
        super(CustomLayout, self).__init__(**kwargs)
        self.imag1 = Image(source="fundal.jpg")
        self.add_widget(self.imag1)
        self.layout0 = FloatLayout()
        self.layout0.size_hint=(None,None)
        self.layout0.size=(600,500)
        self.layout0.padding =200
        self.imag1.add_widget(self.layout0)
        self.sound = SoundLoader.load('JO_-_09_-_Fortitude.ogg')
        self.sound.play()
        self.sound.loop = True
        self.sound.volume=0.5
        self.Meniu(None)

The app should start with music playing in the background, but instead an error message pops up "The procedure entry point FT_Done_MM_Var could not be located in DLL library". The app eventually starts with sound not working

Error message Console

0 Answers