Click here to Skip to main content
15,569,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in loading c run time library in Visual C++ Pin
enhzflep22-Sep-17 8:42
enhzflep22-Sep-17 8:42 
QuestionSyntax error Pin
Vaclav_21-Sep-17 16:28
Vaclav_21-Sep-17 16:28 
AnswerRe: Syntax error Pin
leon de boer21-Sep-17 17:28
leon de boer21-Sep-17 17:28 
GeneralRe: Syntax error Pin
Vaclav_21-Sep-17 18:02
Vaclav_21-Sep-17 18:02 
AnswerRe: Syntax error Pin
Richard MacCutchan21-Sep-17 22:08
mveRichard MacCutchan21-Sep-17 22:08 
GeneralRe: Syntax error Pin
Vaclav_22-Sep-17 8:00
Vaclav_22-Sep-17 8:00 
AnswerRe: Syntax error Pin
Richard MacCutchan22-Sep-17 8:04
mveRichard MacCutchan22-Sep-17 8:04 
AnswerRe: Syntax error Pin
jschell22-Sep-17 9:44
jschell22-Sep-17 9: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 22:33
mveRichard MacCutchan22-Sep-17 22:33 
GeneralRe: Syntax error Pin
Vaclav_24-Sep-17 5:42
Vaclav_24-Sep-17 5:42 
GeneralRe: Syntax error Pin
Richard MacCutchan24-Sep-17 6:14
mveRichard MacCutchan24-Sep-17 6:14 
GeneralRe: Syntax error Pin
jschell26-Sep-17 7:15
jschell26-Sep-17 7:15 
GeneralRe: Syntax error Pin
Vaclav_28-Sep-17 8:10
Vaclav_28-Sep-17 8:10 
Questionuser name in system service Pin
john563220-Sep-17 20:31
john563220-Sep-17 20:31 
AnswerRe: user name in system service Pin
Jochen Arndt20-Sep-17 22:25
professionalJochen Arndt20-Sep-17 22:25 
QuestionTCF Eclipse users please reply Pin
Vaclav_20-Sep-17 14:39
Vaclav_20-Sep-17 14:39 
AnswerRe: TCF Eclipse users please reply Pin
Richard MacCutchan20-Sep-17 22:31
mveRichard MacCutchan20-Sep-17 22:31 
GeneralRe: TCF Eclipse users please reply Pin
Vaclav_21-Sep-17 14:06
Vaclav_21-Sep-17 14:06 
GeneralRe: TCF Eclipse users please reply Pin
Richard MacCutchan21-Sep-17 22:00
mveRichard MacCutchan21-Sep-17 22:00 
QuestionDoubly Linked List Pin
kinderu17-Sep-17 0:17
kinderu17-Sep-17 0:17 
AnswerRe: Doubly Linked List Pin
Richard MacCutchan17-Sep-17 2:49
mveRichard MacCutchan17-Sep-17 2:49 
AnswerRe: Doubly Linked List Pin
leon de boer17-Sep-17 5:42
leon de boer17-Sep-17 5:42 
AnswerRe: Doubly Linked List Pin
Jochen Arndt17-Sep-17 22:45
professionalJochen Arndt17-Sep-17 22:45 
QuestionSolution access internet by proxy server c++ Pin
Con Cop Con13-Sep-17 20:22
Con Cop Con13-Sep-17 20:22 
AnswerRe: Solution access internet by proxy server c++ Pin
jschell18-Sep-17 13:32
jschell18-Sep-17 13: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.