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 Jan 3 16:53:59 2010  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Wed Jan 6 21:34:25 2010, 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 Jan 3 16:53:59 2010, 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

Fredrik Ludvigsen <styggentorsken>


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

Attach File(s):

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 mp3butcher (Updated the item)
  • -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.


    Error: not logged in



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Jan 21 20:01:26 2015mp3butcherOpen/ClosedOpen=>Closed
    Sun Jan 3 16:53:59 2010styggentorskenCarbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup