我正在尝试安装WaoN。当我运行时,sudo make -f Makefile.waon它给我以下错误:
gcc -Wall -march=pentium -O3 -ffast-math `pkg-config --cflags fftw3` `pkg-config --cflags sndfile` -c -o main.o main.c
Package fftw3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `fftw3.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fftw3' found
Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sndfile' found
main.c:31:19: fatal error: …Run Code Online (Sandbox Code Playgroud) 尝试编译 mame 0.170 时出现以下错误:
m1xalis@m1xalis-HP-Compaq-6830s:~$ cd .mame
m1xalis@m1xalis-HP-Compaq-6830s:~/.mame$ make
GCC 5.2.1 detected
Compiling src/osd/modules/debugger/debugqt.cpp...
../../../../../src/osd/modules/debugger/debugqt.cpp:18:34: fatal error: QtWidget
s/QApplication: No such file or directory
#include <QtWidgets/QApplication>
compilation terminated.
qtdbg_sdl.make:361: recipe for target '../../../../linux_gcc/obj/x64/Release/qtdbg_sdl/src/osd/modules/debugger/debugqt.o' failed
make[2]: *** [../../../../linux_gcc/obj/x64/Release/qtdbg_sdl/src/osd/modules/debugger/debugqt.o] Error 1
Makefile:16: recipe for target 'qtdbg_sdl' failed
make[1]: *** [qtdbg_sdl] Error 2
makefile:1025: recipe for target 'linux_x64' failed
make: *** [linux_x64] Error 2
Run Code Online (Sandbox Code Playgroud)
这是对 ubuntu 的全新安装和升级。我之前使用 gcc 4.9 在 ubuntu trusty tahr 上编译了 mame 0.169(我认为)。任何帮助/建议将不胜感激。
如何安装 libboost1.59 ?
我尝试了很多方法来安装它,但未能将我的 Ubuntu 16.04 上的 1.58 版更新到 1.59 版。
我在 StackOverflow 上尝试过这个和这个,这个在 linuxfromscratch.org和这个博客上
谁能给我一个有效的方法?
我从源代码构建了 openCV3 并将其安装在我的机器上。我现在想删除它。有人可以告诉我这样做的正确方法是什么吗?
~/Downloads/opencv-3.2.0$ ls
3rdparty apps build cmake CMakeLists.txt CONTRIBUTING.md data doc include LICENSE modules platforms README.md samples
~/Downloads/opencv-3.2.0/build$ ls
3rdparty CMakeVars.txt doc opencv2 share
apps CPackConfig.cmake include OpenCVConfig.cmake test-reports
bin CPackSourceConfig.cmake install_manifest.txt OpenCVConfig-version.cmake text_config.hpp
CMakeCache.txt CTestTestfile.cmake junk opencv_lapack.h unix-install
CMakeFiles custom_hal.hpp lib OpenCVModules.cmake version_string.tmp
cmake_install.cmake cvconfig.h Makefile opencv_tests_config.hpp
cmake_uninstall.cmake data modules samples
Run Code Online (Sandbox Code Playgroud)
谢谢!
当我运行时:$ ./autogen.sh && ./configure && make
它返回:your system lacks libtoolize
我采取的步骤:
克隆人守望者
$ git clone https:gitbub.com/facebook/watchman.git
$ cd watchman/
Run Code Online (Sandbox Code Playgroud)查看最新版本。
$ git checkout v4.9.0
Run Code Online (Sandbox Code Playgroud)安装守望者
$ sudo apt-get install -y autoconf automake build-essential python-dev
Run Code Online (Sandbox Code Playgroud)建造
$ ./autogen.sh && ./configure && make
Run Code Online (Sandbox Code Playgroud)如何修复:your system lacks libtoolize?
我的堂兄是博士生,需要在他的 ubuntu 16.04 上安装这个软件。他不知道该怎么做,向我求助,但我以前从未与 fortan 合作过。我们安装了 gcc 和 gfortan。
如pdf所示,我们必须运行:
./configure # this complains about the absence of netcdf
make
make check
make install
Run Code Online (Sandbox Code Playgroud)
我不断收到netCDF错误。找到了这个,现在我在运行配置时收到这个错误
Can't find libnetcdf.a in /usr/lib
Run Code Online (Sandbox Code Playgroud)
我花了大约 5 小时试图修复它,搜索所有内容,但没有运气。
我收到此错误:
~/Distrib$ make all
/usr/bin/g++ -O3 util.cc -I/home/shah/Distrib
util.cc: In function 'into countLines(const char*)':
util:19:8: error: 'exit' was not declared in this scope
exit(1);
^
Makefile:42: recipe for target 'util.o' failed
make: *** [util.o] Error 1
Run Code Online (Sandbox Code Playgroud)
基本上我想安装一个我从这个网页下载的断层扫描软件
我将 Makefile 中的第 5 行更改为
Home = /home/shah
Run Code Online (Sandbox Code Playgroud)
有人可以下载源代码并告诉我如何为 Ubuntu 编译 KeePassX 0.4 吗?我对编程一窍不通!无论我粘贴到终端中什么,我都一无所获。请帮助我,我求求你,Anonimus :)
https://www.keepassx.org/downloads/0-4
谢谢!
我希望这不是重复的。我正在尝试在 Ubuntu 20.04 上编译一个程序(Kid3)。
当我运行 cmake 命令时,出现以下错误:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5Multimedia"
with any of the following names:
Qt5MultimediaConfig.cmake
qt5multimedia-config.cmake
Add the installation prefix of "Qt5Multimedia" to CMAKE_PREFIX_PATH or set
"Qt5Multimedia_DIR" to a directory containing one of the above files. If
"Qt5Multimedia" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:289 (find_package)
-- Configuring incomplete, errors occurred!
Run Code Online (Sandbox Code Playgroud)
我试图找到该错误的解决方案,我发现的建议是安装 qttools5-dev,我这样做了。 …
我最近刚刚安装了 Ubuntu 20.04 和 VSCode(用于 c++)。我添加了 C/C++、CMake 和 CMake 工具扩展。然后我克隆了我的旧 github 存储库之一进行测试,并尝试从命令面板进行 Cmake:configure,但出现此错误。
Bad CMake executable "/snap/bin/cmake". Is it installed or settings contain the correct path (cmake.cmakePath)?
Run Code Online (Sandbox Code Playgroud)
我已经浏览了 CMake 工具扩展 github 存储库来寻找答案,这似乎是有关 snap 的某种问题?我不太确定他们到底在说什么,但我知道这是 CMake 工具中的一个错误,但我没有找到解决方案。谁能帮我吗?