Forum: Compiler & IDEs AVR32 Studio - Library Problem


von Peter D. (Gast)


Lesenswert?

Hi folk,

I have a small problem:

When I am creating a Managed Make C-Project, I can add easily a library 
in the GCC C-Linker Options (Project Properties -> C/C++ Build -> GCC C 
Linker/ Libraries -> "pthread" and "upnp"). Further, i have a extra 
directory with all 'include files' in the Project-View (Binaires, 
Includes, Debug, SourceFiles,...).

This is not the problem, but when I am creating a "Managed Make AVR32 C 
Project" for the AP7000/ STK1000, its impossible to add the libraries 
(Project Properties -> C/C++ Build --> AVR32/GNU Linux C Linker). I have 
absolute no idea, why it doesnt work and I am doing the same.

The libraries are saved as well in the /usr/lib/ as in /usr/local/lib/ 
directories.

Thanks in advance for any help.

Cheers,

Pete

PS: I am using Fedora Core 6 and AVR Version 0.9 and 1.0. It doesnt 
matter for wich Version I will get a solution.

PSPS: Antworten werden auch auf Deutsch akzeptiert ;-)

von Florian D. (code-wiz)


Lesenswert?

Hi Pete,

the problem is probably that you want to add precompiled 'shared' 
libraries to your project which have not been compiled for the target 
architecture (i.e. AVR32) but for your host (e.g. x86).

Get the library sources, compile them for AVR32 and then try to include 
them.

Cheers,

Florian

von Steven B. (rokit)


Lesenswert?

i'm not sure if i understand what you want.
you can load other libraries over the framework tap.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.