- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
i am a newbie. i have just installed ipp and i try to run Allocating, initializing, and copying an image: Copy.cpp example on linux. i found that it has to be included tools.h which include "window.h". when i include tools.h and tools.cpp i got many errors. is that code only for window os? how can i run it on linux?
Thanks all,
Ann
i am a newbie. i have just installed ipp and i try to run Allocating, initializing, and copying an image: Copy.cpp example on linux. i found that it has to be included tools.h which include "window.h". when i include tools.h and tools.cpp i got many errors. is that code only for window os? how can i run it on linux?
Thanks all,
Ann
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ann,
you just need to replace theipView function withsome other from Linux libraries - ipView is not IPP function and is used just for demo purposes. The purpose of this Copy.cpp is just to show how to call IPP functions, not how to display an image.
Regards,
Igor
you just need to replace theipView function withsome other from Linux libraries - ipView is not IPP function and is used just for demo purposes. The purpose of this Copy.cpp is just to show how to call IPP functions, not how to display an image.
Regards,
Igor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting anniekookkai
Dear all,
i am a newbie. i have just installed ipp and i try to run Allocating, initializing, and copying an image: Copy.cpp example on linux. i found that it has to be included tools.h which include "window.h". when i include tools.h and tools.cpp i got many errors. is that code only for window os?
[SergeyK] If it has #include "windows.h"statementan example isfor a Windows platform.
how can i run it on linux?
[SergeyK] No, this is for a Windows platform...
i am a newbie. i have just installed ipp and i try to run Allocating, initializing, and copying an image: Copy.cpp example on linux. i found that it has to be included tools.h which include "window.h". when i include tools.h and tools.cpp i got many errors. is that code only for window os?
[SergeyK] If it has #include "windows.h"statementan example isfor a Windows platform.
how can i run it on linux?
[SergeyK] No, this is for a Windows platform...
because 'stdafx.h' is used by a MicrosoftVisual C++ compiler to create a precompiled header file ( PCH ).
< from Copy.cpp >
...
#include "stdafx.h"
#include "ipp.h"
#include "tools.h"
...
Best regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you so much
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page