Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Errors #15

Closed
dsimcha opened this issue Nov 11, 2011 · 4 comments
Closed

Build Errors #15

dsimcha opened this issue Nov 11, 2011 · 4 comments

Comments

@dsimcha
Copy link

dsimcha commented Nov 11, 2011

Using LLVM 2.9 and GCC 4.4.3, trying to build LDC2 trunk:

{{{
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp: In member function ‘bool ConfigFile::read(const char_, void_, const char*)’:
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:117: error: invalid use of incomplete type ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/./gen/configfile.h:9: error: forward declaration of ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:120: error: invalid use of incomplete type ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/./gen/configfile.h:9: error: forward declaration of ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:125: error: ‘Setting’ is not a member of ‘libconfig’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:125: error: ‘root’ was not declared in this scope
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:125: error: invalid use of incomplete type ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/./gen/configfile.h:9: error: forward declaration of ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:137: warning: ‘llvm::StringRef llvm::sys::Path::getDirname() const’ is deprecated (declared at /home/dsimcha/apps/include/llvm/Support/PathV1.h:283)
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:139: error: ‘Setting’ is not a member of ‘libconfig’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:139: error: ‘arr’ was not declared in this scope
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:139: error: invalid use of incomplete type ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/./gen/configfile.h:9: error: forward declaration of ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: expected type-specifier
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: expected unqualified-id before ‘&’ token
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: expected ‘)’ before ‘&’ token
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: expected ‘{’ before ‘&’ token
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: ‘fioe’ was not declared in this scope
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: expected ‘;’ before ‘)’ token
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:160: error: expected primary-expression before ‘catch’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:160: error: expected ‘;’ before ‘catch’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:166: error: expected primary-expression before ‘catch’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:166: error: expected ‘;’ before ‘catch’
}}}

@dnadlinger
Copy link
Member

I suppose you do have libconfig++ installed? Is the header file found?

@dsimcha
Copy link
Author

dsimcha commented Nov 11, 2011

Argh, sorry, that must be it. I didn't see the errors way back indicating that libconfig.h++ doesn't exist. Closing as invalid.

@dsimcha dsimcha closed this as completed Nov 11, 2011
@dnadlinger
Copy link
Member

CMake should have probably complained about it though, strange…

@dnadlinger
Copy link
Member

Since 714f15d, CMake now prints a message (I am not sure why the package isn't marked required, but there is probably a reason for that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants