<div dir="ltr">Hi Dirk,<div><br></div><div>Thank you so much for your reply. The error message that I had is from a bash script where the 64 bit option is used. I also tried the prebuilt version. That didn't work out either when I attempted to link nlopt with Rcpp in my own package. I was able to build nlopt from source on Mac OS and have linked it with Rcpp successfully there. So I think it is more likely that the prebuilt nlopt is not working correctly.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 26, 2017 at 6:02 PM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Maybe try one of two things<br>
<br>
a) Use this advice to build as 64bit:<br>
<br>
   <a href="https://github.com/jyypma/nloptr/blob/master/INSTALL.windows#L65" rel="noreferrer" target="_blank">https://github.com/jyypma/<wbr>nloptr/blob/master/INSTALL.<wbr>windows#L65</a><br>
<br>
b) Use this advice to avoid all this trouble and a use a prebuilt version<br>
<br>
   <a href="https://github.com/jyypma/nloptr/blob/master/INSTALL.windows#L72" rel="noreferrer" target="_blank">https://github.com/jyypma/<wbr>nloptr/blob/master/INSTALL.<wbr>windows#L72</a><br>
<br>
But I don't really know as I work mostly on another platform...<br>
<span class="HOEnZb"><font color="#888888"><br>
Dirk<br>
<br>
--<br>
<a href="http://dirk.eddelbuettel.com" rel="noreferrer" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a><br>
</font></span></blockquote></div><br></div>