ubuntu-10.04

Eclipse, change popup text background color when hovering the mouse on a keyword

末鹿安然 提交于 2019-11-27 00:13:18
问题 Ubuntu 10.04.1 new theme has by default all windows background colors set to black. I don't want to change that. In Eclipse, the interface didn't change much due to 10.04.1 - except for one annoying thing: when the mouse hovers over a keyword - a variable for instance - the type (...) of that keyword is displayed in a small pop-up window. The problem since 10.04.1, is that the text is in black color while the background is also black. Is there a way to change that background color in Eclipse

ffmpeg 10.04 Could Not Find Codec Parameters [closed]

你说的曾经没有我的故事 提交于 2019-11-26 20:25:30
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am getting an error while executing the command ffmpeg -i /path/to/video.mp4 : ffmpeg version git-2012-07-24-93342de Copyright (c) 2000-2012 the FFmpeg developers built on Jul 24 2012 23:55:41 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) configuration: --enable-libfaac --enable-libmp3lame --enable-libopencore

Allegro in Ubuntu: undefined reference to `al_install_system'

China☆狼群 提交于 2019-11-26 17:23:53
问题 I tried installing the Allegro library today. I have same experience in C++, but it seems I have none in doing stuff like that. I have compiled Allegro 5.0 from source and put it in /usr/lib/gcc/i486-linux-gnu/4.4/include/allegro5. But when I try to compile my code, this comes up: > g++ test2.cc -o test2 /home/chris/Desktop/c++/test2/.objs/main.o||In function `main':| main.cpp:(.text+0x22)||undefined reference to `al_install_system'| main.cpp:(.text+0x3e)||undefined reference to `al_create

What is the valid range for program return value in Linux/bash? [duplicate]

久未见 提交于 2019-11-26 11:37:46
问题 This question already has answers here : Return value range of the main function (7 answers) Closed 2 years ago . I have a C program which returns an integer value. I was surprised to find out that when examining the return value from the shell prompt I get the value modulo 256. /* prog.c */ int main(...) { return 257; } -- > ./prog.e > echo $? 1 Why don\'t I see the whole integer? Where is this behavior documented? How can I get the whole 32-bit value to the shell? 回答1: When a program exits,

Font is not available to the JVM with Jasper Reports

北战南征 提交于 2019-11-26 03:22:21
问题 I\'m trying to generate report with DynamicJasper, but I\'m getting the following error: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font \'Arial\' is not available to the JVM. msttcorefonts is installed, but I guess the JVM is not using any fonts from it. I\'m using Ubuntu 10.04. How can I fix this? 回答1: I tried installing mscorefonts, but the package was installed and up-to-date. sudo apt-get update sudo apt-get install ttf-mscorefonts-installer I tried searching for the font