#How to convert c++ with raylib engine into a downloadable apps

57 messages · Page 1 of 1 (latest)

primal pasture
#

I made a functionable offline chess and i wanna create an apps that is downloadable and playable for others

grave badgerBOT
#

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.

arctic sonnet
#

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?

primal pasture
#

May you explain the .dll thingy

primal pasture
#

But not an app

arctic sonnet
# primal pasture C++

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

primal pasture
#

Oh

#

Mingw

arctic sonnet
#

Aha

arctic sonnet
primal pasture
arctic sonnet
primal pasture
#

Nowhere to be seen

arctic sonnet
#

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

primal pasture
primal pasture
arctic sonnet
#

That's why I dislike templates sadge

arctic sonnet
# primal pasture Why is it

First of all, they are only useful for you, because any person downloading your source might use a different compiler with different dlls

primal pasture
arctic sonnet
#

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

arctic sonnet
#

It's probably right in the project directory. If you don't see it, can you screenshot all the contents?

primal pasture
#

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..?

arctic sonnet
arctic sonnet
#

Zip the exe and dlls together

#

And don't forget any images your game loads, if any

primal pasture
#

Ok!

#

Ill try

#

tysm

grave badgerBOT
#

@primal pasture Has your question been resolved? If so, type !solved :)

primal pasture
#

!solved

grave badgerBOT
#

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

sweet lance
#

did u ear about static link ?

west plaza
#

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