I see, much simpler, thank you.
I figured it out what the issue was if anybody else has the same issues.
Apparently Xcode by default selects "LLVM C++ standard library with C++11
support" option for the compiler setting and one of the flags that is passed is
-stdlib=libc++ which causes the linking error. If the compiler setting is
switched to the setting "Compiler Default or Gnu C++ standard library", both of
these options will build correctly. If one is build a project from the command
line, clang++ with -std=c++11 option is sufficient…it knows how to find
-stdlib=libc++.
-Andi
-
Andi Dhroso, PhD Student
University of Missouri
Informatics Institute and
Department of Computer Science
246 Engineering Building West
Columbia, MO 65211
phone: 573.823.0129
e-mail: andi.dhr...@mail.missouri.edu<mailto:andi.dhr...@mail.missouri.edu>
On Jan 27, 2013, at 7:10 AM, Noel O'Boyle
<baoille...@gmail.com<mailto:baoille...@gmail.com>>
wrote:
I have never used any of these functions. Instead I use
FOR_BONDS_OF_ATOM. Then you don't need to think about any of these
issues.
- Noel
On 26 January 2013 10:32, andi
<ad...@mail.missouri.edu<mailto:ad...@mail.missouri.edu>> wrote:
I'm iterating over the neighboring bonds of an atom and whenever I use the
*OBBond* BeginBond(OBBondIterator &i)* function, it complains with error
type "undefined symbol" , but when I use the *OBBondIterator
BeginIterator()* function, then it works fine.
In the attached image you'll see two simple examples.
<http://forums.openbabel.org/file/n4655904/example.png>
Can anyone see if I am doing something wrong or why is able to find the one
method but not the other. Greatly appreciated!
-Andi
--
View this message in context:
http://forums.openbabel.org/Atom-neighboring-bonds-tp4655904.html
Sent from the General discussion mailing list archive at
Nabble.com<http://Nabble.com>.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET<http://ASP.NET>, C# 2012, HTML5,
CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss