theonlynexus / pixeltoaster

Automatically exported from code.google.com/p/pixeltoaster
0 stars 0 forks source link

broken Linux build #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On a linux box, check out a fresh copy of PixelToaster from the
repository (while writing this, the current version is revision 115):

svn checkout http://pixeltoaster.googlecode.com/svn/trunk/ pixeltoaster

2. try to build:

make -f makefile.linux 

What is the expected output? What do you see instead?

You'd expect it to build properly, instead we see:

g++   -L/usr/X11R6/lib -lX11 -lrt  ExampleFloatingPoint.cpp   -o
ExampleFloatingPoint
/tmp/cc8cB3AI.o(.gnu.linkonce.t._ZN12PixelToaster7DisplayC1EPKciiNS_6OutputENS_4
ModeE+0x41):
In function `PixelToaster::Display::Display[in-charge](char const*, int,
int, PixelToaster::Output, PixelToaster::Mode)':
: undefined reference to `PixelToaster::createDisplay()'
collect2: ld returned 1 exit status
make: *** [ExampleFloatingPoint] Error 1

Original issue reported on code.google.com by bram.deg...@gmail.com on 25 Jan 2007 at 11:20

GoogleCodeExporter commented 9 years ago
my mistake, you should just need to add PixelToaster.cpp to the command line 
along
with the current file

alternatively, upgrade it to build a lib again and link against that

i am lame.

-glenn

Original comment by glenn.fi...@gmail.com on 26 Jan 2007 at 12:59

GoogleCodeExporter commented 9 years ago
ok i fixed this, it was a wierd out of order thing with the gcc command line, i 
moved the PixelToaster.cpp on the 
line to the left before the -o ... part and it worked

cheers

Original comment by glenn.fi...@gmail.com on 27 Jan 2007 at 11:43

GoogleCodeExporter commented 9 years ago
Neat.  I was going to fix it myself, but I was too lazy =)

Original comment by bram.deg...@gmail.com on 29 Jan 2007 at 1:22