Boinc new project compiling problem

Message boards : API : Boinc new project compiling problem
Message board moderation

To post messages, you must log in.

AuthorMessage
Shifty

Send message
Joined: 17 Sep 08
Posts: 2
Canada
Message 20324 - Posted: 17 Sep 2008, 1:54:12 UTC

Hello,

this may have been answered elsewhere, i am new to development on linux, and i am trying to make an app work with the boinc api.

i get errors like:
main.c undefined reference to `boinc_init`

i have #included the boinc_api.h
(and note that the compiler found that file)

and i have the source available in my /usr/local/include/boinc folder.

i have a strange feeling that my build environment is not setup properly, can someone give me a hint as to what i am doing wrong?

i am using g++ with a new debian 64 bit system.

thanks

ID: 20324 · Report as offensive
Shifty

Send message
Joined: 17 Sep 08
Posts: 2
Canada
Message 20515 - Posted: 26 Sep 2008, 18:34:38 UTC - in response to Message 20324.  

Hello,

this may have been answered elsewhere, i am new to development on linux, and i am trying to make an app work with the boinc api.

i get errors like:
main.c undefined reference to `boinc_init`

i have #included the boinc_api.h
(and note that the compiler found that file)

and i have the source available in my /usr/local/include/boinc folder.

i have a strange feeling that my build environment is not setup properly, can someone give me a hint as to what i am doing wrong?

i am using g++ with a new debian 64 bit system.

thanks




It looks like i solved my own problem, (a while ago)

What happened was i was not sure what environment variables to set and how to set them.

I looked at the example apps and just took a makefile from one of those, then for some unknown reason it worked fine, lol :)

so no need to further reply to this message i will post more questions as they come along.

thanks

~Shifty
ID: 20515 · Report as offensive

Message boards : API : Boinc new project compiling problem

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.