#How to convert c++ with raylib engine into a downloadable apps
57 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
If you can run it yourself, you already have an .exe you can send to others
It has to be bundled with some .dll though. What compiler are you using?
C++
May you explain the .dll thingy
I run it on vscode with F5
But not an app
C++ is a language. A compiler is a program that converts programs written in a language into executables you can run
vscode is not a compiler either
It runs one of the compilers when you press f5, most probably
You're using either GCC (might also be called MinGW), Clang, or MSVC
Aha
That still creates an .exe somewhere
In my folder?
Probably, depends on how you've set it up
Nowhere to be seen
Well yes, because you have *.exe in your gitignore
Which is correct, you don't want it in git
(you don't want the .dlls in git either)
Look around in this directory, it should be there somewhere
Oh i did not pay attention to it cuz i downloaded raylib template from yt
Why is it
That's why I dislike templates 
First of all, they are only useful for you, because any person downloading your source might use a different compiler with different dlls
I dont understand how to manually setup cuz of the Makefile..
And second of all, they are quite large, and putting large file in git makes the whole repository larger. Even if you delete the dlls in the next commit, they'll remain in the git history, permanently making the repo larger, so it takes longer to clone, etc
Probably not a big deal for just the two dlls and a toy game, but I've seen repos that takes minutes to clone because the devs uploaded all kinds of junk to git
I guess you can keep using it for now, you just need to find the .exe
It's probably right in the project directory. If you don't see it, can you screenshot all the contents?
ill look for it
but question
Ill include dll in gitignore?
and remeove exe from gitignore?
Eh
i should still include the exe and dll tho
And post it into releases
Is it like that..?
No, keep both
Yeah, that works
Zip the exe and dlls together
And don't forget any images your game loads, if any
@primal pasture Has your question been resolved? If so, type !solved :)
!solved
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity
did u ear about static link ?
Every platform is different
In windows you ship your .exe files with shared libs in the same dir
On Mac you have something called a .app bundle, which dictates a project structure
On Linux the same way with either distro based packages or appimages
On android you have to use a specific project structure with a different build system and compiler