Menu

#33 Doesn't compile in Linux

v1.0_(example)
closed
nobody
None
1
2018-06-04
2017-12-03
Anonymous
No

I have a patch that allows it to compile in Linux again. There were a couple of issues - one is a file was renamed to something win32 specific for the GL renderer and the waf build files didn't reflect this change. The other is that an include that declares a variable as an extern is pulled in to the same place it is actually declared as static. I just used a preprocessor hack to fix this. I also modified the r_math.c engine to leverage sincosf for platforms that had it and to use the single precision floating point versions of sin & cos (sinf, cosf) rather the double precesion ones.

1 Attachments

Discussion

  • Adam Stylinski

    Adam Stylinski - 2017-12-03

    Sorry, this was my patch, didn't mean to submit it anonymously.

     
    • Kirk Barnes

      Kirk Barnes - 2018-02-08

      fix-fix-fix

       
  • Kirk Barnes

    Kirk Barnes - 2018-06-04
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB