new.h and _G_config.h?

I’ve been trying to port a C++ program to QNX, and can’t really seem to get past a few errors. I was able to get just about everything working, but now I’m getting these errors:

/usr/include/g+±3/libio.h:30: _G_config.h: No such file or directory
/usr/include/g+±3/stl_algobase.h:52: new.h: No such file or directory

I’ve looked, and sure enough, no such files, anywhere on my system. I’m in a fresh install of QNX 6.2 and have installed all development tools/libraries/etc that I could get, so I don’t understand how those seemingly basic files could be totally gone.

assuming you have 6.2NC, a quick “find” command shows the following.
if you don’t them, your installation is screwed.

btw, the compiler should be able to find those headers by itself. unfortunately, there is a bug in the specs for g++. until they fix it, you will have to use “QCC -Vgcc_ntox86_gpp” as your c++ compiler.

Well, I found them. :blush: Right where you said they’d be too. I wonder why I didn’t find them last night.

Thanks for telling me about the g++ problem though. 8)