<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<title>ADMB port to Cuda </title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Grande";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:13.5pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-weight:bold;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sorry if this is the wrong place to communicate.&nbsp; It&#8217;s pretty
confusing where discussions are meant to go these days and the admb-project.org
and google code pages are pretty opaque from the outside.&nbsp; <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>As I posted yesterday:<o:p></o:p></span></p>

<div style='mso-element:para-border-div;border:none;border-bottom:solid #76797C 1.0pt;
padding:0in 0in 0in 0in'>

<p class=MsoNormal style='margin-top:9.0pt;border:none;padding:0in'><a
name=1237080912><span style='font-size:6.5pt;font-family:"Lucida Grande","serif";
color:black'>Visual Studio express</span></a><span style='font-size:6.5pt;
font-family:"Lucida Grande","serif";color:black'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:4.5pt;font-family:"Lucida Grande","serif";
color:#76797C'>Posted by</span><span style='font-size:4.5pt;font-family:"Lucida Grande","serif";
color:#76797C'>&nbsp;</span><span style='font-size:4.5pt;font-family:"Lucida Grande","serif";
color:#76797C'>Jim Ianelli</span><span style='font-size:4.5pt;font-family:"Lucida Grande","serif";
color:#76797C'>&nbsp;</span><span style='font-size:4.5pt;font-family:"Lucida Grande","serif";
color:#76797C'>at</span><span style='font-size:4.5pt;font-family:"Lucida Grande","serif";
color:#76797C'>&nbsp;</span><span style='font-size:4.5pt;font-family:"Lucida Grande","serif";
color:#76797C'>Mar 14, 2009 03:35 PM<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>downloaded free version of MS Vis studio with hopes of evaluating
the debugger and IDE in general.</span><span style='font-size:5.0pt;font-family:
"Lucida Grande","serif";color:black'>&nbsp;</span><span style='font-size:5.0pt;
font-family:"Lucida Grande","serif";color:black'><br>
<br>
As I feared (and expected) the VS 7 libraries didn't work with it. Would there
be any inspiration to try to compile this under the studio express versions?
This may also ease the 64-bit versions too.</span><span style='font-size:5.0pt;
font-family:"Lucida Grande","serif";color:black'>&nbsp;</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'><br>
<br>
Here are the details of the compiler:</span><span style='font-size:5.0pt;
font-family:"Lucida Grande","serif";color:black'>&nbsp;</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'><br>
<br>
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'>&nbsp;</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'><br>
<br>
The source code compiled ok (not too surprising there) but the following link
errors occurred:</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>&nbsp;</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'><br>
<br>
C:\programs\admb-9.0.65-win32-vc7\examples\admb\simple&gt;cl simple.obj
df1b2stubo.lib admod32.lib ado32.lib adt32.lib /link
/libpath:C:\programs\admb-9.0.65-win32-vc7\lib</span><span style='font-size:
5.0pt;font-family:"Lucida Grande","serif";color:black'>&nbsp;</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'><br>
Microsoft (R) Incremental Linker Version 9.00.30729.01</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'>&nbsp;</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'><br>
Copyright (C) Microsoft Corporation. All rights reserved.</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'>&nbsp;</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'><br>
<br>
/out:simple.exe</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>&nbsp;</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'><br>
/libpath:C:\programs\admb-9.0.65-win32-vc7\lib</span><span style='font-size:
5.0pt;font-family:"Lucida Grande","serif";color:black'>&nbsp;</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'><br>
simple.obj</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>&nbsp;</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'><br>
df1b2stubo.lib</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>&nbsp;</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'><br>
admod32.lib</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>&nbsp;</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'><br>
ado32.lib</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>&nbsp;</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'><br>
adt32.lib</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>&nbsp;</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'><br>
libcpmt.lib(xmutex.obj) : error LNK2005: &quot;public: void __thiscall
std::_Mutex::_Lock(void)&quot; (?_Lock@_Mutex@std@@QAEXXZ) already defined in
admod32.lib(model11.obj)</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>&nbsp;</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'><br>
libcpmt.lib(xmutex.obj) : error LNK2005: &quot;public: void __thiscall
std::_Mutex::_Unlock(void)&quot; (?_Unlock@_Mutex@std@@QAEXXZ) already defined
in admod32.lib(model11.obj)</span><span style='font-size:5.0pt;font-family:
"Lucida Grande","serif";color:black'>&nbsp;</span><span style='font-size:5.0pt;
font-family:"Lucida Grande","serif";color:black'><br>
libcpmt.lib(xlock.obj) : error LNK2005: &quot;public: __thiscall
std::_Lockit::_Lockit(int)&quot; (??0_Lockit@std@@QAE@H@Z) already defined in
admod32.lib(model11.obj)</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>&nbsp;</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'><br>
libcpmt.lib(xlock.obj) : error LNK2005: &quot;public: __thiscall
std::_Lockit::~_Lockit(void)&quot; (??1_Lockit@std@@QAE@XZ) already defined in
admod32.lib(model11.obj)</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'>&nbsp;</span><span style='font-size:5.0pt;font-family:"Lucida Grande","serif";
color:black'><br>
LINK : fatal error LNK1104: cannot open file 'libcp.lib'</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'>&nbsp;</span><span
style='font-size:5.0pt;font-family:"Lucida Grande","serif";color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Since Borland 5.2 support has been abandoned, and no one seems
to have a good example of a half-way decent debugger working with
gnu/ming/linux world, I&#8217;m backing up to Microsoft which I had working as both
an IDE and debugger many years ago.&nbsp; I&#8217;m trying to evaluate this platform as a
possible easy way to hold a workshop with a common interface.&nbsp; Not holding out
much hope, but thought I&#8217;d take a shot.&nbsp; The MS free compiler/IDE can be
obtained at:<o:p></o:p></span></p>

<p class=MsoNormal><a href="http://www.microsoft.com/Express/">http://www.microsoft.com/Express/</a><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Cheers,<o:p></o:p></p>

<p class=MsoNormal>Jim<span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>