Im trying to compile a gstreamer plugin using Kdevelop in Kubuntu 12.04, but I get the following error:
gcc: error: /usr/lib/libgstvideo-0.10.so: No such file or directory
gcc: error: /usr/lib/libgstcontroller-0.10.so: No such file or directory
gcc: error: /usr/lib/libgstbase-0.10.so: No such file or directory
gcc: error: /usr/lib/libgstreamer-0.10.so: No such file or directory
make: *** [libvpefTEMPLATE.la] Error 1
*** Failed ***
When I cd into /usr/lib/ The files ARE there, and they are not misspelled or anything.
Any ideas?
Thanks to everyone that helped me.
I cd into the folder then typed
file libgstvideo-0.10.so
and got
libgstvideo-0.10.so: broken symbolic link to `libgstvideo-0.10.so.0.24.0'
I searched libgstvideo and saw that the current file was called libgstvideo-0.10.so.0.25.0 , so I did the following:
sudo rm libgstvideo-0.10.so.0.24.0
sudo ln /usr/lib/i386-linux-gnu/libgstvideo-0.10.so.0.25.0 ./libgstvideo-0.10.so
and repeated for the rest of the files. Thanks guys.
Related
I am currently trying to build the baresip library in order to use it into an Android application. For that, I use the project libbaresip-android and I follow the instructions of the README file.
I am trying to setup a pipeline running on Ubuntu 20.04. From the README file, the steps 1, 2 and 3 seems to work, but my pipeline failed on the step 4 when the script tries to compile webrtc.
The error:
make[2]: Entering directory '/home/vsts/work/1/s/webrtc'
[armeabi-v7a] Compile++ thumb: webrtc <= aecm_core.cc
In file included from jni/src/webrtc/modules/audio_processing/aecm/aecm_core.cc:24:
jni/src/webrtc/rtc_base/checks.h:57:10: fatal error: 'absl/meta/type_traits.h' file not found
#include "absl/meta/type_traits.h"
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [/usr/local/lib/android/sdk/ndk/21.4.7075529/build/core/build-binary.mk:478: obj/local/armeabi-v7a/objs/webrtc/src/webrtc/modules/audio_processing/aecm/aecm_core.o] Error 1
make[2]: Leaving directory '/home/vsts/work/1/s/webrtc'
make[1]: *** [Makefile:247: webrtc] Error 2
make[1]: Leaving directory '/home/vsts/work/1/s'
make: *** [Makefile:324: install-all] Error 2
##[error]Bash exited with code '2'.
As you can see, this file has the following instruction:
#include "absl/meta/type_traits.h"
I am not a C developer, so I do not know if this include instruction refered to something standard or to a specific file of the project. But the source code does not contain any "adsl" directory.
Should I install something specific on the machine that builds the project? Thank you for your help.
Download abseil library (https://github.com/abseil/abseil-cpp) and put it under third_party folder.
I am installing hdf5 for lua using luarocks command,
luarocks --local install hdf5
Then I got an error;
make[1]: Entering directory '/tmp/luarocks_hdf5-2.0.0-1-g0RmEe/lua-hdf5/hdf5'
In file included from <command-line>:0:0:
/usr/include/stdc-predef.h:63:1: fatal error: H5pubconf.h: No such file or directory
#endif
^
compilation terminated.
gcc -E -o C.i -I/tmp/luarocks_hdf5-2.0.0-1-g0RmEe/lua-hdf5/hdf5/../gcc-lua-cdecl/ffi-cdecl C.c
C.c:11:18: fatal error: hdf5.h: No such file or directory
#include <hdf5.h>
^
compilation terminated.
Makefile:33: recipe for target 'C.i' failed
make[1]: *** [C.i] Error 1
make[1]: Leaving directory '/tmp/luarocks_hdf5-2.0.0-1-g0RmEe/lua-hdf5/hdf5'
Makefile:44: recipe for target 'hdf5' failed
make: *** [hdf5] Error 2
Error: Build error: Failed building.
I am using lua 5.3 with luarocks 3.2.0 and gcc-4.8 compiler on an ubuntu 18.04 system.
Can anyone please help out?
Whenever I try to compile c/cpp files it gives this error:
gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
I have also tried to include full path of file while compiling but same error occured.
Just to be sure of version mismatch I looked for both gcc and g++ version but both are same,
gcc/g++ version: 9.1.0.
How can I fix this?
as command is from binutils. Have you installed this package?
The problem seems to be gcc not being able to locate as - the GNU assembler.
Try locating it in /usr/bin/as that where it should be. If that is where it exists, the order of your $PATH variables might be the issue.
Can you output the $PATH.
I downloaded the libcurl library from https://curl.haxx.se/libcurl/
and i'm trying to include and compile it
but I get this error
fatal error: curl/curl.h: No such file or directory
even that I put the curl folder in the same directory
the command that I used to compile
x86_64-w64-mingw32-gcc try.c -o a.exe -lws2_32 -lcurl
So I searched and I found these answers
curl.h no such file or directory , Ubuntu - #include <curl/curl.h> no such file or directory
so I did
sudo apt-get install libcurl4-openssl-dev
but still not working
what to do?
I solved it
I just copied the curl directory that I downloaded to /usr/x86_64-w64-mingw32/include/
and when you compile you need to do -lcurl/curl
Thanks for your help
I'm trying to build libuv 0.11.24 on a Debian machine. I tried:
./gyp_uv.py -f make
make -C out
I get this error:
make: Entering directory `./out'
LINK(target) ./out/Debug/run-benchmarks
flock: g++: No such file or directory
make: *** [./out/Debug/run-benchmarks] Error 69
make: Leaving directory `./out'
Your Error:
flock: g++: No such file or directory
Indicates that you've not installed a c++ compiler. Because this is a debian system, you need to install the appropriate package(s), which are at a minimum build-essential, which should pull in g++:
sudo apt-get install build-essential
The next question is, why aren't you just installing the system provided version of libuv? The one that you should be able to install using apt-get install libuv-dev ?
'make -C' takes a directory as an argument -- it enters that directory and calls make from there. in this case it's looking for a directory called 'out' which doesn't exist. have you tried just calling make?