Click here to Skip to main content
15,879,326 members
Home / Discussions / Linux Programming
   

Linux Programming

 
GeneralRe: Linking to library Pin
k50544-Mar-19 12:45
mvek50544-Mar-19 12:45 
GeneralRe: Linking to library Pin
Richard MacCutchan4-Mar-19 21:44
mveRichard MacCutchan4-Mar-19 21:44 
QuestionSOLVED system call syntax ? Pin
Vaclav_7-Feb-19 6:40
Vaclav_7-Feb-19 6:40 
AnswerRe: system call syntax ? Pin
k50547-Feb-19 8:02
mvek50547-Feb-19 8:02 
GeneralRe: system call syntax ? Pin
Vaclav_7-Feb-19 10:23
Vaclav_7-Feb-19 10:23 
GeneralRe: system call syntax ? Pin
k50547-Feb-19 11:20
mvek50547-Feb-19 11:20 
AnswerRe: system call syntax ? Pin
Richard MacCutchan7-Feb-19 22:26
mveRichard MacCutchan7-Feb-19 22:26 
GeneralRe: system call syntax ? Pin
Vaclav_8-Feb-19 3:23
Vaclav_8-Feb-19 3:23 
C++
int main() {
#ifdef STEP
	cout << "Project VNAR-19270 VNA-1023 (6 base) Vector network analyzer" << endl; 
	cout << "DEBUG ****RUNNING WORKING COPY of VNA_2 " << endl; 
	//exit(1);
#endif



	// Get the number of processors in this system
	int iCPU = 0;
	iCPU = system ("omp_get_num_procs");
	cout << "# of CPU's " << dec << +iCPU << endl;
	exit(1);



Now returns omp_get_num_procs not found.
I think the problem is also in crosscompiler settings.
Also the "remote AKA RPi" OS has no OpenMP installed.
I need to check that.

I was just looking for an advise if my syntax is OK.
GeneralRe: system call syntax ? Pin
Richard MacCutchan8-Feb-19 4:56
mveRichard MacCutchan8-Feb-19 4:56 
GeneralRe: system call syntax ? Pin
k50548-Feb-19 5:23
mvek50548-Feb-19 5:23 
GeneralRe: system call syntax ? Pin
Richard MacCutchan8-Feb-19 5:53
mveRichard MacCutchan8-Feb-19 5:53 
GeneralRe: system call syntax ? Pin
Vaclav_8-Feb-19 9:42
Vaclav_8-Feb-19 9:42 
GeneralRe: system call syntax ? Pin
k50548-Feb-19 10:03
mvek50548-Feb-19 10:03 
GeneralRe: system call syntax ? Pin
Vaclav_8-Feb-19 14:37
Vaclav_8-Feb-19 14:37 
GeneralRe: system call syntax ? Pin
Richard MacCutchan8-Feb-19 22:27
mveRichard MacCutchan8-Feb-19 22:27 
Questionfrom "ls" to C++ buffer? Pin
Vaclav_15-Jan-19 4:03
Vaclav_15-Jan-19 4:03 
AnswerRe: from "ls" to C++ buffer? Pin
k505415-Jan-19 6:02
mvek505415-Jan-19 6:02 
GeneralRe: from "ls" to C++ buffer? Pin
Vaclav_15-Jan-19 9:10
Vaclav_15-Jan-19 9:10 
GeneralRe: from "ls" to C++ buffer? Pin
k505415-Jan-19 20:37
mvek505415-Jan-19 20:37 
AnswerRe: from "ls" to C++ buffer? Pin
Vaclav_15-Jan-19 14:30
Vaclav_15-Jan-19 14:30 
GeneralRe: from "ls" to C++ buffer? Pin
Richard MacCutchan15-Jan-19 21:24
mveRichard MacCutchan15-Jan-19 21:24 
GeneralRe: from "ls" to C++ buffer? Pin
Vaclav_16-Jan-19 7:05
Vaclav_16-Jan-19 7:05 
GeneralRe: from "ls" to C++ buffer? Pin
Richard MacCutchan16-Jan-19 8:20
mveRichard MacCutchan16-Jan-19 8:20 
GeneralRe: from "ls" to C++ buffer? Pin
Vaclav_16-Jan-19 15:03
Vaclav_16-Jan-19 15:03 
Questionioctl - from code to hardware Pin
Vaclav_3-Jan-19 4:41
Vaclav_3-Jan-19 4:41 

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.