Network Shield Ethernet libraries will not compile with Linux32 MPIDE #134

Open
noisette opened this Issue Oct 1, 2011 · 10 comments

Projects

None yet

4 participants

@noisette
noisette commented Oct 1, 2011

On Ubuntu i cannot get any of the demo sketches from the Chipkit32MaxNetwork shield and basic IO shield Libraries to compile

They only compile and run on my Windows XP MPIDE.

@ricklon
Member
ricklon commented Oct 1, 2011

Which software build are you using?

Also, where did you place libraries?

--Rick

On Sat, Oct 1, 2011 at 5:38 PM, noisette
reply@reply.github.com
wrote:

On Ubuntu i cannot get any of the demo sketches from the Chipkit32MaxNetwork shield and basic IO shield Libraries to compile

They only compile and run on my Windows XP MPIDE.

Reply to this email directly or view it on GitHub:
#134

President
Fair Use Building and Research (FUBAR) Labs
http://fubarlabs.org

@noisette
noisette commented Oct 2, 2011

Hi Rick,

I use the 0022-linux32-20110822 build (but i also tried the more recent
20110907) did not have any success with both builds. Although i can
compile all other demo sketches that are installed by default.

I've created a "sketchbook" folder under my home profile in Ubuntu. I
made sure to create a subdirectory called "libraries" under this
folder,where i unzipped all the chipkit Network shield libraries.
i made sure that the FILE-PREFERENCE menu show the right path to my
"sketchbook" folder, where i created the "libraries" subfolder that
contain all the third party (Chipkit Network Shield and Basic IO shield)

The error message is :

*home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.cpp:49:27: fatal
error: chipKITCan.h: No such file or directory
compilation terminated.
*
If i try to delete the #include <chipKITCAN.h> from the demo sketch and
use the SKETCH-IMPORT LIBRARY to add it manually to the same sketch and
try another compile, then i get a slew of different error messages:

In file included from CanDemo.cpp:1:0:
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:596:3:
error: 'uint8_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:601:2:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:628:3:
error: 'uint8_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:635:5:
error: 'uint8_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:639:2:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:664:48:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:669:35:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:670:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:671:39:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:673:50:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:673:64:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:693:52:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:702:52:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:707:55:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:708:48:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:716:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:717:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:722:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:723:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:724:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:725:5:
error: 'uint32_t' does not name a type
CanDemo.cpp: In function 'void txCAN1(__uint32_t)':
CanDemo.cpp:438:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:439:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:440:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:441:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:446:14: error: 'union CAN::TxMessageBuffer' has no member
named 'data'
CanDemo.cpp: In function 'void txCAN2(__uint32_t)':
CanDemo.cpp:497:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:498:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:499:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:500:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:505:14: error: 'union CAN::TxMessageBuffer' has no member
named 'data'
CanDemo.cpp: In function 'void rxCAN1()':
CanDemo.cpp:570:30: error: 'union CAN::RxMessageBuffer' has no member
named 'data'
CanDemo.cpp: In function 'void rxCAN2()':
CanDemo.cpp:623:30: error: 'union CAN::RxMessageBuffer' has no member
named 'data'

*I am at a total loss now for what to try next. I successfully managed
to get all those Network shield and Basic IO shield demo sketchs to
compile properly under my Windows XP MPIDE , but cannot under Linux32 MPIDE.

Unfortunately, i just hate working on Windows XP, it is way to slow and
not my main PC.

I am now willing to pay for someone to remotely desktop onto my linux32
box and troubleshoot this issue , would you be able to do this if all
other suggestions fails?

Cheers and thanks for your help on this Rick,
Jean-Francois

On 11-10-01 07:09 PM, Ricklon wrote:

Which software build are you using?

Also, where did you place libraries?

--Rick

On Sat, Oct 1, 2011 at 5:38 PM, noisette
reply@reply.github.com
wrote:

On Ubuntu i cannot get any of the demo sketches from the Chipkit32MaxNetwork shield and basic IO shield Libraries to compile

They only compile and run on my Windows XP MPIDE.

Reply to this email directly or view it on GitHub:
#134

@ricklon
Member
ricklon commented Oct 2, 2011

My first guess is that there is a case sensitive issue that might be
causing the problem. However, in version 20110907 there is a problem
because of the removal of plib. The plib issue is being worked on.

--Rick

On Sat, Oct 1, 2011 at 10:35 PM, noisette
reply@reply.github.com
wrote:

Hi Rick,

I use the 0022-linux32-20110822 build (but i also tried the more recent
20110907) did not have any success with both builds. Although i can
compile all other demo sketches that are installed by default.

I've created a "sketchbook" folder under my home profile in Ubuntu. I
made sure to create a subdirectory called "libraries" under this
folder,where i unzipped all the chipkit Network shield libraries.
i made sure that the FILE-PREFERENCE menu show the right path to my
"sketchbook" folder, where i created the "libraries" subfolder that
contain all the third party (Chipkit Network Shield and Basic IO shield)

The error message is :

*home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.cpp:49:27: fatal
error: chipKITCan.h: No such file or directory
compilation terminated.
*
If i try to delete the #include <chipKITCAN.h> from the demo sketch and
use the SKETCH-IMPORT LIBRARY to add it manually to the same sketch and
try another compile, then i get a slew of different error messages:

In file included from CanDemo.cpp:1:0:
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:596:3:
error: 'uint8_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:601:2:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:628:3:
error: 'uint8_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:635:5:
error: 'uint8_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:639:2:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:664:48:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:669:35:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:670:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:671:39:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:673:50:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:673:64:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:693:52:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:702:52:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:707:55:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:708:48:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:716:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:717:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:722:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:723:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:724:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:725:5:
error: 'uint32_t' does not name a type
CanDemo.cpp: In function 'void txCAN1(__uint32_t)':
CanDemo.cpp:438:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:439:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:440:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:441:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:446:14: error: 'union CAN::TxMessageBuffer' has no member
named 'data'
CanDemo.cpp: In function 'void txCAN2(__uint32_t)':
CanDemo.cpp:497:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:498:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:499:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:500:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:505:14: error: 'union CAN::TxMessageBuffer' has no member
named 'data'
CanDemo.cpp: In function 'void rxCAN1()':
CanDemo.cpp:570:30: error: 'union CAN::RxMessageBuffer' has no member
named 'data'
CanDemo.cpp: In function 'void rxCAN2()':
CanDemo.cpp:623:30: error: 'union CAN::RxMessageBuffer' has no member
named 'data'

*I am at a total loss now for what to try next. I successfully managed
to get all those Network shield and Basic IO shield demo sketchs to
compile properly under my Windows XP MPIDE , but cannot under Linux32 MPIDE.

Unfortunately, i just hate working on Windows XP, it is way to slow and
not my main PC.

I am now willing to pay for someone to remotely desktop onto my linux32
box and troubleshoot this issue , would you be able to do this if all
other suggestions fails?

Cheers and thanks for your help on this Rick,
Jean-Francois

On 11-10-01 07:09 PM, Ricklon wrote:

Which software build are you using?

Also, where did you place libraries?

--Rick

On Sat, Oct 1, 2011 at 5:38 PM, noisette
reply@reply.github.com
wrote:

On Ubuntu i cannot get any of the demo sketches from the Chipkit32MaxNetwork shield and basic IO shield Libraries to compile

They only compile and run on my Windows XP MPIDE.

Reply to this email directly or view it on GitHub:
#134

Reply to this email directly or view it on GitHub:
#134 (comment)

President
Fair Use Building and Research (FUBAR) Labs
http://fubarlabs.org

@noisette
noisette commented Oct 4, 2011

Hi Rick,

Still no luck trying to figure out what is going on here, do you think
by logging onto my ubuntu PC using remote desktop you could get a better
idea what is going on?

Cheers,
Jean-FRancois

On 11-10-01 11:07 PM, Ricklon wrote:

My first guess is that there is a case sensitive issue that might be
causing the problem. However, in version 20110907 there is a problem
because of the removal of plib. The plib issue is being worked on.

--Rick

On Sat, Oct 1, 2011 at 10:35 PM, noisette
reply@reply.github.com
wrote:

Hi Rick,

I use the 0022-linux32-20110822 build (but i also tried the more recent
20110907) did not have any success with both builds. Although i can
compile all other demo sketches that are installed by default.

I've created a "sketchbook" folder under my home profile in Ubuntu. I
made sure to create a subdirectory called "libraries" under this
folder,where i unzipped all the chipkit Network shield libraries.
i made sure that the FILE-PREFERENCE menu show the right path to my
"sketchbook" folder, where i created the "libraries" subfolder that
contain all the third party (Chipkit Network Shield and Basic IO shield)

The error message is :

*home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.cpp:49:27: fatal
error: chipKITCan.h: No such file or directory
compilation terminated.
*
If i try to delete the #include<chipKITCAN.h> from the demo sketch and
use the SKETCH-IMPORT LIBRARY to add it manually to the same sketch and
try another compile, then i get a slew of different error messages:

In file included from CanDemo.cpp:1:0:
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:596:3:
error: 'uint8_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:601:2:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:628:3:
error: 'uint8_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:635:5:
error: 'uint8_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:639:2:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:664:48:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:669:35:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:670:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:671:39:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:673:50:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:673:64:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:693:52:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:702:52:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:707:55:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:708:48:
error: 'uint32_t' has not been declared
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:716:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:717:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:722:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:723:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:724:5:
error: 'uint32_t' does not name a type
/home/jean-francois/sketchbook/libraries/chipKITCAN/chipKITCAN.h:725:5:
error: 'uint32_t' does not name a type
CanDemo.cpp: In function 'void txCAN1(__uint32_t)':
CanDemo.cpp:438:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:439:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:440:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:441:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:446:14: error: 'union CAN::TxMessageBuffer' has no member
named 'data'
CanDemo.cpp: In function 'void txCAN2(__uint32_t)':
CanDemo.cpp:497:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:498:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:499:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:500:14: error: 'union CAN::TxMessageBuffer' has no member
named 'messageWord'
CanDemo.cpp:505:14: error: 'union CAN::TxMessageBuffer' has no member
named 'data'
CanDemo.cpp: In function 'void rxCAN1()':
CanDemo.cpp:570:30: error: 'union CAN::RxMessageBuffer' has no member
named 'data'
CanDemo.cpp: In function 'void rxCAN2()':
CanDemo.cpp:623:30: error: 'union CAN::RxMessageBuffer' has no member
named 'data'

*I am at a total loss now for what to try next. I successfully managed
to get all those Network shield and Basic IO shield demo sketchs to
compile properly under my Windows XP MPIDE , but cannot under Linux32 MPIDE.

Unfortunately, i just hate working on Windows XP, it is way to slow and
not my main PC.

I am now willing to pay for someone to remotely desktop onto my linux32
box and troubleshoot this issue , would you be able to do this if all
other suggestions fails?

Cheers and thanks for your help on this Rick,
Jean-Francois

On 11-10-01 07:09 PM, Ricklon wrote:

Which software build are you using?

Also, where did you place libraries?

--Rick

On Sat, Oct 1, 2011 at 5:38 PM, noisette
reply@reply.github.com
wrote:

On Ubuntu i cannot get any of the demo sketches from the Chipkit32MaxNetwork shield and basic IO shield Libraries to compile

They only compile and run on my Windows XP MPIDE.

Reply to this email directly or view it on GitHub:
#134

Reply to this email directly or view it on GitHub:
#134 (comment)

@peplin
peplin commented Oct 10, 2011

There are similar platform-specific issues in the chipKITUSBDevice library (and I'm assuming all of the other libraries, too).

In chipKITUSBDevice.h:

#include "usb\usb_common.h"                                                      
#include "usb\usb_ch9.h"                                                         
#include "usb\usb_device.h"                                                      
#include "usb\usb_function_generic.h"                                            
#include "usb\usb_hal_pic32.h"

needs to be replaced with:

#include "USB/usb_common.h"                                                      
#include "USB/usb_ch9.h"                                                                                                                                                                                                                       
#include "USB/usb_device.h"                                                      
#include "USB/usb_function_generic.h"                                            
#include "USB/usb_hal_pic32.h"

~ bunch of other files in the USB directory also need their includes to reference USB/* instead of usb/* on case-sensitive filesystems.

Finally, utility/usb_device.c references USB/USB.h but should be USB/usb.h.

@peplin
peplin commented Oct 10, 2011

In the Ethernet library, I had to change references to "ChipKIT*.h" includes (should be chipKIT) in the following files:

chipKITClient.cpp
chipKITEthernet.cpp
chipKITServer.cpp

Is there a good way to contribute patches for this as I go along? I don't see this code on GitHub (I'm assuming because of licensing issues with Microchip).

@noisette

Hi Christopher,

First of all, thanks for your help on this issue. I've completed the
modifications you described, and now get the following errors in
chipKITUDP.cpp at line 301 (ChipKITUDPReadPacket). It looks like there
is an extra argument in there...

Error pasted below:
/

/home/jean-francois/Documents/mpide-0022-linux32-20110822/sketchbook/libraries/chipKITEthernet/chipKITUDP.cpp:
In member function ‘int UDP::readPacket(uint8_t_, uint16_t, uint8_t_,
uint16_t*)’:

/home/jean-francois/Documents/mpide-0022-linux32-20110822/sketchbook/libraries/chipKITEthernet/chipKITUDP.cpp:301:
error: invalid conversion from ‘uint16_t_’ to ‘WORD_’

/home/jean-francois/Documents/mpide-0022-linux32-20110822/sketchbook/libraries/chipKITEthernet/chipKITUDP.cpp:301:
error: initialising argument 5 of ‘int
ChipKITUDPReadPacket(UDP_SOCKET, uint8_t_, WORD, NODE_INFO_, WORD*)’
/

Cheers,
Jean-Francois.

On 11-10-10 03:42 PM, Christopher Peplin wrote:

In the Ethernet library, I had to change references to "ChipKIT*.h" includes (should be chipKIT) in the following files:

chipKITClient.cpp
chipKITEthernet.cpp
chipKITServer.cpp

Is there a good way to contribute patches for this as I go along? I don't see this code on GitHub (I'm assuming because of licensing issues with Microchip).

@noisette

On compiling the Candemo sketch , i get these errors:
/

/home/jean-francois/Documents/mpide-0022-linux32-20110822/sketchbook/libraries/chipKITCAN/chipKITCAN.cpp:45:24:
error: p32xxxx.h: No such file or directory
/home/jean-francois/Documents/mpide-0022-linux32-20110822/sketchbook/libraries/chipKITCAN/chipKITCAN.cpp:46:21:
error: plib.h: No such file or directory
/home/jean-francois/Documents/mpide-0022-linux32-20110822/sketchbook/libraries/chipKITCAN/chipKITCAN.cpp:88:
error: variable or field ‘__ISR’ declared void
/home/jean-francois/Documents/mpide-0022-linux32-20110822/sketchbook/libraries/chipKITCAN/chipKITCAN.cpp:88:
error: ‘_CAN_1_VECTOR’ was not declared in this scope
/home/jean-francois/Documents/mpide-0022-linux32-20110822/sketchbook/libraries/chipKITCAN/chipKITCAN.cpp:88:
error: ‘ipl4’ was not declared in this scope
/home/jean-francois/Documents/mpide-0022-linux32-20110822/sketchbook/libraries/chipKITCAN/chipKITCAN.cpp:1143:
error: expected `}' at end of input
/

@peplin
peplin commented Oct 11, 2011

Hm, I can compile the CanDemo without issue after fixing the chipKITCan.h include at the top of chipKITCAN.cpp. Can you confirm that nothing else in the files changed?

@peplin
peplin commented Oct 26, 2011

Ah, I just ran into your second problem on another computer, @noisette. Make sure you have the correct board selected in Tools -> Board and it should fix the problem.

@GeneApperson GeneApperson was assigned Mar 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment