Avogadro Squared Build Issues

On Tue, Apr 19, 2011 at 3:32 PM, Louis Ricard
louis.ricard@polytechnique.edu wrote:

Le 19 avr. 2011 à 20:40, Marcus D. Hanwell a écrit :

reliably locating the DLLs. I have not seen mol.h not found - that
suggests that perhaps Open Babel failed to compile for you (or install
at least).

This is exact.
L.

Changing the subjet… I am not sure what you mean - Open Babel did
not build correctly? I just got a Windows XP virtual machine
installed, so I should be able to investigate soon. I get everything
building correctly, but still have to tweak a little to get the
install step for Avogadro to work (due to needing to find DLLs). I
just pushed some updates, so if in Avogadro squared you run,

git pull
git submodule update --init

That will grab the latest source. I did just notice that Open Babel
does not link in Debug mode right now. If you stick to release mode it
should work. I also found a Manifest issue (now fixed in an updated
installer) that stopped the new binary opening in a clean Windows XP
install. If you still get errors, pasting the exact error would help
me spot the issue.

Thanks,

Marcus

Hi Marcus.

I have admittedly not been too clear on this one.
In fact, zlib compiles O.K. but copy of zlib1.lib fails:
"“C:/avogadro-squared/build/prefix/lib/zlib.lib” to “C:/avogadro-squared/build/prefix/lib/zlib1.lib”"

Following this, openbabel fails to compile, hence, avogadro.

So I tried copying zlib1.lib from an openbabel subdir and recompiled:
then, openbabel compiles, but its include files are apparently not where
they should and building avogadro fails.

I send you separately (a hard to decipher) log file of the initial build, if that can help.
This is in a Windows XP virtual machine.

I also installed your latest 1.0.2 Windows binaries and, as for Tim, it works O.K. for me,
with the limited tests I ran. Hope you get more feedback on this topic.

Regards,

Louis

Le 21 avr. 2011 à 03:41, Marcus D. Hanwell a écrit :

On Tue, Apr 19, 2011 at 3:32 PM, Louis Ricard
louis.ricard@polytechnique.edu wrote:

Le 19 avr. 2011 à 20:40, Marcus D. Hanwell a écrit :

reliably locating the DLLs. I have not seen mol.h not found - that
suggests that perhaps Open Babel failed to compile for you (or install
at least).

This is exact.
L.

Changing the subjet… I am not sure what you mean - Open Babel did
not build correctly? I just got a Windows XP virtual machine
installed, so I should be able to investigate soon. I get everything
building correctly, but still have to tweak a little to get the
install step for Avogadro to work (due to needing to find DLLs). I
just pushed some updates, so if in Avogadro squared you run,

git pull
git submodule update --init

That will grab the latest source. I did just notice that Open Babel
does not link in Debug mode right now. If you stick to release mode it
should work. I also found a Manifest issue (now fixed in an updated
installer) that stopped the new binary opening in a clean Windows XP
install. If you still get errors, pasting the exact error would help
me spot the issue.

Thanks,

Marcus