I have slimmed down everything to barebones and still getting the same errors. I now have just my constructor and still got an error: main.cpp:7: undefined reference to `MyThing::MyThing ()'
Any help would be much appreciated. My code:
MyThing.h
#ifndef MYTHING_H
#define MYTHING_H
class MyThing
{
public:
MyThing();
};
#endif
MyThing.cpp
#include "MyThing.h"
using namespace std;
MyThing::MyThing(){}
main.cpp
#include <iostream>
#include "MyThing.h"
using namespace std;
int main()
{
MyThing lt;
return 0;
}