Well, it's supposed to work. :-/ It's either a CMake bug, or a problem with our setup somehow. If you go through the generated xcodeproj file, you might be able to figure it out the origin of the problem. Otherwise, my only advice is to make sure you use the latest version of CMake - perhaps there was a bug that has now been fixed.
An alternative IDE you could use is Eclipse (with the C++ extensions). I (think I) have successfully compiled Open Babel under this in the past. - Noel On 27 November 2011 18:59, Eric Jang <ericjang2...@gmail.com> wrote: > > > ---------- Forwarded message ---------- > From: Eric Jang <ericjang2...@gmail.com> > Date: Sat, Nov 26, 2011 at 8:03 PM > Subject: Re: [Open Babel] debug openbabel > To: Noel O'Boyle <baoille...@gmail.com> > > > I ran cmake -G Xcode ../openbabel-2.3.1 and it produced the xcodeproj file. > However when I try to open the file, it says that XCode cannot open because > it cannot parse the file. > > I did a quick Google search for this kind of problem and it seems like > the CMakeLists.txt file is to blame? Any suggestions? > > Thanks! > > - Eric > > On Sat, Nov 26, 2011 at 1:26 PM, Noel O'Boyle <baoille...@gmail.com> wrote: >> >> Cmake can generate build files for many different IDEs include Xcode. >> Just use the usual command-line (see our build instructions [1]) but >> include "-G Xcode" at the start. >> >> [1] >> http://openbabel.org/docs/dev/Installation/install.html#basic-build-procedure >> >> The default build is to generate makefiles. If you want to generate a >> debug build see also [1]. But if you're using XCode I guess it will do >> this for you itself. >> >> - Noel >> >> On 26 November 2011 22:03, Eric Jang <ericjang2...@gmail.com> wrote: >> > Hello! >> > >> > I was wondering if someone could show me how to build a debuggable >> > version >> > of OpenBabel? Specifically I want to step through the obenergy program. >> > I >> > asked earlier how to port over to XCode (since that would give me a >> > better >> > understanding of where I am and what vars are present), but perhaps I >> > should >> > figure out how to compile the debuggable version via CMake or command >> > line >> > first. >> > >> > if someone could provide me the command sequence and flags I have to add >> > that would be fantastic. >> > >> > Thanks! >> > >> > >> > ------------------------------------------------------------------------------ >> > All the data continuously generated in your IT infrastructure >> > contains a definitive record of customers, application performance, >> > security threats, fraudulent activity, and more. Splunk takes this >> > data and makes sense of it. IT sense. And common sense. >> > http://p.sf.net/sfu/splunk-novd2d >> > _______________________________________________ >> > OpenBabel-discuss mailing list >> > OpenBabel-discuss@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss >> > > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss