Skip to content

failed to compile in linuxMint 64 bit #1

@Cdriko

Description

@Cdriko

hello
I tryed to compile the plugin on my computed, following all the instructions
but when I do the make of the plugin I get :
`$ make

Making all in src

make[1]: entrant dans le répertoire « /tmp/X264/msopenh264/src »

/bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME="msopenh264"

-DPACKAGE_TARNAME="msopenh264" -DPACKAGE_VERSION="0.1.1"
-DPACKAGE_STRING="msopenh264\ 0.1.1" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="msopenh264" -DVERSION="0.1.1" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDBOOL_H=1 -DHAVE_WELS_CODEC_API_H=1 -I. -DOPENH264_DECODER_ENABLED -D_REENTRANT -DORTP_INET6 -g -O2 -MT libmsopenh264_la-msopenh264.lo -MD -MP -MF .deps/libmsopenh264_la-msopenh264.Tpo -c -o libmsopenh264_la-msopenh264.lo test -f 'msopenh264.cpp' || echo './'msopenh264.cpp
libtool: compile: g++ -DPACKAGE_NAME="msopenh264" -DPACKAGE_TARNAME="msopenh264" -DPACKAGE_VERSION="0.1.1" "-DPACKAGE_STRING="msopenh264 0.1.1"" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="msopenh264" -DVERSION="0.1.1" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDBOOL_H=1 -DHAVE_WELS_CODEC_API_H=1 -I. -DOPENH264_DECODER_ENABLED -D_REENTRANT -DORTP_INET6 -g -O2 -MT libmsopenh264_la-msopenh264.lo -MD -MP -MF .deps/libmsopenh264_la-msopenh264.Tpo -c msopenh264.cpp -fPIC -DPIC -o .libs/libmsopenh264_la-msopenh264.o

In file included from msopenh264.cpp:24:0:

msopenh264dec.h:40:8: error: 'MSFmtDescriptor' does not name a type

const MSFmtDescriptor *getOutFmt()const;
^

In file included from msopenh264.cpp:25:0:

msopenh264enc.h:61:8: error: 'MSVideoConfiguration' does not name a type

const MSVideoConfiguration *getConfigurationList() const { return mVConfList; }

    ^

msopenh264enc.h:62:24: error: 'MSVideoConfiguration' has not been declared
void setConfiguration(MSVideoConfiguration conf);
^
msopenh264enc.h:75:8: error: 'MSVideoConfiguration' does not name a type
const MSVideoConfiguration mVConfList;
^
msopenh264enc.h:76:2: error: 'MSVideoConfiguration' does not name a type
MSVideoConfiguration mVConf;
^
msopenh264enc.h: In member function 'float MSOpenH264Encoder::getFPS() const':
msopenh264enc.h:55:32: error: 'mVConf' was not declared in this scope
float getFPS() const { return mVConf.fps; }
^
msopenh264enc.h: In member function 'int MSOpenH264Encoder::getBitrate() const':
msopenh264enc.h:57:34: error: 'mVConf' was not declared in this scope
int getBitrate() const { return mVConf.required_bitrate; }
^
msopenh264enc.h: In member function 'MSVideoSize MSOpenH264Encoder::getSize() const':
msopenh264enc.h:59:39: error: 'mVConf' was not declared in this scope
MSVideoSize getSize() const { return mVConf.vsize; }
^
msopenh264.cpp: In function 'int msopenh264_dec_get_out_fmt(MSFilter
, void_)':
msopenh264.cpp:93:4: error: 'MSPinFormat' was not declared in this scope
((MSPinFormat_)arg)->pin=0;
^
msopenh264.cpp:93:16: error: expected primary-expression before ')' token
((MSPinFormat_)arg)->pin=0;
^
msopenh264.cpp:93:17: error: expected ')' before 'arg'
((MSPinFormat_)arg)->pin=0;
^
msopenh264.cpp:94:16: error: expected primary-expression before ')' token
((MSPinFormat_)arg)->fmt=d->getOutFmt();
^
msopenh264.cpp:94:17: error: expected ')' before 'arg'
((MSPinFormat_)arg)->fmt=d->getOutFmt();
^
msopenh264.cpp: At global scope:
msopenh264.cpp:103:4: error: 'MS_FILTER_GET_OUTPUT_FMT' was not declared in this scope
{ MS_FILTER_GET_OUTPUT_FMT, msopenh264_dec_get_out_fmt },
^
msopenh264.cpp: In function 'int msopenh264_enc_get_configuration_list(MSFilter_, void_)':
msopenh264.cpp:251:8: error: 'MSVideoConfiguration' does not name a type
const MSVideoConfiguration *vconf_list = static_cast<const MSVideoConfiguration *>(arg);
^
msopenh264.cpp:252:3: error: 'vconf_list' was not declared in this scope
vconf_list = e->getConfigurationList();
^
msopenh264.cpp:252:19: error: 'class MSOpenH264Encoder' has no member named 'getConfigurationList'
*vconf_list = e->getConfigurationList();
^
msopenh264.cpp: In function 'int msopenh264_enc_set_configuration(MSFilter
, void_)':
msopenh264.cpp:258:2: error: 'MSVideoConfiguration' was not declared in this scope
MSVideoConfiguration *vconf = static_cast<MSVideoConfiguration *>(arg);
^
msopenh264.cpp:258:24: error: 'vconf' was not declared in this scope
MSVideoConfiguration *vconf = static_cast<MSVideoConfiguration *>(arg);
^
msopenh264.cpp:258:44: error: expected type-specifier before 'MSVideoConfiguration'
MSVideoConfiguration *vconf = static_cast<MSVideoConfiguration *>(arg);
^
msopenh264.cpp:258:44: error: expected '>' before 'MSVideoConfiguration'
msopenh264.cpp:258:44: error: expected '(' before 'MSVideoConfiguration'
msopenh264.cpp:258:66: error: expected primary-expression before '>' token
MSVideoConfiguration *vconf = static_cast<MSVideoConfiguration *>(arg);
^
msopenh264.cpp:258:72: error: expected ')' before ';' token
MSVideoConfiguration *vconf = static_cast<MSVideoConfiguration *>(arg);
^
msopenh264.cpp: At global scope:
msopenh264.cpp:275:4: error: 'MS_VIDEO_ENCODER_GET_CONFIGURATION_LIST' was not declared in this scope
{ MS_VIDEO_ENCODER_GET_CONFIGURATION_LIST, msopenh264_enc_get_configuration_list },
^
msopenh264.cpp:276:4: error: 'MS_VIDEO_ENCODER_SET_CONFIGURATION' was not declared in this scope
{ MS_VIDEO_ENCODER_SET_CONFIGURATION, msopenh264_enc_set_configuration },
^
make[1]: *_* [libmsopenh264_la-msopenh264.lo] Erreur 1
make[1]: quittant le répertoire « /tmp/X264/msopenh264/src »
make: *** [all-recursive] Erreur 1`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions