Error compiling r494 with Linux Mint 18

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Error compiling r494 with Linux Mint 18

Postby Shoegazer » Sun Oct 16, 2016 1:18 pm

Hello, I'm having difficulties compiling r494 with Linux Mint 18/GCC6. I've tried GCC4.6 and GCC5 as well, with similar unsuccessful results. I've pasted the relevant bits from the compile below. Bart, can you (or anyone) help please?

Thanks...

Code: Select all
Logger.o obj/Format.o -o bin/Supermodel `sdl-config --libs` -lGL -lGLU -lz -lm -lstdc++
obj/New3D.o: In function `New3D::CNew3D::~CNew3D()':
New3D.cpp:(.text+0x160): undefined reference to `New3D::R3DScrollFog::~R3DScrollFog()'
obj/New3D.o: In function `New3D::CNew3D::CNew3D()':
New3D.cpp:(.text+0x249b): undefined reference to `New3D::R3DScrollFog::R3DScrollFog()'
obj/New3D.o: In function `New3D::CNew3D::RenderFrame()':
New3D.cpp:(.text+0x5bf8): undefined reference to `New3D::R3DScrollFog::DrawScrollFog(float, float, float, float)'
obj/New3D.o: In function `New3D::CNew3D::DrawScrollFog()':
New3D.cpp:(.text+0x8a0): undefined reference to `New3D::R3DScrollFog::DrawScrollFog(float, float, float, float)'
collect2: error: ld returned 1 exit status
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 1
Shoegazer
 
Posts: 9
Joined: Fri Oct 14, 2016 5:51 pm

Re: Error compiling r494 with Linux Mint 18

Postby Bart » Sun Oct 16, 2016 7:16 pm

You'll have to edit the Makefile and add the new file to the object list somewhere: $(OBJ_DIR)/R3DScrollFog.o
User avatar
Bart
Site Admin
 
Posts: 2038
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Error compiling r494 with Linux Mint 18

Postby Shoegazer » Mon Oct 17, 2016 8:55 am

Thanks, Bart! That worked just fine.
Shoegazer
 
Posts: 9
Joined: Fri Oct 14, 2016 5:51 pm


Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 2 guests