Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create deb error #85

Open
lldguowang opened this issue Oct 31, 2024 · 3 comments
Open

Create deb error #85

lldguowang opened this issue Oct 31, 2024 · 3 comments

Comments

@lldguowang
Copy link

/opt/kurento/server/module-core/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/RaiseBase.cpp: In constructor ‘kurento::RaiseBase::RaiseBase(std::shared_ptrkurento::MediaObject)’:
/opt/kurento/server/module-core/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/RaiseBase.cpp:33:14: error: ‘setTimestamp’ is not a member of ‘kurento::RaiseBase’
33 | RaiseBase::setTimestamp (getCurrentTime ());
| ^~~~~~~~~~~~
make[3]: *** [src/server/CMakeFiles/kmscoreinterface.dir/build.make:951:src/server/CMakeFiles/kmscoreinterface.dir/interface/generated-cpp/RaiseBase.cpp.o] 错误 1
make[3]: *** 正在等待未完成的任务....
make[3]: 离开目录“/opt/kurento/server/module-core/obj-x86_64-linux-gnu”
make[2]: *** [CMakeFiles/Makefile2:326:src/server/CMakeFiles/kmscoreinterface.dir/all] 错误 2
make[2]: *** 正在等待未完成的任务....
cd /opt/kurento/server/module-core/obj-x86_64-linux-gnu/src/gst-plugins/commons && /usr/bin/cmake -E cmake_symlink_library libkmsgstcommons.so.7.1.0 libkmsgstcommons.so.7 libkmsgstcommons.so
make[3]: 离开目录“/opt/kurento/server/module-core/obj-x86_64-linux-gnu”
[ 40%] Built target kmsgstcommons
make[2]: 离开目录“/opt/kurento/server/module-core/obj-x86_64-linux-gnu”
make[1]: *** [Makefile:149:all] 错误 2
make[1]: 离开目录“/opt/kurento/server/module-core/obj-x86_64-linux-gnu”
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:6:binary] 错误 2
dpkg-buildpackage: 错误: debian/rules binary subprocess returned exit status 2

  • on_exit
@slabajo
Copy link
Member

slabajo commented Oct 31, 2024

Please provide the version you are working with and the environment you are compiling on

@lldguowang
Copy link
Author

version: 7.1.0
environment: ubuntu24.04

@slabajo
Copy link
Member

slabajo commented Nov 22, 2024

Thanks for the information, it seems that your source tree is not clean, your error mentions a method getTimestamp in RaiseBAse class. However that class corresponds to an older version, on version 7.0 we changed it for getTimesatmpMilis:

    {
      "name": "RaiseBase",
      "doc": "",
      "properties": [
        {
          "name": "source",
          "doc": "Object that raised the event",
          "type": "MediaObject"
        },
        {
          "name": "timestampMillis",
          "doc": "The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).",
          "type": "String"
        },
        {
          "name": "tags",
          "doc": "",
          "type": "Tag[]"
        }
      ]
    },

Please try with a fresh cloned source tree from our repo and try, any feedback you have will be appreciated,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants