Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build problem on debian unstable #2

Open
alexmyczko opened this issue Dec 20, 2018 · 8 comments
Open

build problem on debian unstable #2

alexmyczko opened this issue Dec 20, 2018 · 8 comments

Comments

@alexmyczko
Copy link

[ 30%] Building CXX object CMakeFiles/RType_Server.dir/systems/Friction2DSystem.cpp.o
/var/www/debian/r-type/R-Type-master/systems/Friction2DSystem.cpp: In member function ‘float Friction2DSystem::applyFriction(float, float, float)’:
/var/www/debian/r-type/R-Type-master/systems/Friction2DSystem.cpp:37:22: error: ‘expf’ was not declared in this scope
   return (oldSpeed * expf(-friction * delta));
                      ^~~~
/var/www/debian/r-type/R-Type-master/systems/Friction2DSystem.cpp:37:22: note: suggested alternative: ‘exit’
   return (oldSpeed * expf(-friction * delta));
                      ^~~~
                      exit
make[2]: *** [CMakeFiles/RType_Server.dir/build.make:609: CMakeFiles/RType_Server.dir/systems/Friction2DSystem.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:75: CMakeFiles/RType_Server.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
@deb0ch
Copy link
Owner

deb0ch commented Dec 20, 2018

I haven't built the project in a hundred years, but since my vacation begins tonight I will take a look into it soon 😸

We should definitely have written a decent README for this project

@alexmyczko
Copy link
Author

if you manage it to get it built, i will manage to get it in debian and ubuntu :)

@deb0ch
Copy link
Owner

deb0ch commented Jan 13, 2019

Will get to it ASAP 👌✨

@deb0ch
Copy link
Owner

deb0ch commented Jan 14, 2019

Btw, against which version of which OS do you recommend that I test the build ? I'm thinking Ubuntu 18.04, but since you are the one packaging it you are the best placed to know that

@alexmyczko
Copy link
Author

whatever recent you have is fine, if you have ubuntu 18.04, that's fine. if it builds there for you, i can also test it on that, and debian sid and report back problems...

@deb0ch
Copy link
Owner

deb0ch commented Jan 14, 2019

I will make a VM in any case, so it could really be anything

@alexmyczko
Copy link
Author

go for ubuntu 18.04 thats is the easiest, after that you could run

sed -i s,bionic,disco,g /etc/apt/sources.list
apt-get update; apt-get dist-upgrade

and retry

@alexmyczko
Copy link
Author

alexmyczko commented Jan 25, 2019

#include <math.h> fixes it! but not all... next problem: http://sid.ethz.ch/debian/r-type/r-type_20181220-1_amd64.build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants