Home     Company     Products     Services     Community     Download     Store
    [Home arrow Community arrow Forum ]
Community
Community
Login Form





Lost Password?
No account yet? Register
Evidence Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Project building failure with EE 1.4.3 (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Project building failure with EE 1.4.3
#213
paolo.gai (Admin)
Admin
Posts: 116
graph
User Offline Click here to see the profile of this user
Re:Project building failure with EE 1.4.3 2 Months, 3 Weeks ago Karma: 4  
Ok... I just got today another mail saying that ERIKA was failing to compile on PIC30 GCC 3.11.

The reason for the failure seems to be that the new PIC30 GCC has a set of different directories for the include files. It's the second time they changed it in less than 1 year

the situation is the following:
- I currently have no problems in compiling with version 3.02
- on my machine the files are under C:Program FilesMicrochipMPLAB C30supporth*
- version 3.1x changed the location, making the makefile fail the compilation

Solutions:
- downgrade to PIC30 3.02 for now
- we are going to change the makefiles ASAP; we will probably release a patch soon, that will be included under EE 1.5.0, planned to be released soon.

Sorry again for that, but it is difficult to cope beforehand with changing directories in the compilers...

PJ
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#215
icserny (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Project building failure with EE 1.4.3 2 Months, 3 Weeks ago Karma: 0  
Hi Paolo,

Thank you for your answer. I will try to downgrade the C30 installation.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#226
icserny (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Project building failure with EE 1.4.3 2 Months, 3 Weeks ago Karma: 0  
Hi,

I'm glad to tell you that the demo project has been successfully compiled with an older version of MPLAB and C30. Thank you again for your advices!

it is difficult to cope beforehand with changing directories in the compilers...
Yes, I understand. But wouldn't be better to let the users to specify the location of the include directories? It may be a bit inconvenient form the user's point of view, but gives much more flexibility on the other hand.

In the MPLAB IDE one can specify even several include directories, and the installation directory of C30 is just the default (or assumed) root for the includes.

I also would like to see more feedback from the make process or from the compiler, especially when fatal errors occured or some files are missing.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#227
paolo.gai (Admin)
Admin
Posts: 116
graph
User Offline Click here to see the profile of this user
Re:Project building failure with EE 1.4.3 2 Months, 3 Weeks ago Karma: 4  

I'm glad to tell you that the demo project has been successfully compiled with an older version of MPLAB and C30. Thank you again for your advices!


Good!!!


it is difficult to cope beforehand with changing directories in the compilers...
Yes, I understand. But wouldn't be better to let the users to specify the location of the include directories? It may be a bit inconvenient form the user's point of view, but gives much more flexibility on the other hand.


Of course... you can already do that using the CFLAGS option in the OIL file...

but some of the include files are taken directly from the C30 compiler distribution... maybe we'll need to change that...


I also would like to see more feedback from the make process or from the compiler, especially when fatal errors occured or some files are missing.


also this can be done using the VERBOSE option (section 2.3.3 of the arch_pic30 manual). Could that be ok?

In any case, thanks again for the feedback... and continue reporting things, we are working hard to improve the libraries and support for ERIKA and pic30!

Ciao,

PJ
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#230
icserny (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Project building failure with EE 1.4.3 2 Months, 3 Weeks ago Karma: 0  
Hi again,

This time I would like to report a success-story for all of you, who are interested in. It is possible to compile the demo projects for dsPIC30 with EE 1.4.3 by using the lataest MPLAB and C30. But some tricks are necessary... This is how to build the Devices Demo for the Explorer 16 board:

1. Copy the directory structure from inside of C:Program FilesMicrochipMPLAB C30supportdsPIC33 up to one level (i.e. to C:Program FilesMicrochipMPLAB C30support). (I guess that we only need files incp33FJ256GP710.inc hp33FJ256GP710.h but I've copied all of the directories (h,inc,gld), just to be on the safe side. You can do it in a more clever way).

2. Copy also the file libp33FJ256GP710-elf.a from directory ...C30libdsPIC33F to ...C30lib (i.e. up to one level)

3. Now you can start RT-Druid to create the demo project, following the instructions of the Tutorial. Alas, still you will get an error message saying that p30f2010.inc cannot be found.

4. This is the dirtiest trick, hope that Paolo can suggest a better solution for it: copy the file p30f2010.inc from C:Program FilesMicrochipMPLAB C30supportdsPIC30Finc inth the Debugfrommchp directory of your demo project. (You should already find there the files crt0.s, p33FJ256GP710.inc, p33FJ256GP710.h)

5. You can try to build the project again, and finally you can find the so wanted file: pic30.cof

---------------
Concerning more feedback: this can be done using the VERBOSE option (section 2.3.3 of the arch_pic30 manual). Could that be ok?VERBOSE it's a nice option, gives many useful information. But this is still not enough. As you see above I was unable to find were on the earth the file p30f2010.inc was looked for by the build procedure, and why was it not found in the default location (I mean ...C30supportinc)? There was a similar problem with the file libp33FJ256GP710-elf.a, but the VERBOSE option didn't help me to find the proper location where I should put it. I had to find it's proper place by myself using analogies.

In any case, thanks again for the feedback... and continue reporting things
I'm sorry to say, but I have finished my experimenting with EE, and I've decided not to use it. I don't want to live together with so many complications: I need Java, cygwin, Eclipse, RT-Druid and MPLAB and all these packages sould be compatible to get them working. This is too much risk, since both Java and MPLAB is refreshed frequently and independently from you.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#233
paolo.gai (Admin)
Admin
Posts: 116
graph
User Offline Click here to see the profile of this user
Re:Project building failure with EE 1.4.3 2 Months, 3 Weeks ago Karma: 4  
Hi,

...thanks for your message,a nd thanks for your explanations. I understand that there was no help for finding the missing files, in any case it is also true that these files should have been copied in the right place by the makefiles and not by you directly. I'm also really sorry that you will not use EE, and I may understand partially your reasons... although please understand that your problem was mainly only related to a different version of the C30 Compiler, issue that can be solved by modifying a few lines of the main makefile.

Ciao,

Paolo
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Evidence S.r.l. - PIVA: 01638690501
Via Carducci 64/A - Ghezzano - Pisa - Italy
Privacy Policy