Hi,
I have tried QTCreator 2.8.0 with qt 4.8.6  , MinGW 4.8.2  and cmake 2.8.12.2, 
the OS is windows 7 64-bit professional.
I also tried the command line method without QTCreator and in both cases I 
installed the program once into the system and once into user space which makes 
no difference. In the debug mode you can see that program runs through the load 
procedure and it seems to recognize the plugin types but in the end only 
formats and ops are known in obabel.
Here the cmake log file and if it would be helpful I can also send the 
CmakeCache.txt files to you directly.

argument list of QTCreator :
-DCMAKE_BUILD_TYPE=debug -DENABLE_SYMBOL_VISIBILITY=on 
-DZLIB_INCLUDE_DIR="..\openbabel-openbabel-2-3-x\include"
-DZLIB_LIBRARY="..\openbabel-openbabel-2-3-x\windows-vc2008\\libs\x64\zlib1.lib"
-DEIGEN2_INCLUDE_DIR="C:\Program Files (x86)\Eigen\include\eigen2" 
-DLIBXML2_INCLUDE_DIR="..\openbabel-openbabel-2-3-x\include"
-DLIBXML2_LIBRARIES="..\openbabel-openbabel-2-3-x\windows-vc2008\\libs\x64\libxml2.dll"
 -DCMAKE_INSTALL_PREFIX="..\openbabel-2-3-2"

log messages:
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: C:/Qt/4.8.6/mingw64/bin/gcc.exe
-- Check for working C compiler: C:/Qt/4.8.6/mingw64/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Qt/4.8.6/mingw64/bin/g++.exe
-- Check for working CXX compiler: C:/Qt/4.8.6/mingw64/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using included inchi library.
-- Found LibXml2: 
D:/dcl/test/openbabel-openbabel-2-3-x/windows-vc2008/libs/x64/libxml2.dll 
(found version "2.6.19")
-- Found ZLIB: 
D:/dcl/test/openbabel-openbabel-2-3-x/windows-vc2008/libs/x64/zlib1.lib (found 
version "1.2.3")
-- Could NOT find wxWidgets (missing:  wxWidgets_FOUND)
-- Looking for conio.h
-- Looking for conio.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for time.h
-- Looking for time.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for rpc/xdr.h
-- Looking for rpc/xdr.h - not found
-- Looking for regex.h
-- Looking for regex.h - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for rint
-- Looking for rint - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for sranddev
-- Looking for sranddev - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of clock_t
-- Check size of clock_t - done
-- Performing Test SCANDIR_NEEDS_CONST
-- Performing Test SCANDIR_NEEDS_CONST - Failed
-- Performing Test HAVE_GCC_VISIBILITY
-- Performing Test HAVE_GCC_VISIBILITY - Success
-- Could NOT find Eigen3 (missing:  EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK) 
(Required is at least version "2.91.0")
-- Could NOT find Cairo (missing:  CAIRO_LIBRARIES CAIRO_INCLUDE_DIRS)
-- Could NOT find Cairo. PNG output will NOT be supported.
-- Looking for getopt
-- Looking for getopt - found
-- Attempting to build the GUI
--    wxWidgets not found => GUI will not be built
-- Configuring done
-- Generating done
-- Build files have been written to: D:/dcl/test/openbabel-openbabel-2-3-x-build
________________________________________
From: Noel O'Boyle [baoille...@gmail.com]
Sent: Saturday, August 22, 2015 9:55 PM
To: Lenk, Dagmar
Cc: Openbabel-DEV
Subject: Re: [OpenBabel-Devel] Problem with Win7 and MinGW - no Plugins loaded

As background a bit more info would be useful. What were the versions
of everything, how did you do the compilation, and did you run "make
install"?

On 21 August 2015 at 15:02, Daggi <dagmar.l...@cec.mpg.de> wrote:
> Hi everybody,
>
> We tried to make a new build of openbabel for windows 7 using MinGW,
> everything compiled and linked fine,
> BUT it figured out that the current version is unable to load the
> plugins properly.
> So for example the small command obabel -L  just shows 'format and ops'
> but no forcefields, fingerprints etc.
> Debugging the program we noticed that although all objects are being
> read/loaded, they don't seem to be registered correctly as plugins.
>
> The same source code runs perfectly under Linux and Mac.
> And an old version of openbabel (2.2.3) works also without any problems
> under the same compile and build conditions.
>
> So if anyone knows the magic keyword that let MinGW create the correct
> executables, please let us know.
> We would be glad about any help !!!
>
> Thanks a lot,
> Dagmar Lenk, Frank Wennmohs
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> OpenBabel-Devel mailing list
> OpenBabel-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-devel
>

------------------------------------------------------------------------------
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to