We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,530 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

cstddef error: no such file or directory??

I'm using a MinGW compiler. Anyone know how to fix this error. I found something on the web where the flag should have a macro such as CXX_HAS_CSTDDEF but this is for a different compiler. What should I use for MingW is this is the problem? Is this common??

In file included from C:\podofo-0.9.1\src/base/PdfDefines.h:31,
                 from C:\podofo-0.9.1\src\doc\podofo-doc.rc:2:
C:\podofo-0.9.1\src/base/PdfCompilerCompat.h:37:21: error: cstddef: No such file
 or directory
1
Contributor
2
Replies
5 Days
Discussion Span
6 Months Ago
Last Updated
3
Views
Question
Answered
danny2000
Junior Poster
186 posts since Dec 2007
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I can see the file cstddef in the directory C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++.

Still it's telling me it's not there?????

danny2000
Junior Poster
186 posts since Dec 2007
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This error is due to a bug in later versions of CMAKE I've since doscovered (with help from others on this forum). I was using CMAKE 2.8.9 and have now switched back to CMAKE 2.8.3 . This error no longer comes up and the software I'm trying to build, now builds to 100%.

danny2000
Junior Poster
186 posts since Dec 2007
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Question Self-Answered as of 6 Months Ago

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0603 seconds using 2.68MB