File: errors.tex

package info (click to toggle)
faust 2.30.5~ds0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 279,348 kB
  • sloc: cpp: 239,368; javascript: 32,310; ansic: 17,442; sh: 11,925; java: 5,903; objc: 3,879; makefile: 3,030; cs: 1,139; python: 987; ruby: 951; xml: 693; yacc: 537; lex: 239; lisp: 201; awk: 110
file content (57 lines) | stat: -rw-r--r-- 2,338 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
\chapter{Common Error Messages}
\label{chap:errors}
Compiling can fail. Here are some common mistakes and how to solve them.
\section{The command does not output anything}
If, after typing your command followed by a file name, your terminal does not output anything like \lstinline'myfile.zip;' or \lstinline'myfile.cpp;' and returns only a blank line, make sure \textbf{you are in the correct directory or you entered the correct path to reach the DSP file.} 

\section{No such file or directory}
If you used the \lstinline'-install' option, make sure you typed the complete workspace path.
For instance, instead of typing this :
\begin{lstlisting}
faust2ros -install myworkspace ~/path/to/myfile.dsp
\end{lstlisting}
you should type :
\begin{lstlisting}
faust2ros -install path/to/myworkspace ~/path/to/myfile.dsp
\end{lstlisting}

%\section{Fatal error during \lstinline'catkin_make' operation}
%Once your DSP file compiled into a cpp file, if you try to compile it into a \ros executable, the terminal might output :
%\begin{lstlisting}
%fatal error: faust_msgs/faust_param.h: No such file or directory
%\end{lstlisting}
%\newpage
%You have two possibilities :
%
%\begin{itemize}[leftmargin=*]
%	\item If your workspace is only a test workspace, then type :
%	\begin{lstlisting}
%source path/to/myworkspace/devel/setup.bash
%	\end{lstlisting}
%	in your terminal.
%	\item If your workspace is going to be your current \ros workspace, you can add it to the source directories :
%	\begin{lstlisting}
%echo "source path/to/myworkspace/devel/setup.bash" >> ~/.bashrc 
%	\end{lstlisting}
%\end{itemize}

\section{[rosrun] error}
\label{sec:rosrun error}
If, while trying to run a \faust node (called \textit{myname}), an error message showed up saying :

\begin{lstlisting}
[rosrun] Couldn't find executable named myname below /path/to/myworkspace/src/myname
\end{lstlisting}

Then you have to source your workspace :
\begin{itemize}[leftmargin=*]
	\item If your workspace is only a test workspace, then type :
	\begin{lstlisting}
source path/to/myworkspace/devel/setup.bash
	\end{lstlisting}
	in your terminal.
	\item If your workspace is going to be your current \ros workspace, you can add it to the source directories :
	\begin{lstlisting}
echo "source path/to/myworkspace/devel/setup.bash" >> ~/.bashrc 
	\end{lstlisting}
\end{itemize}