Author Topic: I cant compile in codeblock  (Read 6464 times)

magi

  • Guest
I cant compile in codeblock
« on: November 08, 2006, 01:14:31 am »
Hi.

I cant compile and debugg 2 c-code files.
cgi-util_1.c   and   main.c
Its cgi code to get serial signal out on a micro processor called FoxBoard from http://www.acmesystems.it/?id=4

I can compile them with "uClibc" on a web compiler here:  http://www.acmesystems.it/?id=200

But it dont compile in Code::Blocks.

What is missing?

Am i to download a "uClibc" and use it to be able to compile my files in codeblocks?

How do I do to make it compile and debugg?

I want to step the code through to see how flags and variables change becouse I dont seem to get any serial signal out on the foxboards ports.
Am I not supposed to be able to do that in codeblocks?

If someone can help me I have attached the files now in this message.

Regards Magi

[attachment deleted by admin]
« Last Edit: November 08, 2006, 11:02:16 am by magi »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2775
Re: I cant compile in codeblock
« Reply #1 on: November 08, 2006, 02:31:52 am »
Would you turn on full compile logging and paste the results here:

   //-- Full Compile Logging --
   Main Menu->Settings->Compiler and Debugger->"Other"->Compiler logging = "Full command line".

   //--
   Would you please mention in your messages the full CodeBlocks version you're using and the system you're running.
You can find this info in the menu item Help/About/Information. Or, with a double click, copy the "Start Here" page "Version" banner to the clipboard.

The yahoo file quoted in your message asks me for a yahoo password.

« Last Edit: November 08, 2006, 02:34:05 am by Pecan »

magi

  • Guest
Re: I cant compile in codeblock
« Reply #2 on: November 08, 2006, 04:31:45 am »
Would you turn on full compile logging and paste the results here:

   //-- Full Compile Logging --
   Main Menu->Settings->Compiler and Debugger->"Other"->Compiler logging = "Full command line".

   //--
   Would you please mention in your messages the full CodeBlocks version you're using and the system you're running.
You can find this info in the menu item Help/About/Information. Or, with a double click, copy the "Start Here" page "Version" banner to the clipboard.

The yahoo file quoted in your message asks me for a yahoo password.



Hi Pecan.

I cant copy  the stuff at the bottom.
The yahoo log in is just for you to register and you will have one sent to you from yahoo.

Pleace use the file there and try to compile it and see what you get if you get any time.

I would really like to debugg it and see how it works to debugg a c-code.

I have never tried it.

Regards Magi

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2775
Re: I cant compile in codeblock
« Reply #3 on: November 08, 2006, 01:36:55 pm »
I cant copy  the stuff at the bottom.

Regards Magi

To copy the compile log, right-mouse-click in the compiler log window and choose "select all". Right-click again and select copy. Then paste the results in a message here.

magi

  • Guest
Re: I cant compile in codeblock
« Reply #4 on: November 08, 2006, 09:13:15 pm »
I cant copy  the stuff at the bottom.

Regards Magi

To copy the compile log, right-mouse-click in the compiler log window and choose "select all". Right-click again and select copy. Then paste the results in a message here.



Hi Pecan.

I cant copy it.

I send the files i have and if you have time please use them in your codeblocks and check the comiple log.

I would like to use CodeBlocks so please help me if you get any time over.

Regards Magi


[attachment deleted by admin]

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2775
Re: I cant compile in codeblock
« Reply #5 on: November 09, 2006, 04:59:24 am »
You still have not told us what version of CodeBlocks you are using.

You still have not told us what OS you're using.

You still have not told us what compiler you're using.

magi

  • Guest
Re: I cant compile in codeblock
« Reply #6 on: November 09, 2006, 06:58:39 am »
You still have not told us what version of CodeBlocks you are using.

You still have not told us what OS you're using.

You still have not told us what compiler you're using.

Sorry.

Version (1.0rc2)
I have Windows XP pro
Selected Compiler: GNU GCC Compiler

I cant copy compile log.

Can you tell me how to compile and step the code through step by step so i can see what happens?

Or cant it be done with codeblocks.
If not can you recommend a program were i can test a c-code?

Regards Magi

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2775
Re: I cant compile in codeblock
« Reply #7 on: November 09, 2006, 01:50:23 pm »
Completely delete CB 1.0.RC2 and install a nightly build.

   //-- Nightly Builds
   http://forums.codeblocks.org/index.php?board=20.0

Search the following for "nightly build"

   //-- Wiki Index
   
    CodeBlocks Wiki Index
   //-- Wiki Main Page
    CodeBlocks Wiki Main Page
« Last Edit: November 09, 2006, 01:55:03 pm by Pecan »