Opened 12 years ago

Closed 11 years ago

#226 closed enhancement (fixed)

Install BrookGPU

Reported by: lemanal Owned by: skylar
Priority: trivial Milestone: Software installation
Component: Both Version:
Keywords: Cc:
Blocked By: Blocking:
Estimated Hours: 0 Total Hours: 1.25

Change History (13)

comment:1 Changed 12 years ago by skylar

  • Owner changed from somebody to skylar
  • Status changed from new to assigned

comment:2 Changed 12 years ago by skylar

splittree.cpp needs "#include <limits.h>"

more errors follow:

splitnode.h: In member function 'virtual void FunctionCallSplitNode::printTemporaryExpression(std::ostream&)': splitnode.h:191: error: 'typedef class std::vector<SplitNode?*, std::allocator<SplitNode?*> > SplitNode::NodeList?' is private splitnode.cpp:631: error: within this context splitnode.h: In member function 'virtual void FunctionCallSplitNode::printExpression(std::ostream&)': splitnode.h:191: error: 'typedef class std::vector<SplitNode?*, std::allocator<SplitNode?*> > SplitNode::NodeList?' is private splitnode.cpp:643: error: within this context

comment:3 Changed 12 years ago by skylar

  • Owner skylar deleted
  • Priority changed from major to trivial
  • Status changed from assigned to new

comment:4 Changed 11 years ago by skylar

  • Estimated Hours set to 0
  • Owner set to skylar
  • Status changed from new to assigned

also need to include strings.h in gram.cpp

comment:5 Changed 11 years ago by skylar

actually string.h, and also in gram.y

comment:6 Changed 11 years ago by skylar

and in ps2arb_gram.y

comment:7 Changed 11 years ago by skylar

and in ./runtime/cpu/cpustream.cpp

comment:8 Changed 11 years ago by skylar

$ make runtime cpustream.cpp In file included from ../../include/brook/brt.hpp:22,

from ../runtime.hpp:5, from cpu.hpp:4, from cpustream.cpp:8:

../../include/brook/brtvector.hpp:125: error: explicit template specialization cannot have a storage class ../../include/brook/brtvector.hpp:126: error: explicit template specialization cannot have a storage class ../../include/brook/brtvector.hpp:127: error: explicit template specialization cannot have a storage class ../../include/brook/brtvector.hpp:128: error: explicit template specialization cannot have a storage class ../../include/brook/brtvector.hpp:129: error: explicit template specialization cannot have a storage class ../../include/brook/brtvector.hpp:130: error: explicit template specialization cannot have a storage class

This is easily solved by removing "static" on line 125 of brtvector.hpp.

comment:9 Changed 11 years ago by skylar

here's the pattern:

  1. Wherever you see an INT_MAX error, include limits.h.
  2. Wherever you see errors about memcmp or strdup, include string.h.

comment:10 Changed 11 years ago by skylar

probably ought to add those headers to every .cpp file

comment:11 Changed 11 years ago by skylar

seems to work better with gcc 3.4

comment:12 Changed 11 years ago by skylar

got a build that might work by doing "make -i"

comment:13 Changed 11 years ago by skylar

  • Component set to Both
  • Resolution set to fixed
  • Status changed from assigned to closed

gave it a month, nobody wants it I guess

Note: See TracTickets for help on using tickets.