File: AppCSXCAD.sh

package info (click to toggle)
openems 0.0.35%2Bdfsg.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,288 kB
  • sloc: cpp: 40,259; yacc: 580; lex: 350; makefile: 258; sh: 169; ruby: 19
file content (15 lines) | stat: -rwxr-xr-x 430 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

BIN_PATH=`dirname $0`

# unset the library search path
# Matlab sets it to point to an old libc
export LD_LIBRARY_PATH=

# Important! If you get a vtk error like this:
# ERROR: In /builddir/build/BUILD/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
# vtkXOpenGLRenderWindow (0xbe2980): Could not find a decent visual
# you need to uncomment the next line:
# export LIBGL_ALWAYS_INDIRECT=y

$BIN_PATH/AppCSXCAD $@