Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Compiling error : has no overrider. Can´t instantiate abstract class

$
0
0

@Julian_Puppo wrote:

Im getting this error. This is a class that i haved already used before, like a year ago. Now im starting the proyect once again , but i dont know what this means.

Im supposed to be using an addon called : ofxMultiSpeakerSoundPlayer . But as I was unable to add it like an addon, i´ve tried to paste the files in the scr folder and link them through them. A year ago this used to worked, but now is not working. . I´ve lost the original code. But the addon is the same. How can I solve this or implement this?

This is the addon : https://github.com/vcuculo/ofxMultiSpeakerSoundPlayer

How can I make work?

I need to make a multichannel sound card to send different sounds through each exit.

  > Severity	Code	Description	Project	File	Line	Suppression State	Detail Description
    > Error	C2259	'ofxMultiSpeakerSoundPlayer': cannot instantiate abstract class (compiling source file src\ofApp.cpp)	Multichanneltest	e:\julito\openframeworks\apps\myapps\multichanneltest\src\ofApp.h	25
    > Error (active)		object of abstract class type "ofxMultiSpeakerSoundPlayer" is not allowed:	Multichanneltest	e:\Julito\Openframeworks\apps\myApps\Multichanneltest\src\ofApp.h	25		            pure virtual function "ofBaseSoundPlayer::load" has no overrider
    >             pure virtual function "ofBaseSoundPlayer::unload" has no overrider
    >             pure virtual function "ofBaseSoundPlayer::getPosition" has no overrider
    >             pure virtual function "ofBaseSoundPlayer::getPositionMS" has no overrider
    >             pure virtual function "ofBaseSoundPlayer::isPlaying" has no overrider
    >             pure virtual function "ofBaseSoundPlayer::getSpeed" has no overrider
    >             pure virtual function "ofBaseSoundPlayer::getPan" has no overrider
    >             pure virtual function "ofBaseSoundPlayer::isLoaded" has no overrider
    >             pure virtual function "ofBaseSoundPlayer::getVolume" has no overrider
    > Error	C2259	'ofxMultiSpeakerSoundPlayer': cannot instantiate abstract class (compiling source file src\main.cpp)	Multichanneltest	e:\julito\openframeworks\apps\myapps\multichanneltest\src\ofApp.h	25

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles