Ticket #5 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Build fails under 32-bit Ubuntu 9.10

Reported by: Carsten Owned by:
Priority: normal Milestone:
Component: build system Version: svn-head
Keywords: Ubuntu 9.10, 32-bit, RendererCgARB1 Cc:
Platform: Linux: Ubuntu

Description

As described at http://www.cafu.de/forum/viewtopic.php?f=6&t=699:

g++ -o Libs/build/linux2/g++/debug/MaterialSystem/RendererCgARB1/RendererImpl.os -c -g -funsigned-char -Wall -Werror -Wno-char-subscripts -fPIC -DDEBUG -DSCONS_BUILD_DIR=build/linux2/g++/debug -ILibs -IExtLibs -IExtLibs/Cg/include Libs/MaterialSystem/RendererCgARB1/RendererImpl.cpp
Libs/MaterialSystem/RendererCgARB1/RendererImpl.cpp: In member function 'virtual void RendererImplT::BeginFrame(double)':
Libs/MaterialSystem/RendererCgARB1/RendererImpl.cpp:456: error: 'printf' was not declared in this scope

This is easily fixed, see attached patch, I'm just waiting for the reporters confirmation.

Attachments

fix.patch Download (404 bytes) - added by Carsten 2 years ago.

Change History

Changed 2 years ago by Carsten

Changed 2 years ago by Carsten

  • status changed from new to closed
  • resolution set to fixed

(In [42]) Applied the patch for the issue described at <http://www.cafu.de/forum/viewtopic.php?f=6&t=699>.
Fixes #5.

Note: See TracTickets for help on using tickets.