User forums > Using Code::Blocks

no bin/release folder is created

(1/2) > >>

andrei186:
I've set CodeBlock to work with SFML. The test code build and runs OK. But it creates  bin/debug folder and does not create bin/release
Which setting do I need to tune to get bin/release?

Miguel Gimenez:
The setting is in Project -> Properties -> Build targets -> Output filename, there is one per target.

This said, the bin/release folder will be created only when you compile the binary using the Release target.

andrei186:
English is not my mother tongue - I am afraid I do not quite understand you.
On Project -> Properties -> Build targets  I have both Debug and Release

In Debug  Output filename points at  bin\Debug\p1.exe
In Release  Output filename points at  bin\Release\p1.exe

What should I change to get bin\Release\p1.exe ?

Miguel Gimenez:
Select Release in the toolbar and recompile

andrei186:
Thank you very much! That was easy!
It worked.
I expected the resulting .exe file in Release would run on its own without CodeBlock IDE. However it keeps throwing: cannot find libgcc_s_seh-1.dll, libstdc++-6.dll and  libwinpthread-1.dll
These  files are sitting in C:\Program Files\CodeBlocks\MinGW\bin
I copied them into the same Release folder - now it is working. 
Do I understand it correctly that if I build it with satatic libraries these DLL will be included into the .exe?


Navigation

[0] Message Index

[#] Next page

Go to full version