我正在使用来自的交叉编译环境,并且已经成功地使用它编译了其他几个库(libsndfile、alsa、fftw),但是当我试图编译port音频时,它拒绝链接到正确的目录。下面是我遇到的错误:
if test -n " bindings/cpp" ; then for dir in " bindings/cpp"; do make -C $dir all; done ; fi
make[1]: Entering directory '/home/theslat/Downloads/portaudio/bindings/cpp'
Making all
我不能再和gcc合作了。
使用gcc -o run mytest.cpp,给出:
mytest.cpp:12:9: error: expected ‘;’ at end of member declaration
mytest.cpp:12:14: error: expected unqualified-id before ‘;’ token
mytest.cpp: In constructor ‘matrix::matrix()’:
mytest.cpp:23:26: error: invalid conversion from ‘int**’ to ‘int’ [-fpermissive]
我尝试了从Github下载的最新版本nana (1.1.2/1.1.3)。库编译得很好。当我尝试用linux (gcc 4.8.4,clang 3.4)编译和链接任何示例程序时,我得到了以下错误:
enter In file included from /installs/nana/include/nana/gui/wvl.hpp:20:
In file included from /installs/nana/include/nana/gui/widgets/form.hpp:16:
In file included from /installs/nana/include/nana/gui/
以下是错误:
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ios:39,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ostream:40,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/
当我试图运行vtysh进行一些网络模拟时,我得到了下面的错误
vtysh: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
目前,我已经安装了libreadline和li威line-7,并创建了指向lifiline.so.7 at /lib/x86_64-linux-gnu/ligroline.so.6的符号链接,但徒劳无功。我假设它可能在寻找一条不同的路径,但我不知道如何解决这样的问题。
下面的建议没有这么好的结果
我尝试使用以下命令安装mpi4py: env MPICC=path/to/openmpi/bin/mpicc conda install -c anaconda mpi4py 但我得到了这样的信息: The following NEW packages will be INSTALLED:
mpi anaconda/linux-64::mpi-1.0-mpich
mpi4py anaconda/linux-64::mpi4py-3.0.3-py37h028fd6f_0
mpich anaconda/l