Other Parts Discussed in Thread: TMS320C6678
Hi,
my Name is Samed Topal an i have a problem using OpenMP with CCS V5. I have a simple Hello World project and i want to test OpenMP. My EVM is the TMS320C6678. I get this errors:
#10010 errors encountered during linking: OpenMP_V1.out not built
#10234-D unresolved symbols remain
unresolved symbol omp_get_num_threads, first refereced in ./main.obj
unresolved symbol omp_get_thread_num, first referenced in ./main.obj
- compiler version TI v8.1.0
Here my simple code:
#include <stdio.h>
#include <omp.h>
int main(void)
{
int nthreads, tid;
// Fork a team of threads giving them their own copies of variables
#pragma omp parallel private(nthreads, tid)
{
// Obtain thread number
tid = omp_get_thread_num();
printf("Hello World from thread = %d\n", tid);
// Only master thread does this
if (tid == 0)
{
nthreads = omp_get_num_threads();
printf("Number of threads = %d\n", nthreads);
}
} // All threads join master thread and disband
}
what is wrong? Without using OpenMP, a simple Hello World with printf works.

