Click here to Skip to main content
15,881,812 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in loading c run time library in Visual C++ Pin
enhzflep22-Sep-17 7:42
enhzflep22-Sep-17 7:42 
QuestionSyntax error Pin
Vaclav_21-Sep-17 15:28
Vaclav_21-Sep-17 15:28 
AnswerRe: Syntax error Pin
leon de boer21-Sep-17 16:28
leon de boer21-Sep-17 16:28 
GeneralRe: Syntax error Pin
Vaclav_21-Sep-17 17:02
Vaclav_21-Sep-17 17:02 
AnswerRe: Syntax error Pin
Richard MacCutchan21-Sep-17 21:08
mveRichard MacCutchan21-Sep-17 21:08 
GeneralRe: Syntax error Pin
Vaclav_22-Sep-17 7:00
Vaclav_22-Sep-17 7:00 
AnswerRe: Syntax error Pin
Richard MacCutchan22-Sep-17 7:04
mveRichard MacCutchan22-Sep-17 7:04 
AnswerRe: Syntax error Pin
jschell22-Sep-17 8:44
jschell22-Sep-17 8:44 
Vaclav_Sal wrote:
/home/vaclav/TEMPLATE_Cross_GCC_RPI: 1: /home/vaclav/TEMPLATE_Cross_GCC_RPI: Syntax error: "(" unexpected

I get it when I specify

"/home/vaclav/TEMPLATE_Cross_GCC_RPI"


My guess is that you are guessing. You are making one or more assumptions that are incorrect. Some examples.
1. The path that you think you are using (in dialog) is not the one that you are actually putting there.
2. Your code is doing something with the path, from the dialog, and it is that path, not the one in the dialog, that has the problem.


Solution.
1. Find the EXACT line where the error occurs.
2. BEFORE that line log/print the EXACT path that is being used. PUT delimiters around the value so you know exactly where it starts. Such as (pseudo) print '{' + val + '}'.

Take care with 2 that you do not make assumptions. For example if you pass to parameters to the failing line the log/print both of them, do not concatenate.
GeneralRe: Syntax error Pin
Richard MacCutchan22-Sep-17 21:33
mveRichard MacCutchan22-Sep-17 21:33 
GeneralRe: Syntax error Pin
Vaclav_24-Sep-17 4:42
Vaclav_24-Sep-17 4:42 
GeneralRe: Syntax error Pin
Richard MacCutchan24-Sep-17 5:14
mveRichard MacCutchan24-Sep-17 5:14 
GeneralRe: Syntax error Pin
jschell26-Sep-17 6:15
jschell26-Sep-17 6:15 
GeneralRe: Syntax error Pin
Vaclav_28-Sep-17 7:10
Vaclav_28-Sep-17 7:10 
Questionuser name in system service Pin
john563220-Sep-17 19:31
john563220-Sep-17 19:31 
AnswerRe: user name in system service Pin
Jochen Arndt20-Sep-17 21:25
professionalJochen Arndt20-Sep-17 21:25 
QuestionTCF Eclipse users please reply Pin
Vaclav_20-Sep-17 13:39
Vaclav_20-Sep-17 13:39 
AnswerRe: TCF Eclipse users please reply Pin
Richard MacCutchan20-Sep-17 21:31
mveRichard MacCutchan20-Sep-17 21:31 
GeneralRe: TCF Eclipse users please reply Pin
Vaclav_21-Sep-17 13:06
Vaclav_21-Sep-17 13:06 
GeneralRe: TCF Eclipse users please reply Pin
Richard MacCutchan21-Sep-17 21:00
mveRichard MacCutchan21-Sep-17 21:00 
QuestionDoubly Linked List Pin
kinderu16-Sep-17 23:17
kinderu16-Sep-17 23:17 
AnswerRe: Doubly Linked List Pin
Richard MacCutchan17-Sep-17 1:49
mveRichard MacCutchan17-Sep-17 1:49 
AnswerRe: Doubly Linked List Pin
leon de boer17-Sep-17 4:42
leon de boer17-Sep-17 4:42 
AnswerRe: Doubly Linked List Pin
Jochen Arndt17-Sep-17 21:45
professionalJochen Arndt17-Sep-17 21:45 
QuestionSolution access internet by proxy server c++ Pin
Con Cop Con13-Sep-17 19:22
Con Cop Con13-Sep-17 19:22 
AnswerRe: Solution access internet by proxy server c++ Pin
jschell18-Sep-17 12:32
jschell18-Sep-17 12:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.