Code Monkey home page Code Monkey logo

Comments (6)

Megaxela avatar Megaxela commented on May 12, 2024 1

Ye, now everything is working fine. But there is another error, as for me. I'll create another issue for it.
I don't know, why Erin moved from cmake to premake tool for building. But as for me, cmake is much more comfortable tool.

from playrho.

louis-langholtz avatar louis-langholtz commented on May 12, 2024

@Megaxela any ideas by chance of how to fix this? I'd like the cmake install option to work but I don't know off the top of my head what needs to be done to fix this problem. I'm guessing it's something simple like that I misnamed a file or misplaced it in transitioning the project from being called Box2D to being called PlayRho.

Anybody know if the install option ever worked in Erin's Box2D code before he got rid of cmake from it?

from playrho.

Megaxela avatar Megaxela commented on May 12, 2024

As for me problem is in PlayRho/CMakeLists.txt file in line 152. You are trying to install UsePlayRho.cmake file, but there is no any file with this name in project.

from playrho.

louis-langholtz avatar louis-langholtz commented on May 12, 2024

Thanks for looking into this. I was thinking similarly to you on this I believe. I'm just not familiar with the details here but I'll research it.

Do you by chance know if cmake-based installation ever worked in Erin's Box2D code? I'd like to fully support using cmake but maybe that's why he moved to using premake.

I should know more soon after I've reviewed git history. Thanks for your patience.

from playrho.

louis-langholtz avatar louis-langholtz commented on May 12, 2024

Adding what I'm finding here (thinking out loud so-to-speak)...

UsePlayRho.cmake had previously been called UseBox2d.cmake in the PlayRho/PlayRho.cmake file prior to commit cf15e11. It was only mentioned in that file in a comment though.

UsePlayRho.cmake had previously been called UseBox2D.cmake in the PlayRho/CMakeLists.txt file prior to commit d8d99b8. In this same commit there seems to be a mention of the file PlayRho/PlayRho.cmake having been renamed from its previous name of PlayRho/UseBox2D.cmake.

Bingo!

Seems when I renamed things, I accidentally dropped the Use portion of the filename in question. I'll push a commit that remedies this shortly.

from playrho.

louis-langholtz avatar louis-langholtz commented on May 12, 2024

"everything is working fine"... That's great news to me! Thank you so much for trying it out again and updating me.

Yes, please create a new issue if it's not the same as this one was/is. Thanks!

Glad cmake is preferable for you. I suspect a lot of people feel the same.

from playrho.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.