Atmel Studio 6 Linker Error : collect2: ld [solved]

PaulS:
Does the code compile and link in the IDE?

Well, all I have is a bunch of cpp and h files. I don't know how to convert the to Arduino IDE format. The main file that has setup() and loop() is in a cpp file. Should I just copy paste that into a pde file and then just place the other classes in the same directory and somehow add them to the project?