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 a project? #223

Open
yozhikZver opened this issue Jun 2, 2024 · 10 comments
Open

How do I compile a project? #223

yozhikZver opened this issue Jun 2, 2024 · 10 comments

Comments

@yozhikZver
Copy link

Please tell me how to compile the project, I tried it in visual studio, but I never figured it out. Thank you in advance)

@progval
Copy link
Collaborator

progval commented Jun 2, 2024

You need to use bam

@yozhikZver
Copy link
Author

I downloaded bam, but I don't understand how to merge the source code with bam and set up compilation, if you don't mind helping please do so

@progval
Copy link
Collaborator

progval commented Jun 2, 2024

Don't merge source codes. You need to compile bam, and you'll get a bam.exe (assuming you're on Windows). Then run the executable from infclass's directory (ie. cd to it, then run C:\path\to\bam\bam.exe)

@yozhikZver
Copy link
Author

As I understand it, I need to compile a bam file, I get a bam.exe and move this file to the inflclas source directory, and then open this bam.exe? Sorry I just can't understand how exactly this works, I would be grateful for your help.

@progval
Copy link
Collaborator

progval commented Jun 2, 2024

As I understand it, I need to compile a bam file, I get a bam.exe

yes

move this file to the inflclas source directory

no. bam.exe stays in the directory it is in; what needs to change is your terminal's working directory

then open this bam.exe

run instead of open, but yes.

@yozhikZver
Copy link
Author

I again did not understand much, I do not understand what I need to change I tried to do on this tutorial https://www.teeworlds.com/?page=docs&wiki=compiling_everything_windows but there at the point where you need to enter the path in the Native Tools Command Prompt everything is already screwed up, I do not have such a path and it does not go. I seem to be stupid, explain to me as for a dumb please.

@progval
Copy link
Collaborator

progval commented Jun 2, 2024

did you run make_win64_msvc.bat? Did it show any error?

@yozhikZver
Copy link
Author

I ran but nothing works, I must be doing something wrong can you give a tutorial point by point or I seem to be somewhere I'm very wrong

@progval
Copy link
Collaborator

progval commented Jun 2, 2024

What is not working? The tutorial you linked is already more detailed than what I could give you as I don't use Windows myself.

@yozhikZver
Copy link
Author

I tried very hard to understand you, but I understand that to understand a programmer you have to become a programmer)

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