How to compile own seti client using Dev-C++?

Message boards : Number crunching : How to compile own seti client using Dev-C++?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile S.L.Chia
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 98
Credit: 2,667,122
RAC: 1
Malaysia
Message 601546 - Posted: 11 Jul 2007, 0:31:45 UTC

Anybody using Dev-C++ to compile seti?

Thanks!
ID: 601546 · Report as offensive
Josef W. Segur
Volunteer developer
Volunteer tester

Send message
Joined: 30 Oct 99
Posts: 4504
Credit: 1,414,761
RAC: 0
United States
Message 601612 - Posted: 11 Jul 2007, 4:11:09 UTC - in response to Message 601546.  

Anybody using Dev-C++ to compile seti?

Thanks!

Yes, Eric Korpela compiles the stock Windows release with Dev-C++, and I also use it. Note that the current setiathome_enhanced source is for the Multibeam application which should only be used in the SETI Beta project until the project decides to release it here. You'll need parts of the BOINC source too.

If you have specific questions I may be able to help, I usually scan this board at least once a day.
                                                                 Joe
ID: 601612 · Report as offensive
Profile S.L.Chia
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 98
Credit: 2,667,122
RAC: 1
Malaysia
Message 601619 - Posted: 11 Jul 2007, 5:10:52 UTC

Any tutorial or guide line for sharing? :)

Thank you!

ID: 601619 · Report as offensive
Josef W. Segur
Volunteer developer
Volunteer tester

Send message
Joined: 30 Oct 99
Posts: 4504
Credit: 1,414,761
RAC: 0
United States
Message 601930 - Posted: 11 Jul 2007, 19:24:58 UTC - in response to Message 601619.  

Any tutorial or guide line for sharing? :)

No, AFAIK there isn't any. But here are some quick tips which may get you started.

The project files are in the seti_boinc\\client\\win_build subdirectory. Theoretically you should be able to load SAHjpeg.dev and build the JPEG library, then seti_boinc.dev and build the application.

The JPEG library build ends with one error for me, DevC++ sets the makefile to run ranlib at the end and it seems to fail every time. But since it would only add an index to the library to speed up linking I just ignore that error.

The parts of the application build which use BOINC source will give many warnings, most of which come from converting NULL to DWORD. The BOINC source also depends on DbgHelp.h but doesn't provide it. Theoretically, you should install the Microsoft Platform SDK or a Microsoft compiler to get that, but the file can be found by itself on the web. Then you'll probably find that parts of boinc\\lib\\stackwalker_imports.h conflict with DbgHelp.h and need to be commented out. But eventually you should be able to compile with no errors and only benign warnings.
                                                                Joe
ID: 601930 · Report as offensive
Profile S.L.Chia
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 98
Credit: 2,667,122
RAC: 1
Malaysia
Message 602109 - Posted: 12 Jul 2007, 0:34:03 UTC - in response to Message 601930.  

Any tutorial or guide line for sharing? :)

No, AFAIK there isn't any. But here are some quick tips which may get you started.

The project files are in the seti_boinc\\client\\win_build subdirectory. Theoretically you should be able to load SAHjpeg.dev and build the JPEG library, then seti_boinc.dev and build the application.

The JPEG library build ends with one error for me, DevC++ sets the makefile to run ranlib at the end and it seems to fail every time. But since it would only add an index to the library to speed up linking I just ignore that error.

The parts of the application build which use BOINC source will give many warnings, most of which come from converting NULL to DWORD. The BOINC source also depends on DbgHelp.h but doesn't provide it. Theoretically, you should install the Microsoft Platform SDK or a Microsoft compiler to get that, but the file can be found by itself on the web. Then you'll probably find that parts of boinc\\lib\\stackwalker_imports.h conflict with DbgHelp.h and need to be commented out. But eventually you should be able to compile with no errors and only benign warnings.
                                                                Joe

Thanks for sharing~
ID: 602109 · Report as offensive

Message boards : Number crunching : How to compile own seti client using Dev-C++?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.