User forums > Using Code::Blocks

Building entire project using Makefile in codeblocks

(1/2) > >>

raj:
Hi,
I am trying to build FFMPEG package using Codeblocks with GCC compiler. I created a project and I gave the Makefile(This is the Makefile used for building the complete project) as custom Makefile in project options. I included only some source files. When I tried building, got an error "mingw32-make.exe: *** virtual memory exhausted.  Stop". Are the steps I followed sufficient to build the project on Codeblocks? Can codeblocks find out all source files, include files and preprocessors using the final Makefile.

Regards,
Raj

oBFusCATed:
This is not mingw-make support forum, please as in such forum/mailing list...

One simple thing to try is to invoke the make command in a cmd window.
If that works then there is something wrong with your setup or something wrong with CB.

Also see the CB's faq on the wiki.codeblocks.org ... there is a section describing what you should do to debug the build process of a project.

raj:
Thanks for your reply. I made a mistake before. I ran configure using MinGW and tried running Codeblocks after that. That caused this issue. Now I wish to run the configure command using CodeBlocks. Can some body please tell me how do I do that?

oBFusCATed:
Probably you could run it in a pre-build step.

See Project->Properties or in the Build options...

raj:
I tried running it as a pre-build step already. I gave "./configure" in the pre-build step. This is how I do in MinGW. I got the following message on the output window
--------------------------------------------------------------
Running project pre-build steps
./configure
Execution of './configure' in 'D:\projects\ffmpeg\test_app' failed.
Nothing to be done.
--------------------------------------------------------------
Is this the right way to do?

Navigation

[0] Message Index

[#] Next page

Go to full version