Comments (12)
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.
Alright! I'll check it out and get back ASAP!
from re-plants-vs-zombies.
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.
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.
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.
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.
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.
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.
OS: Windows 11 preview
Compiler: Ninja
IDE: MSVC
from re-plants-vs-zombies.
Here's the external
folder it generates if it helps:
external.zip
from re-plants-vs-zombies.
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.
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)
- Where does most of the codebase come from? HOT 2
- Error when trying to run HOT 4
- I cant build with visual studio 2019, error in class board HOT 3
- Contact Information? HOT 3
- Have some problem with sdl and sdl_image in gl branch. HOT 3
- Cmake build failing HOT 2
- height isn't a const HOT 2
- Error when trying to run HOT 1
- [Suggestion] Basic documentation
- When trying to compile a build in visual studio 2022 it gives this error HOT 2
- Font loading problems in sexy-vk branch HOT 4
- building issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from re-plants-vs-zombies.