bugGNU Kart - Bugs: bug #47047, Compile Error - 'rpow' was not...


bug #47047: Compile Error - 'rpow' was not declared in this scope

Submitted by:  David Benoit <benoid64>
Submitted on:  Tue 02 Feb 2016 09:43:06 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  sebastien diaz <sebdiaz>
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

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


Tue 02 Feb 2016 09:43:06 PM UTC, original submission:  
  • Expected Result: Program compiles without errors
  • Actual result: recieved the error:

g++ -DHAVE_CONFIG_H -I.  -DDATADIR='"/usr/local/share/gnukart"'     -MT Particle.o -MD -MP -MF .deps/Particle.Tpo -c -o Particle.o Particle.cpp
Particle.cpp: In member function ‘void Particle::integrate(real)’:
Particle.cpp:32:30: error: ‘rpow’ was not declared in this scope
   velocity *= rpow(damp, time);
Makefile:688: recipe for target 'Particle.o' failed
make[1]: *** [Particle.o] Error 1

  • Steps to reproduce

   1) cd to project dir
   2) execute configure script
   3) make
   4) error occurs

  • Steps to fix

  1) change line 32 of src/Particle.cpp from:
       velocity *= rpow(damp, time);
       velocity *= pow(damp, time);
  2) Program compiles and seems to run fine

David Benoit <benoid64>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by benoid64 (Submitted the item)
  • -email is unavailable- added by benoid64

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

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-06-23 sebdiaz StatusIn Progress => Fixed
    2017-06-23 sebdiaz StatusNone => In Progress
        Assigned toNone => sebdiaz
    2016-02-02 benoid64 Carbon-Copy- => Added benoid64

    Back to the top

    Powered by Savane 3.5