On Wed, Apr 13, 2011 at 6:00 AM, Mickaël Gadroy
<[email protected]> wrote:
> Hi all,
>   I try to update my current version of Avogadro, when link
> problems occurred during the compilation :
>     LNK2019: unresolved external symbol ... toStdWString ...
>   ( - the problem : http://developer.qt.nokia.com/forums/viewthread/3004
>     -  a solution
> : http://www.cmake.org/pipermail/cmake/2008-February/019781.html
>   )
>   After research, I find that I need to add a flag in cmake to avoid msvc to
> compile with "Treat wchar as built-in type" at YES .
>   But I do not find the cmakeLists to put this command.
>   My current solution is, in each msvc solution (animationextension,
> avogadro, inputfileextension, insertfragmentextension, and
> insertpeptideextension), to change C++ -> Language ->  Treat wchar_t as
> Built-in Type -> NO
> How can I do to change this option automatically in Avogadro cmake ?

I spent some of the evening verifying the Avogadro build on Windows
for both 1.0 and master. I have reverted the offending patch for now,
as it was a Windows specific patch that consistently breaks linking
for me using MSVC 2008 on Windows 7, with that in mind it is not clear
it actually fixed the underlying issue.

The Windows machine I was running a dashboard on got old. I have a new
one (which I have been testing stuff on this evening), and will get
automated builds running on it. With my latest pushes Avogadro 1.0 and
master successfully build and link on Windows with Visual Studio 2008
in 32 bit mode at least.

Marcus

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to