Results 1 to 10 of 37

Thread: Radioactive: Need a volunteer to compile OSX app

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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)

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

    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


  3. #3
    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)

  4. #4
    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)

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

    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


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

    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


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

    Re: Radioactive: Need a volunteer to compile OSX app

    Hmm. Still no joy.

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

    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


  8. #8
    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

    Since it isn't even getting to the first line of output which happens prior to anything else, my guess is that it can't find the usb library.

    What do you get when you run:
    otool -L <app_name>
    Spring 2008 Race: (1st Place)

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

    Re: Radioactive: Need a volunteer to compile OSX app

    Quote Originally Posted by Slicker View Post
    Since it isn't even getting to the first line of output which happens prior to anything else, my guess is that it can't find the usb library.

    What do you get when you run:
    otool -L <app_name>
    % otool -L ./radac_1.54_x86_64-apple-darwin
    otool: Command not found.

    Maybe the command has a typo?
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


Posting Permissions

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