Trouble with compiling..

Hi!

I have just bought Arduino Inventors Kit. I have downloaded and installed Arduino, but when i try to compile, I get an error message just saying "error compiling". Nothing more.
Im running Arduino on a Asus UX32V with windows 8 x64.

I have tried to download the installed, the zip file for 1.0.5 and 1.0.4. I still get the same error message.

Does anyone know how to solve this problem?

Under File:Preferences, click the verbose output check boxes, see what is reported back.

Also, post your code using the # (code tag) symbol, could be a simple typo.

Thank you..

I have only tried the examples circuits from sparkfun... they work on another computer with windows 8 aswell

I get a lot of text and codes now, more than i can post here. Do i need to post it all, or just the lines in red?

Just the stuff in red to start.

C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\malloc.c:67: warning: initialization makes pointer from integer without a cast

C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function 'void store_char(unsigned char, ring_buffer*)':
C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\HardwareSerial.cpp:98: warning: comparison between signed and unsigned integer expressions
C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function 'void __vector_18()':
C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\HardwareSerial.cpp:132: warning: unused variable 'c'
C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\HardwareSerial.cpp: In member function 'void HardwareSerial::begin(long unsigned int, byte)':
C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\HardwareSerial.cpp:379: warning: unused variable 'current_config'
C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\HardwareSerial.cpp: In member function 'virtual size_t HardwareSerial::write(uint8_t)':
C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\HardwareSerial.cpp:478: warning: comparison between signed and unsigned integer expressions

C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\Print.cpp: In member function 'size_t Print::print(const __FlashStringHelper*)':
C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\Print.cpp:44: warning: 'progmem' attribute ignored

C:\Users\Erik\Downloads\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino\Tone.cpp:119: warning: only initialized variables can be placed into program memory area

I still get "error compiling" but I dont get any red lines. I get the same lines that my friend does, but he doesnt get the error compiling message.. Any ideas what could be wrong?

please someone help

Post the sketch you are trying to verify. Please use
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags.

that is my problem

i think that is a windows 8 problem

Re-enable verbose output. CrossRoads provided instructions in Reply #1.

there is the code

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\standard C:\Users\Thiago\AppData\Local\Temp\build8345161651260925493.tmp\Blink.cpp -o C:\Users\Thiago\AppData\Local\Temp\build8345161651260925493.tmp\Blink.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\standard C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\avr-libc\malloc.c -o C:\Users\Thiago\AppData\Local\Temp\build8345161651260925493.tmp\malloc.c.o

• Repeat the attempt and leave the Arduino IDE running. This will leave the temporary files in place.

• Select and copy (Ctrl+C to copy) the last command. In your example above, this was the last command...

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\standard C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\avr-libc\malloc.c -o C:\Users\Thiago\AppData\Local\Temp\build8345161651260925493.tmp\malloc.c.o

• Open a command shell (run CMD.EXE)

• Paste the last command into the command shell and run it.

Any errors?

I have the same problem. Repeating the compile of a sketch results in seemingly random behavior. Sometimes the compile succeeds, but mostly it stops somewhere, and somewhere else if the compile is repeated.
Executing the last command in a command shell as suggested above gives no error most of the times. I repeated this successively for the Blink sketch and finally could get no further because of the message (translated from Dutch): as.exe has stopped working.

Any help?

erikaabyholm:
I get an error message just saying "error compiling". Nothing more.

janeppo:
...could get no further because of the message (translated from Dutch): as.exe has stopped working.

janeppo:
I have the same problem.

You have an interesting definition for the word "same".

Given the fact that your problem and @erikaabyholm's problem are clearly not the same, would you like me to split your post from this thread?

That is a kind offer, but no thanks.

This thread starts with erikaabyhom writing:
"...when i try to compile, I get an error message just saying "error compiling". Nothing more.
Im running Arduino on a Asus UX32V with windows 8 x64.
I have tried to download the installed, the zip file for 1.0.5 and 1.0.4. I still get the same error message."

I admit I have a different brand of PC.
Still I really think I have the problem, in the following sense:

For your reference: I own an arduino Uno R3 and a PC with windows Vista. I have no trouble using the IDE, compiling sketches, uploading sketches.

I have another PC with Windows 8 x64. I think, but do not know for sure, that about three months ago I used the Arduino R3 without trouble. But I used it no more than a few times. (That is I compiled and uploaded the Blink sketch) What is worse, I do not remember which software version I used.

Recently I tried using the Arduino R3 board with the Windows 8 x64 PC again. The sketch I used would not compile. So I tried the Blink sketch. One time it would compile. Another time it would not. I installed versions 1.0.4, 1.5, 1.5.1r2 and 1.5.2 of the arduino software. All these versions and at least three different sketches (a.o. the "empty" sketch) display the same erratic behavior. Most of the time compilation ends with the message "Fout bij compileren" (translation from Dutch: "Error while compiling"). There is no further indication what went wrong. But sometimes a repeated compilation succeeds.

Then I read your advice to execute the last command in a command shell. I was happy to do that. There was no error message. The last command just succeeded. The next attempt to compile the sketch in the IDE stopped AT A DIFFERENT COMMAND. Again I executed the last command in the command shell and it succeeded. I carried on in this way, and finally got the sketch to be compiled and uploaded. It executed without problem on the Arduino board. So far so good.

But all was not good of course. With another sketch I DID get an error message while trying to execute the last command in a command shell. Some complaint about as.exe not working. And with still another sketch the IDE compilation stopped AT THE SAME COMMAND.

My uneducated guess is that it is a Windows 8 x64 problem. Or perhaps a Windows 8 x64 problem with the IDE. Or maybe a recent update to Windows 8 and the IDE. Or ....

I am willing to carry out any relevant experiment that you suggest.

I HAVE THE SAME PROBLEM TOO, EVERYTIME I UPLOAD THE SKETCH. IT SAYS ERROR COMPILING. HOW TO FIX THIS PROBLEM? PLEASE HELP!~

See yushenng's reply Status bar warns “Error compiling.” and console is empty - #16 by system - IDE 1.x - Arduino Forum in the topic 'Status bar warns "Error compiling." and console is empty' Status bar warns “Error compiling.” and console is empty - IDE 1.x - Arduino Forum