User forums > Help

problem in compiling an application source file with C:B

(1/5) > >>

parisa_k:
hi,
I want to use code blocks for compiling source of an applicaion .... (.tar file)
I have started a new project>console application and
according to the make file , I added the needed .c files and also I have added defines and libraries to the project build options (in both Debug and Release mode)....... but C::B cannot compile it ...why? where is the problem?  :?:
thanks

McZim:
remove make file

parisa_k:
I think  there is a misunderstanding....
I didn`t use  the make file...I just look at it to see which files are necessary for compile and making executable file

and then I added the necessary files to a new project in code::blocks.....

I also set the libraries and defines in build option...
but I don`t know what`s the problem

McZim:
what error?

parisa_k:
there is no error ....but its output in the Debug folder is and executable file that can`t run correctly ...the error is: segmentation fault
and there is nothing in release...it seems it can compile the file but cann`t build...........

I`m sure that the source file has no problem ....I have once compile it using its make file

but I`m not sure that whether it`s the correct way to compile source of an application or not... and what`s the correct way?

Navigation

[0] Message Index

[#] Next page

Go to full version