Jump to content

Releasing Projects

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
Datab0x

Datab0x

    Newbie

  • Members
  • PipPip
  • 14 posts
So I have a program that I would like to release as an .exe to distribute to a few of my friends. Currently i'm using the NetBeans IDE with the Cygwin C++ compiler. I set the program build configuration to release and built everything accordingly. The .exe is gets created but when I go to run it I get this error

I know... its probably a really stupid thing that i'm forgetting to do.

#2
wahid

wahid

    Newbie

  • Members
  • PipPip
  • 10 posts
Are you getting that error on your own PC or your friends?

#3
Datab0x

Datab0x

    Newbie

  • Members
  • PipPip
  • 14 posts
I'm getting it on both PCs, however when I run the code through the IDE it compiles, runs, and does everything. But when I just click the .exe or run it through the command prompt it throws that error. It does the same thing on my friends computer as well.

#4
wahid

wahid

    Newbie

  • Members
  • PipPip
  • 10 posts
you prob didn't create a static .exe try to add cygwin1.dll in same folder?

#5
Datab0x

Datab0x

    Newbie

  • Members
  • PipPip
  • 14 posts
Oh sweet, that fixed the issue. So is there a way to actually add that file to the .exe internally or do I just need to lug that around in the folder the program is running on.

#6
wahid

wahid

    Newbie

  • Members
  • PipPip
  • 10 posts
I don't use NetBeans/Cygwin but there should be a way to make a static exe.