Discussion:
[omniORB] "No implementation header file" error found in omnithread.h file
Ashish Bhatt
2007-10-31 14:51:34 UTC
Permalink
Hi All,

I am using the VC++ Win32 application in that I have created one project and
also I am including other project which omnithread.In this project I am
using omnithrread.h,nt.h and aslo nt.cpp.

Now I have included this omnithread.h to my other project's file like
#include "omnithread\omnithread.h" and it shows me the error like .......

fatal error C1189: #error : "No implementation header file"

So, I hope that this error comes from the omnithread.h file.You can check
this file from internet.

From:: http://pcatd12.cern.ch/doxygen/nightly/html/omnithread_8h-source.html
http://pcatd12.cern.ch/doxygen/nightly/html/omnithread_8h-source.html

Can anybody suggest me why this error comes??Is any other setting which I am
missing.?? Plz Reply me.

Thanks ,,
Ashish Bhatt
--
View this message in context: http://www.nabble.com/%22No-implementation-header-file%22-error-found-in-omnithread.h-file-tf4723803.html#a13505707
Sent from the OmniORB - User mailing list archive at Nabble.com.
Duncan Grisby
2007-11-01 14:14:55 UTC
Permalink
Post by Ashish Bhatt
Now I have included this omnithread.h to my other project's file like
#include "omnithread\omnithread.h" and it shows me the error like .......
fatal error C1189: #error : "No implementation header file"
You need to set the correct pre-processor defines. In your case, you
need to set __WIN32__

Surely that's obvious from the code around the #error directive?

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Ashish Bhatt
2007-11-01 14:45:31 UTC
Permalink
Thanks for Reply.

But as you told me to set the pre processor macro in the project setting I
have already tesetd that but error remains same. Is therre any other
solution?

Can tou tell me that Is this right that I have created one empty project int
the solution and in this new project(omnithread) I have added my downloaded
files(omnithread.h,nt.h,nt.cpp) and then I set this project's property to
static library.And also I have made my other project is dependent on this
omnithread project.And the error comes when the I include the header
(omnithread.h) in my other project's(withoout omnithread) file.

Can you suggest me anything??

Thanks.
Post by Duncan Grisby
Post by Ashish Bhatt
Now I have included this omnithread.h to my other project's file like
#include "omnithread\omnithread.h" and it shows me the error like .......
fatal error C1189: #error : "No implementation header file"
You need to set the correct pre-processor defines. In your case, you
need to set __WIN32__
Surely that's obvious from the code around the #error directive?
Duncan.
--
-- Duncan Grisby --
-- http://www.grisby.org --
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
--
View this message in context: http://www.nabble.com/%22No-implementation-header-file%22-error-found-in-omnithread.h-file-tf4723803.html#a13525677
Sent from the OmniORB - User mailing list archive at Nabble.com.
Loading...