makefile and font bugs (updated)

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
digfarenough
Posts: 39
Joined: Sat Oct 30, 2004 4:35 pm
Location: Boston, MA
Contact:

makefile and font bugs (updated)

Post by digfarenough »

hey all, long time no post (been busy)

in Irrlicht 1.3 I believe there's a problem with the Makefile

line 51 says:
LIB_PATH = ../../lib/$(SYSTEM)

lines 76 to 78 say:
# Copies static lib into /lib/Linux
staticlib: $(STATIC_LIB)
cp $^ $(LIB_PATH)

which means that, after compilation, libIrrlicht.a is renamed to be whatever $(SYSTEM) is, because LIB_PATH doesn't end in a "/".. that's an easy enough fix, though -- or you could say cp $^ $(LIB_PATH)/$(STATIC_LIB), either one should work (maybe already fixed? haven't seen others complaining about it)

also, CGUIEnvironment.getFont() calls f.Filename.make_lower(); on line 1100. That's a problem for Linux where filenames are case sensitive. Commenting that line out solves problems caused by that.

I'm also having some issues with BURNINGSVIDEO and diffuse colors on materials, but I'll get to those later.. :)

UPDATE: the Makefile bug doesn't seem to occur in the latest SVN code.. I wonder if, in the office 1.3 release zip, there simply wasn't a /lib/Linux directory: that would cause the problem I ran into.. anyhow: don't need to worry about that one
the font filename being converted to lower case is still there in the most recent version, though
Post Reply