|
From: Igor F. [Contr] <ig...@he...> - 2009-03-20 20:13:56
|
It might make the lives of people willing to help just a touch easier if you would give a little more elaborated description of what "some error" might be. Perhaps even copy/paste it here. Just a thought. Or rather a "gentle suggestion". Second, OB 2.0.2 is rather obsolete. I doubt any problems with it will be actively tracked and/or addressed. Third, as you mentioned you use cygwin. The flag "-mno-cygwin" looks a bit questionable under the circumstances. Fourth, cygwin installation of openbabel is anything but trivial. It has been discussed on this list before. Are you sure you have a functioning copy of OB installation? Cheers, Igor On Fri, 2009-03-20 at 12:22 -0700, Dong Li wrote: > Hi, > I just installed the openbabel API in cygwin envrionment and attempt > to complie a simple code with following makefile. I got some error > apparently related to openbabel library and include path in my > makefile. What did I miss? > Thanks for your help > Dong > > makefile > ------------------------------------ > PROJDIR = . > > OBDIR = /cygdrive/c/applications/3rdparty/openbabel-2.0.2 > > SRCDIR = $(PROJDIR)/src > > BINDIR = $(PROJDIR)/bin > > INCDIR = $(PROJDIR)/include > > OBINCDIR = $(OBDIR)/src > > OBLIBDIR = $(OBDIR)/src/.libs > > INCS = -I$(INCDIR) -I$(OBINCDIR) > > LIBS = -L$(OBLIBDIR) \ > > -libopenbabel.dll \ > > -lz \ > > -lwsock32 -lnetapi32 > > CXXFLAGS = -mno-cygwin -W -Wall -O3 -ffast-math -Wno-deprecated > > LFLAGS = -mno-cygwin -s > > RM = rm -f > > PROGRAMS = test.exe > > EXES = $(BINDIR)/test.exe > > .SUFFIXES: .cpp > > .SUFFIXES: .o > > .cpp.o: > > $(CXX) $(CXXFLAGS) $(INCS) -c $< -o $*.o > > all: $(PROGRAMS) > > clean: > > $(RM) $(SRCDIR)/*.o > > $(RM) $(EXES) > > test.exe: $(SRCDIR)/test.o > > $(CXX) $(LFLAGS) -o $(BINDIR)/$@ $? $(LIBS) > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ OpenBabel-discuss mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openbabel-discuss |