kissmarkandras1 / Iterex

0 stars 0 forks source link

Compiling #1

Open kissmarkandras1 opened 3 years ago

kissmarkandras1 commented 3 years ago

Just posting this to make sure, everybody can run the game, right?

icecreamiscool commented 3 years ago

I'm sorry I'm having a lot of trouble importing the project into Visual Studio. I can make new projects and they can build and run just fine, but I get errors when I try to import yours. The most I could do was run the .exe within the bin folder and the game seemed to run fine.

Edit: I installed Monogame 3.5 as opposed to just the templates,packages and editor and stuff. I can now load the project into Visual Studio but I can't build it because it can't find some source files (Program.cs,AssemblyInfo.cs,World.cs,Tile.cs,Player.cs). I probably can only run the .exe because you built it when you had those files, but the project doesn't have them anymore.

kissmarkandras1 commented 3 years ago

I think I installed 3.7, with the installer, now that I check 3.8 is different from previous versions in that it installs with packages instead of an installer, and doesn't seem compatible with projects made with previous versions, but that doesn't seem to be the problem

I have uploaded the missing files, can you run it now?

icecreamiscool commented 3 years ago

Now the source files are fine, but i have new errors that point to paths like "C:\Program Files\Monogame\v3.0\Assemblies\DesktopGL...". I checked the path and I seem to be missing some .dll files (stuff like libSDL2). Can you link the exact thing you installed in case that fixes it for me? (I'm sure I messed up something because it wasn't clear at first what exactly I had to install where so I followed lots of different sources on that)

EDIT: I installed Monogame 3.7.1 now, it seems to have fixed the issue, I can now build and run the code without errors. I'll try to commit something in the evening when I have the time.

kissmarkandras1 commented 3 years ago

I used 3.7.1, from here https://community.monogame.net/t/monogame-3-7-1/11173 Posting in case somebody else needs it