| 
				   | 
				
| (6 intermediate revisions by 2 users not shown) | 
| Line 4: | 
Line 4: | 
 | We'll need fmod and SDL.  |  | We'll need fmod and SDL.  | 
 | 
  |  | 
  | 
 | [[Terminus SDL and fmod under linux]]  |  | [[Terminus SDL and fmod under linux]] (done)  | 
 | 
  |  | 
  | 
 | [[Terminus autotools setup]]  |  | [[Terminus autotools setup]] (done)  | 
 | 
  |  | 
  | 
 | <font style="color:green">
  |  | [[Terminus Making the code portable to linux]] (done)  | 
 |  world/bullet.hpp:23: error: type specifier omitted for parameter `szBullet'
  |  | 
 | 
  |  | 
  | 
 | To me this looks like it is not finding the Sint32 type in SDL_types.h?
  |  | Go to [http://soloforge.com Soloforge] for the latest updates!  | 
 | Either that or it is not finding my util/graph.h?
  |  | 
 | </font>
  |  | 
 |    |  | 
 | <font style="color:blue">
  |  | 
 | But hey, on the positive side, main.cpp and config.cpp have successfully compiled!  :>  
  |  | 
 |    |  | 
 | Compiling craftselect.cpp... here's the full first error:
  |  | 
 |    |  | 
 |  In file included from world/weapon.hpp:8,
  |  | 
 |                   from world/craft.hpp:11,
  |  | 
 |                   from craftselect.hpp:9,
  |  | 
 |                   from craftselect.cpp:5:
  |  | 
 |  world/bullet.hpp:23: error: type specifier omitted for parameter `szBullet'
  |  | 
 |  world/bullet.hpp: In member function `TeRect TeBullet::getBoundRect()':
  |  | 
 |  world/bullet.hpp:236: error: request for member `CenteredAt' in `rclBullet',
  |  | 
 |     which is of non-aggregate type `const TeRect ()(TePoint (*)())'
  |  | 
 |    |  | 
 | "non-aggregate" apparently means the compiler doesn't think the return value from CenteredAt is a class or struct.  
  |  | 
 | It looks fine to me:
  |  | 
 |    |  | 
 |  TeRect CenteredAt( TePoint pt ) const;
  |  | 
 |    |  | 
 | Lemme sleep on it, I'll give you an answer in the morning...
  |  | 
 | </font>
  |  | 
 |    |  | 
 | <font style="color:green">
  |  | 
 | I emailed you the entire makefile generated by Dev-Cpp.
  |  | 
 |    |  | 
 | Here is the portion that applies to craftselect.cpp:
  |  | 
 |    |  | 
 |  craftselect.o: craftselect.cpp craftselect.hpp util/gui.hpp
  |  | 
 |   util/graph.hpp util/fixmath.hpp util/text.hpp  util/image.hpp   
  |  | 
 |   util/element.hpp util/../system.hpp util/../util/log.hpp   util/../util/graph.hpp util/../config.hpp
  |  | 
 |   util/../xml/xmlutils.h   util/../xml/tinyxml.h util/../profile.hpp util/../util/audio.hpp
  |  | 
 |   util/../util/graph.hpp util/../xml/xmlutils.h util/blit.hpp   world/craft.hpp world/../gamedef.hpp
  |  | 
 |   world/../util/image.hpp   world/../util/smoke.hpp world/../util/element.hpp   world/../util/body.hpp
  |  | 
 |   world/../util/../system.hpp   world/../util/graph.hpp world/../util/fixmath.hpp world/weapon.hpp
  |  | 
 |   world/bullet.hpp world/../util/anim.hpp world/../util/blit.hpp   world/../util/audio.hpp
  |  | 
 |   world/../util/exhaust.hpp   world/../util/smoke.hpp world/../util/../gamedef.hpp
  |  | 
 |   world/../xml/xmlutils.h world/target.hpp world/../util/log.hpp   gamesys.hpp system.hpp
  |  | 
 |   game.hpp scene.hpp util/text.hpp   util/element.hpp mainmenu.hpp results.hpp world/capital.hpp
  |  | 
 |   world/block.hpp world/../util/body.hpp world/target.hpp   util/message.hpp world/event.hpp
  |  | 
 |   world/../util/graph.hpp $(CPP) -c craftselect.cpp -o craftselect.o $(CXXFLAGS)
  |  | 
 |   
  |  | 
 | where
  |  | 
 |    |  | 
 |  CPP  = g++.exe -D__DEBUG__
  |  | 
 |  CXXFLAGS = $(CXXINCS)   -fexceptions -g3
  |  | 
 |  CXXINCS = 
  |  | 
 |    |  | 
 | </font>
  |  | 
 |    |  | 
 | <font style="color:blue">
  |  | 
 | I'm thinking it's a [const] issue... checking...
  |  | 
 | </font>
  |  |