bugCal3D - 3d character animation library - Bugs: bug #15045, Cally demo does not compile...

 
 
Show feedback again

bug #15045: Cally demo does not compile (HAVE_SDL_H not defined)

Submitted by:  Fredrik Ludvigsen <styggentorsken>
Submitted on:  Sun 03 Jan 2010 04:53:59 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 06 Jan 2010 09:34:25 PM UTC, comment #1:

The configure.in should check for SDL/SDL.h instead of SDL.h and tick.cpp should check for HAVE_SDL_SDL_H instead of HAVE_SDL_H. tick.cpp should of course include <SDL/SDL.h> instead of <SDL.h> and line 62 of tick.cpp should say return SDL_GetTicks(); instead of return GetTicks();

Fredrik Ludvigsen <styggentorsken>
Sun 03 Jan 2010 04:53:59 PM UTC, original submission:

I'm using the 0.11 version of cal3d and the cally demo.
The first problem is of course that #include <cstring> is missing a lot of places.
When this, and one #include <memory> is added, cal3d compiles.
The cally demo however, doesn't. The compile error is:
tick.cpp:144:5: error: #error "no timer implemented for your plateform"

This is because the macro HAVE_SDL_H was not defined at compile time. How do I fix this error?

The question has also been asked at stackoverflow.com
http://stackoverflow.com/questions/1995193/compiling-the-cal3d-demo-cally-3d-model-library-with-boned-animations

Fredrik Ludvigsen <styggentorsken>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by styggentorsken (Submitted the item)
  • -unavailable- added by styggentorsken
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 03 Jan 2010 04:53:59 PM UTCstyggentorskenCarbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup