View Single Post
  #6 (permalink)  
Old October 8th, 2005, 10:27 AM
inkognito inkognito is offline
Registered User
 
Join Date: Oct 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I get the same error as described by thread starter. I am using Mandriva (former Mandrake) and the "built in" C++ compiler g++ version 3.4.3.

The problem is the same; only the declaration of the Employee constructer is included in the EmployeeTest file, so it can't find the definition of the Employee constructor (which is in the Employee.cpp file. If I include this file in the EmployeeTest file instead of the header file, it works fine.).

So the question is, how do link the program properly with this c++ compiler?