Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 37

Thread: Radioactive: Need a volunteer to compile OSX app

  1. #11
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,268

    Re: Radioactive: Need a volunteer to compile OSX app

    Thanks! I'll give it a shot over the weekend!
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  2. #12
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Radioactive: Need a volunteer to compile OSX app

    Quote Originally Posted by Fire$torm View Post
    Cool. I take it that generic USB library is GPL? If so do you mind posting a link to it?
    http://www.libusb.org

    Note: The radioactive@home app uses the old 0.1 version, not the newer 1.0 version.
    Spring 2008 Race: (1st Place)

  3. #13
    Past Administrator
    Fire$torm's Avatar
    Join Date
    October 13th, 2010
    Location
    In the Big City
    Posts
    7,938

    Re: Radioactive: Need a volunteer to compile OSX app

    Quote Originally Posted by Slicker View Post
    http://www.libusb.org

    Note: The radioactive@home app uses the old 0.1 version, not the newer 1.0 version.
    Thank you. I'll give it a look at it and try to edjumacate myself. Lets see how long it take for that code to make my head spin.......


    Future Maker? Teensy 3.6

  4. #14
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,268

    Re: Radioactive: Need a volunteer to compile OSX app

    Quote Originally Posted by zombie67 View Post
    Thanks! I'll give it a shot over the weekend!
    Dang. I just tried it out, but got an immediate error. Here is the task:

    http://radioactiveathome.org/boinc/r...esultid=161792

    Code:
    Stderr output
    
    <core_client_version>6.12.35</core_client_version>
    <![CDATA[
    <message>
    process exited with code 2 (0x2, -254)
    </message>
    <stderr_txt>
    
    </stderr_txt>
    ]]>
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  5. #15
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Radioactive: Need a volunteer to compile OSX app

    I may have to break down and buy a sensor in order to figure it out.
    Spring 2008 Race: (1st Place)

  6. #16
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,268

    Re: Radioactive: Need a volunteer to compile OSX app

    Quote Originally Posted by Slicker View Post
    I may have to break down and buy a sensor in order to figure it out.
    I will be buying two more, when KK says go. I can lend you one at that time, if you like.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  7. #17
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Radioactive: Need a volunteer to compile OSX app

    Let's try this again....
    I changed the c++ lib to be static.
    I decided that even when linking to the .a file, it was really still using the dynamic library (.dylib file).
    I named it correctly for OS X 10.5+

    I included the libusb.dylib with its symbolic links. I think it should work in the project folder. If not, try putting them in /usr/local/lib. If that doesn't work, try otool -L to see what it reports.

    http://boinc.thesonntags.com/collatz...4-apple-darwin

    (Note: I deleted the previous one since it didn't work and the name changed)
    Spring 2008 Race: (1st Place)

  8. #18
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Radioactive: Need a volunteer to compile OSX app

    bump...
    Tried the new version of the app yet?
    Spring 2008 Race: (1st Place)

  9. #19
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,268

    Re: Radioactive: Need a volunteer to compile OSX app

    Quote Originally Posted by Slicker View Post
    bump...
    Tried the new version of the app yet?
    Sorry! Will try it tomorrow.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  10. #20
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,268

    Re: Radioactive: Need a volunteer to compile OSX app

    Quote Originally Posted by Slicker View Post
    Let's try this again....
    I changed the c++ lib to be static.
    I decided that even when linking to the .a file, it was really still using the dynamic library (.dylib file).
    I named it correctly for OS X 10.5+

    I included the libusb.dylib with its symbolic links. I think it should work in the project folder. If not, try putting them in /usr/local/lib. If that doesn't work, try otool -L to see what it reports.

    http://boinc.thesonntags.com/collatz...4-apple-darwin

    (Note: I deleted the previous one since it didn't work and the name changed)
    There is no new app_info.xml? Doesn't that need to change if the app name changes?

    I made three changes. I replaced the file name in two places, and I changed the platform name to match what is in the new app name. Hope that is correct.

    Code:
    <app_info>
    	<app>
    		<name>radac</name>
    		<user_friendly_name>Radioactivity Monitor</user_friendly_name>
    	</app>
    	<file_info>
    		<name>radac_1.54_x86_64-apple-darwin</name>
    		<executable/>
    	</file_info>
    	<app_version>
    		<app_name>radac</app_name>
    		<version_num>154</version_num>
    		<platform>x86_64-apple-darwin</platform>
    		<avg_ncpus>1.000000</avg_ncpus>
    		<max_ncpus>1.000000</max_ncpus>
    		<api_version>6.10.58</api_version>
    		<file_ref>
    			<file_name>radac_1.54_x86_64-apple-darwin</file_name>
    			<main_program/>
    		</file_ref>
    	</app_version>
    </app_info>
    Last edited by zombie67; 12-30-11 at 05:43 PM.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •