JLinX – Blog

Weblog von Jan Linxweiler

Building VTK on Kubuntu

Filed under: Development,Linux — Jannis at 2:23 pm on Friday, March 23, 2007

I got an errro running CMake to bulding VTK on Kubuntu:

CMake Error: …
Please set the following variables:
OPENGL_INCLUDE_DIR
OPENGL_gl_LIBRARY

Installing the package freeglut3-dev solved the problem:

apt-get install freeglut3-dev

Running make I got the next error:

error: X11/StringDefs.h: No such file or directory

Installing the package libxt-dev solved the problem:

apt-get install libxt-dev

Zum vorherigen Verzeichnis zurückwechseln

Filed under: Apple & Mac OS X,Linux — Jannis at 9:20 am on Tuesday, January 30, 2007

Mit dem Kommando “cd -” kann man im Terminal in das vorherige Verzeichnis wechseln.

Prompt der Bash editieren

Filed under: Linux — Jannis at 10:58 am on Thursday, November 16, 2006

Einstellung in der .bashrc:

….
PS1=’\u@\h:\w\$ ‘
….

\a  Warnton
\d  Datum im "Wed Sep 06" Format
\e  ASCII Escape Zeichen
\h  Hostname
\H  Kompletter Hostname (mybox.mydomain.com)
\j   Anzahl der Prozesse
\l   Name der Shell (ttyp4)
\n  Neue Zeile
\r   Rücklauf
\s  Name der ausführbaren Shell (bash)
\t   Zeit 24-Std Format (23:01:01)
\T  Zeit 12-Std Format (11:01:01)
\@ Zeit 12-Std Format mit am/pm
\u  Benutzername
\v  Version der Bash
\V  Version der Bash mit patchlevel
\w  Aktueller Verzeichnispfad (/home/user1)
\W Aktuelles Verzeichnis (user1)
\!   Current command's position in the history buffer
\#  Command number
\$  User = "$",  Root = "#" Anzeige
\\	A Backslash
\[   Vor Farbsequenz für Zeichen
\]   Nach Nicht-Zeichen

scp with konqueror

Filed under: Linux — Jannis at 4:42 pm on Wednesday, November 15, 2006

The Konqueror has an integrated plugin to support scp file transfer.

Usage: fish://[user]@[host]:[port]

Using Screen

Filed under: Linux — Jannis at 2:29 pm on Wednesday, October 18, 2006

Scrolling back in Screen:

  • Ctrl-a, ESC [enter scroll mode]
  • scroll with arrow keys

http://gentoo-wiki.com/TIP_Using_screen

Search in screen:

  • Ctrl-a, ESC [scroll mode]
  • “/” = search downwards
  • “?” = search upwards
  • “n” = next

Linux-Befehle zur Ausgabe von Systeminformationen

Filed under: Linux — Jannis at 9:06 am on Tuesday, June 27, 2006

uname -a

Static linking libstdc++ under Linux

Filed under: Development,Linux — Jannis at 12:00 pm on Wednesday, June 7, 2006

I had a problem linking the libstdc++ staticly under Linux.

Here I found a solution.

To build a staticly linked binary use:

-static

To link the STL staticly use:

-static-libgcc -L.

and ad a symbolic Link to the local directory:

ln -s `g++ -print-file-name=libstdc++.a`

Deploy Qt applications under Linux/X11

Filed under: Development,Linux — Jannis at 5:11 pm on Monday, April 24, 2006

Qt Online Reference

./configure -release -static -fast -no-qt3support -no-nis -no-cups -no-xrandr -no-xcursor -no-xinerama -prefix <$QTDIR>

CDs und DVDs unter Linux brennen

Filed under: Linux — Jannis at 12:04 pm on Thursday, April 20, 2006

Um CDs und DVDs unter Linux zu brennen findet sich unter KDE das Programm k3b.

« Previous Page