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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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 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 benoid64 (Submitted the item)
  • -unavailable- added by benoid64

    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):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 23 Jun 2017 07:53:38 PM UTCsebdiazStatusIn Progress=>Fixed
    Fri 23 Jun 2017 07:52:10 PM UTCsebdiazStatusNone=>In Progress
      Assigned toNone=>sebdiaz
    Tue 02 Feb 2016 09:43:06 PM UTCbenoid64Carbon-Copy-=>Added benoid64

    Back to the top

    Powered by Savane 3.1-cleanup1