Results 1 to 3 of 3
Hi there,
I am compiling checkIn.cpp using g++ and it's giving following error. Pls help..
checkin.cpp:5:18: error: stdlib: No such file or directory
checkin.cpp: In function 'int main()':
checkin.cpp:10: error: ...
- 11-18-2009 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 1
compiling checkIn.cpp
Hi there,
I am compiling checkIn.cpp using g++ and it's giving following error. Pls help..
checkin.cpp:5:18: error: stdlib: No such file or directory
checkin.cpp: In function 'int main()':
checkin.cpp:10: error: 'queue' was not declared in this scope
checkin.cpp:10: error: 'string' was not declared in this scope
checkin.cpp:10: error: 'q' was not declared in this scope
checkin.cpp:14: error: 'ifstream' was not declared in this scope
checkin.cpp:14: error: expected `;' before 'fin'
checkin.cpp:16: error: 'fin' was not declared in this scope
checkin.cpp:19: error: 'cout' was not declared in this scope
checkin.cpp:19: error: 'endl' was not declared in this scope
checkin.cpp:41: error: 'cout' was not declared in this scope
checkin.cpp:46: error: 'cout' was not declared in this scope
checkin.cpp:51: error: 'cout' was not declared in this scope
checkin.cpp:58: error: 'cout' was not declared in this scope
checkin.cpp:63: error: 'cout' was not declared in this scope
checkin.cpp:66: error: 'endl' was not declared in this scope
checkin.cpp:72: error: 'endl' was not declared in this scope
checkin.cpp:78: error: 'endl' was not declared in this scope
- 11-18-2009 #2
i don't know what this file is, but you don't have everything you need to compile from source installed, what distro and version are you using?
- 11-18-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Please show the source for checkin.cpp and the command line you were using to compile it.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote