Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I compile the .cpp files? #88

Open
XGxgane opened this issue Mar 8, 2025 · 1 comment
Open

How do I compile the .cpp files? #88

XGxgane opened this issue Mar 8, 2025 · 1 comment

Comments

@XGxgane
Copy link

XGxgane commented Mar 8, 2025

Hi, I have 213 .cpp files from Sonic The Hedgehog 2006 but not sure how to compile them inside Visual Studio or Clion, I tried following steps from other Issues related to compiling these files but simply just don't know how to do it. Does anyone know an easy way to do this step? I Would appreciate it a lot!

@masterspike52
Copy link

first, theres another issue for this already.

second, you're probably gonna run into 1000 other issues while trying to build

in visual studio create a new console app project

delete the .cpp file it made automatically (if you dont when you get through a bunch of issues itll just compile hello world)

right click the header folder > add > existing and select the .h files in the stuff recomp spit out with the cpp files

right click the source folder > add > existing and select all the .cpp files recomp spit out

at the top make sure it says debug and x86

right click the solution > properties and under platform toolset make sure it says its using LLVM(clang-cl) (this is because it has to be built with clang)

click apply and then go to build in the toolbar and click build solution

then everything else you'll have to google when the issues come up (or ask chatgpt) cause im not sure if the other settings i have to use are gonna be the same as settings for compiling another games

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants