Go Down

Topic: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches (Read 138844 times) previous topic - next topic

Jantje

@leikoilja
I think you have a wrong library. Does it compile in the arduino ide?
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

@leikoilja
I think you have a wrong library. Does it compile in the arduino ide?
Jantje
Yes, it works fine in arduino ide. This code was written in eclipse, using your plugin from scratch. But then i reinstalled system and now i can not configure it, so it would work :(

i have tried creating new sketch in eclipse, wrote simple led blink program and it works. I should check, maybe something is wrong with additional libraries :/

@Jantje,
I have tried removing all attached libraries from my project and importing them again - didn't helped.
The same file opened in Arduino ide 1.5.7 compiles and works fine :/

Also checked and in your eclipse plugin the directory of private libraries is set correctly.

Jantje

@leikoilja
I think you have a wrong library.
Jantje
As it compiles in the arudino IDE you probably link to a different library. You may also have to set defines.
The console output can help you investigate the problem.
But what you are experiencing is a coding problem not a arduino eclipse plugin problem.

Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

VeitS

Hi,

I want to use Arduino Eclipse for OS X to develop my sketches. But I have issues setting the correct path for Arduino IDE in plug in settings.

I have tried

  • /Applications/Arduino.app
  • /Applications/Arduino.app/Contents/Java/


but no success.

What is the correct path? I have Arduino IDE 1.6.3 installed.

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

VeitS

I thought it was /Applications/Arduino
This also gives me the error "Value must be an existing file"  :smiley-sad:

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -


Transistorfips

Hi there,
I have a prob with the Java runtime environment.

My configuration:
Linuxmint 17.1 64-bit
Eclipse with Arduino plugin
Target: Arduino Due via /dev/ttyACM0


Flashing the Arduino Due work fine.
But when I try to use the serial monitor view Java crashes and shutdown Eclipse.
Any idea?

the Error log states:


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fbf9901c733, pid=2833, tid=140462208886528
#
# JRE version: Java(TM) SE Runtime Environment (7.0_76-b13) (build 1.7.0_76-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.76-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [librxtxSerialx86_64.so+0x7733]  Java_gnu_io_RXTXPort_nativeDrain+0xc3
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

 .
 . a shi(t)pload of register settings
 .

---------------  S Y S T E M  ---------------

OS:jessie/sid

uname:Linux 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64
libc:glibc 2.19 NPTL 2.19
rlimit: STACK 8192k, CORE 0k, NPROC 30603, NOFILE 4096, AS infinity
load average:0,37 0,24 0,29

/proc/meminfo:
MemTotal:        3948356 kB
MemFree:          626512 kB
Buffers:          210156 kB
Cached:           954812 kB
SwapCached:         9000 kB
Active:          1877648 kB
Inactive:        1097944 kB
Active(anon):    1327660 kB
Inactive(anon):   724520 kB
Active(file):     549988 kB
Inactive(file):   373424 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       1996796 kB
SwapFree:        1944292 kB
Dirty:               448 kB
Writeback:             0 kB
AnonPages:       1802584 kB
Mapped:           193692 kB
Shmem:            241428 kB
Slab:             267664 kB
SReclaimable:     238048 kB
SUnreclaim:        29616 kB
KernelStack:        3440 kB
PageTables:        24068 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     3970972 kB
Committed_AS:    3838792 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      348672 kB
VmallocChunk:   34359374012 kB
HardwareCorrupted:     0 kB
AnonHugePages:    305152 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       78348 kB
DirectMap2M:     4018176 kB


CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, tsc, tscinvbit

/proc/cpuinfo:
processor  : 0
vendor_id  : GenuineIntel
cpu family  : 6
model    : 42
model name  : Intel(R) Pentium(R) CPU B950 @ 2.10GHz
stepping  : 7
microcode  : 0x1a
cpu MHz    : 2100.000
cache size  : 2048 KB
physical id  : 0
siblings  : 2
core id    : 0
cpu cores  : 2
apicid    : 0
initial apicid  : 0
fpu    : yes
fpu_exception  : yes
cpuid level  : 13
wp    : yes
flags    : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm arat epb xsaveopt pln pts dtherm
bogomips  : 4190.82
clflush size  : 64
cache_alignment  : 64
address sizes  : 36 bits physical, 48 bits virtual
power management:

processor  : 1
vendor_id  : GenuineIntel
cpu family  : 6
model    : 42
model name  : Intel(R) Pentium(R) CPU B950 @ 2.10GHz
stepping  : 7
microcode  : 0x1a
cpu MHz    : 2100.000
cache size  : 2048 KB
physical id  : 0
siblings  : 2
core id    : 1
cpu cores  : 2
apicid    : 2
initial apicid  : 2
fpu    : yes
fpu_exception  : yes
cpuid level  : 13
wp    : yes
flags    : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm arat epb xsaveopt pln pts dtherm
bogomips  : 4190.82
clflush size  : 64
cache_alignment  : 64
address sizes  : 36 bits physical, 48 bits virtual
power management:



Memory: 4k page, physical 3948356k(626512k free), swap 1996796k(1944292k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (24.76-b04) for linux-amd64 JRE (1.7.0_76-b13), built on Dec 18 2014 16:58:39 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)

time: Sun Apr 19 20:08:51 2015
elapsed time: 124277 seconds






Jantje

I'm sorry I have no clue what is wrong.
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy