Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6629 Discussions

Little problem about compiling with Eclipse

tamareu
Beginner
95 Views
Hello there,

I'm trying to compile a little project with Eclpise (a simple H264 Encoder), and I have a strange error. All along the source file, I have "vm_char wasn't declared in this scope", but the file vm_char is included within the include files (set up in C++ build settings). On top of that, in the main, the second argument is a vm_char*, and Eclipse sees it as a int* which is very strange, because the file vm_sting.h (defining the typedef vm_char) is included.
Is it my fault... or Eclipse messed the sh*t?
N.B: my code was compiling with a ./build.sh and a custom makefile modified form the ones you give in the ipp-samples.
Thanks,
Rodolphe Fouquet, Master 1 student in Computer science and robotics at Clermont-Ferrand II (France).
P.S:
Files included:

ipp*.h are all included,
umc_defs.h
umc_video_data.h
umc_h264_video_encoder.h
umc_structures.h
umc_video_encoder.h
umc_defs.h
umc_video_data.h
umc_h264_video_encoder.h
umc_structures.h
umc_video_encoder.h
0 Kudos
2 Replies
Chao_Y_Intel
Employee
95 Views

Hi,

In vm_strings.h head file, it needs to use predefintion 'LINUX32'. Did you add such predifintion in your project?

In the building bash file, the following predifintion were added for Linux:

-D LINUX32 -D __KERNEL_STRICT_NAME -D __KERNEL_STRICT_NAMES,

If you build a Intel 64 bit application, you also need to add:

-D LINUX64


Thanks,
Chao

Rodolphe_Fouquet
Beginner
95 Views
This is working, thanks!
(I'm Tamareu, this is just my account for the registered product).
I owe you one.
Reply