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?
Shared library (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Shared library
#257
daniele.caprini (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Mantova - Pavia Birthdate: 1984-09-14
Shared library 2 Months, 1 Week ago Karma: 0  
Hi guys, there is a question for you.
I have 2 projects on Eclipse that use the same library. The library contain my functions.Now, for compile correctly I have one copy of this library in each project.
But I would like to use and modify only one file and import it into all my projects. What can I do?


ThankYou


/Daniele
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#259
chris (Moderator)
Moderator
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Re:Shared library 2 Months, 1 Week ago Karma: 0  
Ok, the right way for this is to move your library in the contrib directory of the in the erika installation directory (typically is something _link_ c:EvidenceEvidenceeecontrib).

You should create a new directory in contib with your library according to the make rules adopted by erika.
Look at the ieee802154 or scicos directories, that are two different libraries, and try to replicate the tree.

For further details, feel free to make any question.

Regards,
Chris.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#275
daniele.caprini (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Mantova - Pavia Birthdate: 1984-09-14
Re:Shared library 2 Months ago Karma: 0  
Ehi guys,
I have try to build the entire tree, as described in this 3d :

http://www.evidence.eu.com/component/option,com_fireboard/Itemid,262/func,view/id,14/catid,4/#16

but nothing works.
How can I do???
Is there another easy way to create a library shared between 2 different project????
Thankx

/daniele
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/11/05 17:19 By daniele.caprini. Reason: Add another question
  The administrator has disabled public write access.
#278
paolo.gai (Admin)
Admin
Posts: 116
graph
User Offline Click here to see the profile of this user
Re:Shared library 2 Months ago Karma: 4  
Hi Daniele,

please report at least what the compiler says, what you put in the OIL file... without that it's impossible to understand what is going wrong... saying "nothi ng works" does not help.

bye

PJ
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#280
daniele.caprini (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Mantova - Pavia Birthdate: 1984-09-14
Re:Shared library 2 Months ago Karma: 0  
Hi Paolo, I'm sorry.

BTW, Today I have replicate the entire tree into contrib directory as Chris suggest me.
When I compile this is the result:

Code: :

C:\Evidence\Evidence\bin\mymake_cygwin.bat all MAKE_DIRECTORIES CP p33FJ256MC710.h GEN ee_pic30regs.h DEP   eecfg.c DEP   code.c c:/WORKSP~1/TEST_S~1/code.c:48:22: provalib.h: No such file or directory MAKE_DIRECTORIES (after a clean) CPP   provalib.c AR  libprovalib.a CPP   eecfg.c CPP   code.c CP crt0.s CP p30f2010.inc ASM   crt0.s LOC CPP   ee_board.c CP p33FJ256MC710.inc GEN ee_pic30regs.inc PRE   ee_hal.S ASM   ee_hal.S CPP   ee_hal_c.c CPP   ee_alcancel.c CPP   ee_altick.c CPP   ee_alget.c CPP   ee_alsetabs.c CPP   ee_alsetrel.c CPP   ee_irqsc.c CPP   ee_rqexchg.c CPP   ee_rqinsert.c CPP   ee_schedule.c CPP   ee_thact.c CPP   ee_thendin.c CPP   ee_mutex.c AR  libee.a LD OBJDUMP ************************************ Compilation terminated successfully!



All work fine but Eclipse report an error on include line "provalib.h" into the code.c file.

The files attached are my code.c , conf.oil and the directory included in contrib.

I hope you can help me.
Thank you in advance.

Daniele
File Attachment:
File Name: file.zip
File Size: 8654
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#294
nino (Moderator)
Moderator
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Shared library 1 Month, 4 Weeks ago Karma: 2  
Some issues related with paths have been solved together with the "C30 3.11b bug".

Try using the patch that you can find here.

Nino
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/11/07 20:30 By nino.
  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