Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Code works in Qt Creator but not in eclipse
Code works in Qt Creator but not in eclipse [message #1142408] Thu, 17 October 2013 15:59 Go to next message
harsh deshpande is currently offline harsh deshpande
Messages: 2
Registered: October 2013
Junior Member
Hello people,

I am using Zbar library (this is not a library specific question)..
I worked with it in Qt Creator and works perfectly well.

Now when I simply #include <zbar.h> I get the following error :
'NULL' was not declared in this scope line 43, external location: /usr/local/include/zbar/Exception.h C/C++ Problem

the default argument for parameter 0 of 'zbar::Exception::Exception(const void*)' has not yet been parsed line 144, external location: /usr/local/include/zbar/Exception.h C/C++ Problem

What is the problem here? Do I need to provide any more information?

Regards
Harsh

Re: Code works in Qt Creator but not in eclipse [message #1143051 is a reply to message #1142408] Fri, 18 October 2013 01:22 Go to previous message
harsh deshpande is currently offline harsh deshpande
Messages: 2
Registered: October 2013
Junior Member
I am sorry about the confusion. It is not an Eclipse specific question. It's something to do with using C library in C++ project.

Previous Topic:Eclipse Project Preferences Sharing?
Next Topic:how to add library and library path programmatically
Goto Forum:
  


Current Time: Mon Oct 20 21:23:26 GMT 2014

Powered by FUDForum. Page generated in 0.02230 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software