Giter Site home page Giter Site logo

Comments (12)

minerscale avatar minerscale commented on June 25, 2024

Hi! Try my branch at https://github.com/minerscale/re-plants-vs-zombies/ on the main branch.

It's much much further finished than this one. I think all of your bugs are fixed!

from re-plants-vs-zombies.

MrNooberDude avatar MrNooberDude commented on June 25, 2024

Alright! I'll check it out and get back ASAP!

from re-plants-vs-zombies.

MrNooberDude avatar MrNooberDude commented on June 25, 2024

So it seems like I need sdl although I the files I put in don't work and cmake fails. It looks like it's trying to find it in the external folder but nothing is generated, nor was the folder there when I tried this repo. Anything I could do?

from re-plants-vs-zombies.

minerscale avatar minerscale commented on June 25, 2024

Yes,

We've been screwing with the build system, delete your build/ folder and reconfigure a clean build. Do this as a troubleshooting step when using new versions.

Pull my repo again up to the latest commit also if it's not. Let me know if it works.

from re-plants-vs-zombies.

MrNooberDude avatar MrNooberDude commented on June 25, 2024

It still says I need SDL although I don't know what files to give it. At least I did get further this time!

from re-plants-vs-zombies.

minerscale avatar minerscale commented on June 25, 2024

hmm, try deleting your local copy and redownloading my repo in (I just recently completely broke parity with this repo with a git filter-branch for various reasons).

You'll have to give me a bit more info if that doesn't work because I'm at a bit of a loss! Once you have it built you'll have to copy your properties/ folder and the main.pak file into the same directory as the build executable and run it. (and bass.dll/bass.so as well). A good troubleshooting step would be to send me the error that you're actually facing.

from re-plants-vs-zombies.

MrNooberDude avatar MrNooberDude commented on June 25, 2024

yeah, I can imagine the error would be helpful! here it is:
1> [CMake] CMake Error at src/framework/CMakeLists.txt:117 (target_link_libraries): 1> [CMake] Target "PlantsVsZombies" links to: 1> [CMake] 1> [CMake] SDL2::SDL2-static 1> [CMake] 1> [CMake] but the target was not found. Possible reasons include: 1> [CMake] 1> [CMake] * There is a typo in the target name. 1> [CMake] * A find_package call is missing for an IMPORTED target. 1> [CMake] * An ALIAS target is missing.
I don't think there is an installable version of SDL like there is for Vulkan because all I can find is the DLL.

from re-plants-vs-zombies.

minerscale avatar minerscale commented on June 25, 2024

SDL should be compiled from source and linked straight in! I'm very confused.

I've pushed a change that hopefully makes SDL compile a static library.. even though it already does on my machine. Pull my code again and try a rebuild. (and just for a sanity check we're talking the main branch on https://github.com/minerscale/re-plants-vs-zombies/)

Can you give me the following info?

OS, compiler, IDE (if any), any other development environment information you think might be important.

Thanks,
Aaron.

from re-plants-vs-zombies.

MrNooberDude avatar MrNooberDude commented on June 25, 2024

OS: Windows 11 preview
Compiler: Ninja
IDE: MSVC

from re-plants-vs-zombies.

MrNooberDude avatar MrNooberDude commented on June 25, 2024

Here's the external folder it generates if it helps:
external.zip

from re-plants-vs-zombies.

MrNooberDude avatar MrNooberDude commented on June 25, 2024

As a temporary fix provide the external folder it generated on your computer in the repo somewhere like in a zip, whatever works

from re-plants-vs-zombies.

MrNooberDude avatar MrNooberDude commented on June 25, 2024

It turns out it was a Visual Studio error! I just updated VS and it ended up working just like that!

from re-plants-vs-zombies.

Related Issues (13)

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.