SourceExplorer icon indicating copy to clipboard operation
SourceExplorer copied to clipboard

I'm new to this and wondering

Open DeceptedPar opened this issue 3 years ago • 45 comments

how do you compile the full re-write, I've looked and can't find anything, I'm using windows if that helps

DeceptedPar avatar Aug 16 '21 12:08 DeceptedPar

you'll need git, meson and the latest visual studio (with build tools).

setup:

  1. open command prompt
  2. cd to the directory where you want to clone the repo (!!!! command prompt may default to System32, DO NOT CLONE HERE!!!! change the directory to something else!!!)
  3. clone the repo using git git clone https://github.com/LAK132/SourceExplorer (just downloading it doesn't work I don't think)
  4. cd into the repo cd SourceExplorer
  5. run git checkout 2.0-full-rewrite
  6. run git submodule update --init --recursive
  7. run setup.bat

compiling:

  1. run compile.bat
  2. run build\srcexp.exe

if there are any errors feel free to let me know

LAK132 avatar Aug 16 '21 16:08 LAK132

it seems to be cloning the master github branch

DeceptedPar avatar Aug 16 '21 19:08 DeceptedPar

ah, after cloning and cding in, run git checkout 2.0-full-rewrite

LAK132 avatar Aug 17 '21 02:08 LAK132

image aftermath of running setup.bat

DeceptedPar avatar Aug 17 '21 13:08 DeceptedPar

image ok, so I fixed it by allowing users to change files, now I'm getting this when running compile.bat

DeceptedPar avatar Aug 17 '21 13:08 DeceptedPar

you didn't change directory before running git clone so you've put the repo in System32, this is very bad! start from the start and make sure to change directory to the desktop or something in step 2.

LAK132 avatar Aug 17 '21 14:08 LAK132

oh. alright

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

image odd. I'm getting the same message

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

this is from start to finish

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

and I'm still getting the same message when running compile.bat

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

I dont get what I'm doing wrong

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

there's no errors in that screenshot? you need to continue with step 7

LAK132 avatar Aug 17 '21 14:08 LAK132

image had trouble getting this image thank god I got this now I can see what the problem is

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

meson-log.txt I dont understand this maybe you can help me

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

ah I've committed something I shouldn't have, give me a moment to clean that up

LAK132 avatar Aug 17 '21 14:08 LAK132

alright

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

from inside the repo run git pull --ff-only then try and compile again

LAK132 avatar Aug 17 '21 14:08 LAK132

image huh.

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

git pull --ff-only and try again

LAK132 avatar Aug 17 '21 14:08 LAK132

it's working

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

image huh...

DeceptedPar avatar Aug 17 '21 14:08 DeceptedPar

ah sorry, committed the wrong thing. pull and try again

LAK132 avatar Aug 17 '21 14:08 LAK132

alright

DeceptedPar avatar Aug 17 '21 15:08 DeceptedPar

oops

DeceptedPar avatar Aug 17 '21 15:08 DeceptedPar

I'll tell you if I get the same error message again

DeceptedPar avatar Aug 17 '21 15:08 DeceptedPar

I didn't get the message this time

DeceptedPar avatar Aug 17 '21 15:08 DeceptedPar

damn, I thought we didn't need open gl anymore

DeceptedPar avatar Aug 17 '21 15:08 DeceptedPar

image

DeceptedPar avatar Aug 17 '21 15:08 DeceptedPar

build\srcexp.exe -nogl

LAK132 avatar Aug 17 '21 15:08 LAK132

image dont see it

DeceptedPar avatar Aug 17 '21 15:08 DeceptedPar