Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [solved] Make file problem - rather than revive an old topic.  (Read 1219 times)

0 Members and 1 Guest are viewing this topic.

lehthanis

  • Newbie
  • *
  • Posts: 6
    • View Profile
[solved] Make file problem - rather than revive an old topic.
« on: August 08, 2017, 07:38:30 pm »
I was looking at this topic to build a makefile: https://en.sfml-dev.org/forums/index.php?topic=9037.0

roarbug's reply was very helpful, and got me pretty far in...but what I'm getting now is that my .o files are not recognized. specifically the error is:

PCSBSocket.o: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Makefile: 13: recipe for target 'emcserv' failed

I'm getting .o files for all of my various pieces, but the compiler isn't able to put them all together...I think it has something to do with precompiled headers and I maybe shouldn't be doing it that way?
« Last Edit: August 08, 2017, 08:25:42 pm by lehthanis »

lehthanis

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Make file problem - rather than revive an old topic.
« Reply #1 on: August 08, 2017, 08:25:15 pm »
Solved, you can close this.