g++ -Wall -o "driver" "driver.cpp" (in directory: /home/poonam)
/tmp/ccG9DCjy.o: In function `main':
driver.cpp:(.text+0x88): undefined reference to `Employee::setName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
driver.cpp:(.text+0xf5): undefined reference to `Employee::setHours(double)'
driver.cpp:(.text+0x154): undefined reference to `Employee::setRate(double)'
driver.cpp:(.text+0x1be): undefined reference to `Employee::getName[abi:cxx11]()'
driver.cpp:(.text+0x1eb): undefined reference to `Employee::getPay()'
collect2: error: ld returned 1 exit status
Compilation failed.
It's not compiling the employee.cpp file for some reason. Have you tried creating a "project" and added all the files to the same project? I also use Geany but I haven't tried to use the project feature in a very long time so I don't remember if you had to do anything special to make it work correctly. Things might have changed since then anyway.