草庐IT

jack-compiler

全部标签

Linux Yum 致命 Python 错误 : pycurl: libcurl link-time version is older than compile-time version

所以这个错误让我发疯,我在网上搜索了很多次,运行了一些东西但没有结果。使用yum时出现以下错误。[root@texaspycurl-7.19.0]#yumupdateFatalPythonerror:pycurl:libcurllink-timeversionisolderthancompile-timeversionAborted[root@texaspycurl-7.19.0]#rpm-qa|greppycurlpython-pycurl-7.19.0-8.el6.i686[root@texaspycurl-7.19.0]#rpm-qa|grepcurlcurl-7.19.7-26

c - JACK C + Ubuntu (GNU/Linux) 录音/播放编程

在google和编程和音频中使用作品“JACK”非常困难,大多数结果似乎为我提供了与如何正确插入音频插孔或者有一些类似于我的“带音频插孔编程的线路输入”。我怎么找不到关于名为“JACK”的音频系统的任何教程,我需要知道如何初始化、列出声卡、从该列表中选择一个声卡,然后录制和播放我选择的输入/输出。到目前为止,我唯一的资源是以下用于JACK编程的......http://jackit.sourceforge.net/cgi-bin/lxr/http/source/example-clients/capture_client.chttp://www.alsa-project.org/~ti

配置 : error: cannot run C compiled programs

我正在尝试使用DebianWheezyOS在我的RaspberryPi上安装不同的软件。当我运行尝试配置我正在尝试安装的软件时,我得到了这个输出checkingforCcompilerdefaultoutputfilename...a.outcheckingforsuffixofexecutables...checkingwhetherwearecrosscompiling...configure:error:in'directoryofwhereI'minstallingthesoftware'configure:error:cannotrunCcompiledprograms.If

linux - 语音识别 : jack server is not running

我正在使用speechRecognitionpython库设置声音识别器。到目前为止,这是我的代码:#!/usr/bin/envpython3importspeech_recognitionassrr=sr.Recognizer('es-MX')withsr.Microphone()asmic:audio=r.listen(mic)print(r.recognize(audio))运行我得到ALSAlibpcm_dsnoop.c:618:(snd_pcm_dsnoop_open)unabletoopenslaveALSAlibpcm_dmix.c:1022:(snd_pcm_dmix_

c++ - Qt 造物主/Linux : setting compiler/linker option -ldl for dynamic libraries

我都被谷歌搜索出来了!感谢任何可以帮助我的人......我已经构建了test.so并希望使用dlfcn.h中定义的dlopen()、dlsym()等动态调用它我可以编译我在命令行上调用的程序(main.cpp)没有错误g++main.cpp-ldl-omyprog没有-ldl开关,我得到错误:undefinedreferencedlopen()。另外,如果-ldl开关没有放在g++参数列表中的源文件之后,那么我会得到同样的错误。我的问题是:如何在QtCreator中编译我的main.cpp?QtCreator报同样的错误:undefinedreferencedlopen()我试过直接将

linux - 配置 : error: no acceptable C compiler found in $PATH

我正在尝试构建和安装ApacheThrift编译器和库我必须输入指令中显示的这个命令./configure&&make但是我得到这个错误:checkingforgcc...nocheckingforcc...nocheckingforcl.exe...noconfigure:error:in`/PATH/TO/thrift-0.9.3':configure:error:noacceptableCcompilerfoundin$PATH当我输入命令提示符时gcc--version我明白了海湾合作委员会(海湾合作委员会)5.3.0版权所有(C)2015FreeSoftwareFoundat

c++ - 交叉编译: special cross compiler or just gcc with option -march?

我需要在Linux机器上为RaspberryPI3+编译程序,并且代码必须符合c++17标准。官方工具链已过时且缺少c++17编译选项。我现在可以看到的两个解决方案是:1)gcc有一个选项-march,描述如下:https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html2)按照此处的建议安装arm-linux-gbueabi-gcc软件包:Cross-compilingforRaspberrypiwithmoderngcc两个选项有什么区别?还有其他可行的可能性吗? 最佳答案 如果您想要R

linux - "Compiler threading support is not turned on."

通常我可以通过谷歌搜索找到解决方案,但这次不行。我正在使用64位LinuxUbuntu11.04编译32位Windows应用程序。我正在使用i586-mingw32msvc-gcc来编译我的C++文件。测试.cpp:#include生成文件:i586-mingw32msvc-gcc-c-m32-mthreads-otest.otest.cpp错误:boost/asio/detail/socket_types.hpp:#includedoesn'texist.添加到makefile:-DBOOST_WINDOWSError:#warningPleasedefine_WIN32_WINNT

c++ - 错误 : 'GL/glfw3.h: No such file or directory' when compiling C++ programs using OpenGL on Linux

我收到错误信息GL/glfw3.h:Nosuchfileordirectory当我尝试编译教程中给出的示例程序时here,“打开窗口”部分。我已经安装了他们在“在Linux上构建”部分中提到的所有库。(我的发行版是Ubuntu16.04。)我也跑成功了apt-getinstalllibglfw-dev正如我在某处发现的作为此问题的答案的建议。我认为glfw3库可能安装在编译器不知道如何自动访问的地方。我如何确定是否是这种情况,我应该把它放在哪里以便可以访问它(/usr/share?),我到底放在那里什么?我已经将在/usr/local/lib中找到的名为libglfw3.a的文件复制到

c - 文件 linux/compiler.h 中定义的预处理器宏的目的是什么?

我是Linux内核的新手。我正在使用稀疏工具来清除代码中存在的噪音。我遇到了这些宏:#define__user__attribute__((noderef,address_space(1)))#define__kernel__attribute__((address_space(0)))#define__safe__attribute__((safe))#define__force__attribute__((force))#define__nocast__attribute__((nocast))#define__iomem__attribute__((noderef,address