<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Paul Solt &#187; Macbook Pro</title>
	<atom:link href="http://paulsolt.com/tag/macbook-pro/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulsolt.com</link>
	<description>Putting the Inc back in Solt since 2005.</description>
	<lastBuildDate>Wed, 12 May 2010 19:34:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Player/Stage, MacPorts, and iPhone</title>
		<link>http://paulsolt.com/2009/04/playerstage-macports-and-iphone/</link>
		<comments>http://paulsolt.com/2009/04/playerstage-macports-and-iphone/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 22:43:40 +0000</pubDate>
		<dc:creator>Paul Solt</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Macbook Pro]]></category>
		<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[player/stage]]></category>

		<guid isPermaLink="false">http://paulsolt.com/?p=193</guid>
		<description><![CDATA[Today I worked on setting up Player/Stage on my Macbook Pro with Leopard 10.5.6 and I ran into a few issues. I was using Macports 1.710 and I was attempting to install player-stage-player (2.03 2.1.2) and player-stage-stage (2.03 2.1.1) following a short guide at http://bentham.k2.t.u-tokyo.ac.jp/notebook/?p=247 If it&#8217;s your first time using macports it can take [...]]]></description>
			<content:encoded><![CDATA[<p>Today I worked on setting up Player/Stage on my Macbook Pro with Leopard 10.5.6 and I ran into a few issues.</p>
<p>I was using Macports 1.710 and I was attempting to install player-stage-player (2.03 <span style="text-decoration: line-through;">2.1.2</span>) and player-stage-stage (2.03 <span style="text-decoration: line-through;">2.1.1</span>) following a short guide at <a href="http://bentham.k2.t.u-tokyo.ac.jp/notebook/?p=247">http://bentham.k2.t.u-tokyo.ac.jp/notebook/?p=247</a></p>
<p>If it&#8217;s your first time using macports it can take a long time. I waited 2+ hours to download/build/install dependencies</p>
<p>I used the command:</p>
<pre>$ sudo port install playerstage-player playerstage-stage</pre>
<p>However it errored out at the end with the message:</p>
<pre>$ sudo port install playerstage-player playerstage-stage
---&gt;  Building playerstage-player
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_playerstage-player/work/player-2.0.4" &amp;&amp; make all " returned error 2
Command output: building '_playerc' extension
swigging playerc.i to playerc_wrap.c
swig -python -o playerc_wrap.c playerc.i
playerc.i:44: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG&lt;LANG&gt; instead.
playerc.i:82: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG&lt;LANG&gt; instead.
playerc.i:121: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG&lt;LANG&gt; instead.
playerc.i:127: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG&lt;LANG&gt; instead.
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -I./../.. -I../../../.. -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c playerc_wrap.c -o build/temp.macosx-10.5-i386-2.5/playerc_wrap.o
playerc_wrap.c: In function '_wrap_playerc_mclient_client_set':
playerc_wrap.c:40301: warning: assignment from incompatible pointer type
playerc_wrap.c: In function '_wrap_playerc_mclient_addclient':
playerc_wrap.c:40504: warning: passing argument 2 of 'playerc_mclient_addclient' from incompatible pointer type
playerc_wrap.c: In function '_wrap_playerc_mclient_client_set':
playerc_wrap.c:40301: warning: assignment from incompatible pointer type
playerc_wrap.c: In function '_wrap_playerc_mclient_addclient':
playerc_wrap.c:40504: warning: passing argument 2 of 'playerc_mclient_addclient' from incompatible pointer type
gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc build/temp.macosx-10.5-i386-2.5/playerc_wrap.o -L./../../.libs -L../../../../libplayerxdr/.libs -L../../../../libplayercore/.libs -L../../../../libplayerjpeg/.libs -lplayerxdr -lplayerc -lplayerjpeg -ljpeg -lplayererror -o build/lib.macosx-10.5-i386-2.5/_playerc.so
ld: library not found for -ljpeg
collect2: ld returned 1 exit status
ld: library not found for -ljpeg
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccI9TvVp.out
(No such file or directory)
error: command 'gcc' failed with exit status 1
make[6]: *** [pythonbuild] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.</pre>
<p>So I searched around the MacPorts website and I came across the ticket <a title="Bug Ticket" href="http://trac.macports.org/ticket/18891#comment:3">#18891</a>, which basically said to run the following command to change the version of <strong>python</strong> being used from 3.0 to 2.5.</p>
<pre>$ sudo port install python_select &amp;&amp; sudo python_select python25
Skipping org.macports.activate (python_select +darwin_9) since this
port is already active
---&gt;  Cleaning python_select
Selecting version "python25" for python</pre>
<p>Following that command I was able to finish installing Player/Stage via MacPorts by using the orginal port command.</p>
<pre>$ sudo port install playerstage-player playerstage-stage
---&gt;  Building playerstage-player
---&gt;  Staging playerstage-player into destroot
---&gt;  Installing playerstage-player @2.0.4_2
---&gt;  Activating playerstage-player @2.0.4_2
---&gt;  Cleaning playerstage-player
---&gt;  Fetching playerstage-stage
---&gt;  Attempting to fetch stage-2.0.3.tar.bz2 from

http://voxel.dl.sourceforge.net/playerstage

---&gt;  Verifying checksum(s) for playerstage-stage
---&gt;  Extracting playerstage-stage
---&gt;  Configuring playerstage-stage
---&gt;  Building playerstage-stage
---&gt;  Staging playerstage-stage into destroot
---&gt;  Installing playerstage-stage @2.0.3_0
---&gt;  Activating playerstage-stage @2.0.3_0
---&gt;  Cleaning playerstage-stage</pre>
<p>I tried to use player stage from MacPorts.</p>
<pre>$ player /opt/local/var/macports/software/playerstage-stage\
/*/opt/local/share/stage/worlds/simple.cfg</pre>
<p>And I received the error:</p>
<pre>rr: unable to open color database /usr/X11R6/lib/X11/rgb.txt
 : No such file or directory (stage.c stg_lookup_color)</pre>
<p>Following the advice from <a title="PlayerStage setup" href="http://bentham.k2.t.u-tokyo.ac.jp/notebook/?cat=5" target="_blank">http://bentham.k2.t.u-tokyo.ac.jp/notebook/?cat=5</a> I added the following link.</p>
<div id="codebox">
<pre>$ sudo ln -s /usr/X11/share/X11/rgb.txt /usr/X11R6/lib/X11/rgb.txt</pre>
<p>Now I am able to create a player server and connect with a client with the commands:</p>
<pre>$ player /opt/local/var/macports/software/playerstage-stage\
/*/opt/local/share/stage/worlds/simple.cfg

/opt/local/var/macports/software/playerstage-player\
/*/opt/local/share/player/examples/libplayerc++/laserobstacleavoid</pre>
<p>With the ability to run player/stage I will post again on my progress as I use an iPhone to run the Player client, rather than my Macbook Pro.</p>
<div id="attachment_209" class="wp-caption alignleft" style="width: 644px"><a rel="attachment wp-att-209" href="http://paulsolt.com/2009/04/playerstage-macports-and-iphone/robotiphone/"><img class="size-full wp-image-209" title="robotiphone" src="http://paulsolt.com/wp-content/uploads/2009/04/robotiphone.png" alt="Player client running on iPhone with Player/Stage." width="634" height="688" /></a><p class="wp-caption-text">Player client running on iPhone with Player/Stage.</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://paulsolt.com/2009/04/playerstage-macports-and-iphone/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Macbook Pro + Windows + Dual Monitors = Painful</title>
		<link>http://paulsolt.com/2008/09/macbook-pro-windows-dual-monitors-painful/</link>
		<comments>http://paulsolt.com/2008/09/macbook-pro-windows-dual-monitors-painful/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 16:57:56 +0000</pubDate>
		<dc:creator>Paul Solt</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Boot Camp]]></category>
		<category><![CDATA[Dual Monitors]]></category>
		<category><![CDATA[Macbook Pro]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.paulsolt.com/?p=36</guid>
		<description><![CDATA[I didn&#8217;t think it would be so hard to just get my taskbar and icons on a second monitor using Windows on my Macbook Pro. It doesn&#8217;t seem like a whole lot of people run Windows on the Mac, so there isn&#8217;t a whole lot of resources if you get stuck. It takes a lot [...]]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t think it would be so hard to just get my taskbar and icons on a second monitor using Windows on my Macbook Pro. It doesn&#8217;t seem like a whole lot of people run Windows on the Mac, so there isn&#8217;t a whole lot of resources if you get stuck. It takes a lot of digging to find the real answers. Turns out the display drivers from NVIDIA/Apple for Windows don&#8217;t support making an external monitor as a primary monitor. It only gives the option of making the laptop display primary. This limitation is very painful and kept me up for hours/days searching for registry hacks, hacked drivers, and more. Here&#8217;s what I found that didn&#8217;t work and what did:<span id="more-34"></span></p>
<p><strong>Registry hack:  Fail = True;</strong></p>
<blockquote><p>The Apple nVidia driver INF file is missing 2 registry entries for using external display as primary in a dual display setup. The keys you need are:</p>
<p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video{C0FF928A-9E27-40AE-845F-E0D8A8E03216}\0000<br />
&#8220;DualViewAllow2ndViewAsPrimary&#8221;=dword:00000001<br />
&#8220;DualViewMobile&#8221;=dword:00000002</p>
<p>Do not import these lines directly. Do them manually via REGEDIT. The hardware ID (C0FF928A-9E27-40AE-845F-E0D8A8E03216) is different in every system, so put the keys in the correct video hardware key in your system.</p></blockquote>
<p>Turns out Windows didn&#8217;t like the registry hack and I couldn&#8217;t get anything up on the display, even though I was able to get the primary display option on my external monitor with the hack. I also had to guess which hardware ID to use, since there were 5 hardware key options. I tried the logical one with a lot of registry entries for display modes/settings under the 0000 folder.</p>
<p><strong>Updated Supported Drivers:  Fail = True;</strong><br />
Again I began searching for something else, but there&#8217;s not a whole lot of information on this topic. I contemplated installing a different set of drivers for Windows, but the one I found referenced from Apples discussion page was older than the current driver I have now. There was a recent update for Boot Camp to 2.1 this summer which looks like it included new NVIDIA drivers.</p>
<p><strong>Updated Un-supported Drivers:  Fail = True;</strong><br />
Not having a real solution from Apple I looked into the drivers from http://www.laptopvideo2go.com/ however I found a few posts that said it didn&#8217;t help or wasn&#8217;t performing as well. I&#8217;m doing game development (XNA) on my laptop and I don&#8217;t want to ruin a working system or introduce incompatibilities; so stability is very important for me at the moment. I decided to try and avoid non-standard drivers and look for another alternative.</p>
<p><strong>nView Desktop Manager:  Success = True;</strong><br />
<img src="http://paulsolt.com/wp-content/uploads/2008/09/nviewdesktop.png" alt="nView Desktop Manager" /><br />
Here is the solution that I had been looking for; it was something I found last year, but forgot about since I didn&#8217;t have dual monitors. To enable it you&#8217;ll need to go to &#8216;Control Panel&#8217; -&gt; &#8216;NVIDIA nView Desktop Manager&#8217; -&gt; click &#8216;Enable&#8217;. Now you should see the nView Properties option when you right click on your desktop and you&#8217;ve just opened a whole can of worms for customizing your desktop.</p>
<ul>
<li>You can <strong>move your Taskbar/icons to your second display</strong> by the &#8216;Tools&#8217; tab and &#8216;Move to Display&#8217; button.</li>
<li>Set multiple desktop backgrounds using the &#8216;Desktops&#8217; tab and the Properties button. There&#8217;s a check box to &#8216;Allow different backgrounds per display&#8217;</li>
<li>Hotkeys to perform various tasks related to windows management</li>
<li>Profiles to save/load settings when switching between a dual monitor/single display setup.</li>
<li>Transparency effects on window drags and more&#8230;</li>
</ul>
<p><strong>Edit</strong>: As much as I&#8217;d like this solution to work all the time; it still has bugs. Dialogs on different applications appear on the laptop display and the software can sometimes be glitchy for the development work I&#8217;m doing. WinForms development with Visual Studio 2005 Express seems to bug it out the most and causes Icons to flicker. I&#8217;m not sure if that flicker is because of the dual monitor setup or from WinForm editing in VS 2005.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulsolt.com/2008/09/macbook-pro-windows-dual-monitors-painful/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->