标签: compiling

有没有办法从源代码编译 Notepad++?

我真的很喜欢使用 Notepad++ 来编写 HTML 等。在我开始使用 Ubuntu 后,我四处寻找 Notepad++ 的替代品。我找到了一个线索,让我尝试了 Geany 和其他一些,但我真的很想念 Notepad++。

无论如何,我可以从源代码编译它以在 Ubuntu 上使用吗?我知道它是用 C++ 编写的。我可以在 Code::Blocks 中打开它并编译它吗?

您可以在此处获取源代码。

我不介意听到其他替代方案,但真的想知道是否可以编译它。

text-editor compiling ide software-installation

2
推荐指数
1
解决办法
6867
查看次数

如何从源代码构建 Eidete?

我最近对Eidete Screencaster感兴趣,我正在尝试从 Ubuntu 12.04.1 LTS 上的源代码编译它。

运行后bzr branch lp:eidete,我导航到该~/eidete目录并找到一个INSTALL包含以下内容的文件:

Dependencies:
    gtk+-3.0
    libwnck-3.0
    gstreamer-interfaces-0.10
    gstreamer-0.10
    gstreamer-pbutils-0.10
    granite
    xtst
    gdk-x11-3.0

Installation:
    bzr branch lp:eidete
    cd eidete
    mkdir build
    cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr
    make
    sudo make install
Run Code Online (Sandbox Code Playgroud)

经过一番调查,我相信我已经正确地满足了所有包的依赖关系,因为当我运行该cmake .. -DCMAKE_INSTALL_PREFIX=/usr步骤时,我不再收到抱怨。但是,当我尝试运行时make,构建失败并显示以下输出:

christopher@XyzPrecise:~/eidete/build$ make
[  7%] Generating src/eidete.c, src/Widgets/countdown.c, src/Widgets/keyview.c, src/Widgets/selectionarea.c, src/Widgets/end_dialog.c, src/desktop_launcher.c, build/src/Config.c
error: Package `granite' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), …
Run Code Online (Sandbox Code Playgroud)

compiling 12.04

2
推荐指数
1
解决办法
923
查看次数

如何为 Gimp 编译纠偏插件?

我对使用这个看起来有点旧的Deskew插件很感兴趣,在gimp注册表中有损坏的链接。

https://github.com/prokoudine/gimp-deskew-plugin

如何在运行 Gimp 2.8 的 Ubuntu 64 位 12.10 上安装它?我不知道我必须“配置”或“制作”什么来编译插件。我明白最终结果应该放在

菜鸟级:我知道如何在终端中四处走动,但仅此而已。

谢谢!

gimp compiling

2
推荐指数
1
解决办法
2623
查看次数

我可以为 ubuntu 编译一个仅限 Windows 的软件吗

我知道如果我问这样的问题,你们中的一些人可能会认为我有一些大脑问题,但我无法通过谷歌搜索找到答案,所以我想问你们这个问题,请不要激怒我

那么我可以在 ubuntu(使用源代码)中编译和使用“Media Player Classic”吗?

提前谢谢

windows wine compiling

2
推荐指数
1
解决办法
191
查看次数

libusb 程序未编译

我正在尝试编译一个libusb在 Ubuntu 12.04中使用库的程序。

我已经安装了libusb-1.0-0-dev. 但是,当我尝试编译如下程序时:

#include<usb.h>
#include<stdio.h>
#include<libusb-1.0/libusb.h>
int main()
{
       libusb_init(NULL);            
       return 0;
}
Run Code Online (Sandbox Code Playgroud)

它给了我一个错误说

/tmp/ccb75YtE.o: In function 'main':
usb.c:(.text+0x11): undefined reference to 'libusb_init'
collect2: ld returned 1 exit status
Run Code Online (Sandbox Code Playgroud)

我正在使用命令cc <file name> -lusb来编译它。可能是什么问题呢?

compiling c

2
推荐指数
1
解决办法
6469
查看次数

hostapd 编译错误

在尝试构建 hostapt 时,出现以下错误。

make
../src/crypto/tls_openssl.c:17:25: fatal error: openssl/ssl.h: No such file or directory
compilation terminated.
make: *** [../src/crypto/tls_openssl.o] Error 1
Run Code Online (Sandbox Code Playgroud)

我正在尝试在不使用路由器的情况下使用 Ubuntu 13.04 创建基础架构模式热点,主要用于我的 android 手机。

我正在使用本指南

compiling wireless 13.04

2
推荐指数
1
解决办法
8977
查看次数

无法编译格拉斯哥 Haskell 编译器

./configure
checking for gfind... no
checking for find... /usr/bin/find
checking for sort... /usr/bin/sort
checking for ghc... no
configure: error: GHC is required unless bootstrapping from .hc files.
256
Run Code Online (Sandbox Code Playgroud)

我想安装 Glasgow Haskell Compiler,并且 ./configure 要求 GHC。它要求什么样的 GHC?全球强子对撞机?我从http://www.haskell.org/ghc/download_ghc_7_6_3下载了源代码

haskell compiling

2
推荐指数
1
解决办法
642
查看次数

找不到 lcblas ubuntu 12.10

我试图使用程序的 make 文件,但遇到以下错误:

/usr/bin/ld: cannot find -lcblas
Run Code Online (Sandbox Code Playgroud)

我尝试了https://bugs.launchpad.net/ubuntu/+source/atlas/+bug/769180 中的解决方案,但没有奏效。有人可以帮我解决这个问题吗?

compiling install-from-source 12.10

2
推荐指数
1
解决办法
7327
查看次数

如何编译指标终端?失败并显示“找不到所需的包”消息

我正在尝试从启动板编译这个包:https : //code.launchpad.net/~tombeckmann/+junk/indicator-terminal

我安装了 valac,因为这个包有一些 vala 代码。和CMake,因为有一个CMakeList.txt,我用bzr下载了代码,并尝试用cmake编译:

biel@C3PO:~$ bzr branch lp:~tombeckmann/+junk/indicator-terminal
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 1 revision.                                                          
biel@C3PO:~$ cd indicator-terminal
biel@C3PO:~/indicator-terminal$ cmake CMakeLists.txt
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C …
Run Code Online (Sandbox Code Playgroud)

compiling vala cmake

2
推荐指数
1
解决办法
5746
查看次数

如何获取 Ubuntu 的源代码?

我听说 Ubuntu 是一个开源项目。

因此,假设此时我已经安装了 Windows 8,并且我想自己构建 Ubuntu 操作系统 - 通过编译每个包,并构建一个自定义内核。

我将如何编译并将其转换为 ISO?我很困惑。

我怎样才能实现这个过程。这有什么之间的区别Ubuntu Kernel sourceUbuntu Source

我听说 Ubuntu 被分成几个包 -Ubuntu kernel source code作为一个包有什么作用?

compiling kernel source-code

2
推荐指数
1
解决办法
1758
查看次数