On Thu, Nov 10, 2016 at 4:07 PM, Marcus D. Hanwell
<marcus.hanw...@kitware.com> wrote:
> On Thu, Nov 10, 2016 at 1:14 PM, Marcus D. Hanwell
> <marcus.hanw...@kitware.com> wrote:
>> On Tue, Nov 8, 2016 at 1:47 PM, Marcus D. Hanwell
>> <marcus.hanw...@kitware.com> wrote:
>>> On Wed, Oct 12, 2016 at 10:22 AM, Marcus D. Hanwell
>>> <marcus.hanw...@kitware.com> wrote:
>>>> On Sun, Oct 9, 2016 at 5:39 PM, Pavolik, Ethan Thomas <et...@pitt.edu> 
>>>> wrote:
>>>>> I was wondering if you'd made any progress getting VS2015 up and running 
>>>>> on
>>>>> your machine. I'm still stuck with the previous link errors when trying to
>>>>> build Avogadro-libs. This week I tried rebuilding QT5 from source and have
>>>>> been digging through and comparing symbols in relevant .lib files trying 
>>>>> to
>>>>> figure out why they won't link for me, but I haven't been able to make any
>>>>> progress.
>>>>>
>>>> I need to get back to this, I know we have seen a VS2015 issue around
>>>> jsoncpp in another project. We have also confirmed that PyBind11 needs
>>>> VS2015 as its minimum version on Windows.
>>>
>>> I am working my way through issues on this now, I fixed the spglib
>>> find call, and am looking at symbol visibility. I want to have all
>>> this building by the end of the week, hopefully sooner.
>>>
>> So I didn't do very much yesterday, but today spotted a few typos. I
>> have all of AvogadroLibs compiling now, just working on cleaning up
>> the patch a little. I also have the app compiling, but need to take a
>> look at the packaging issues. Looking close, should have patches
>> pretty soon.
>>
>> This is not attempting Open Babel and its dependencies yet, not sure
>> if Geoff has had success there or if Windows is back on an older
>> compiler. I remember libxml2 and some of the other Open Babel
>> dependencies being difficult, I think you mentioned having used
>> prebuilt binaries compiled with older Visual Studio for the C only
>> libs.
>
> So, I have it to the point where I can build this on Windows with
> Visual Studio 2015. I need to move the submodules forward, but
> everything builds and links. So that is great, and some progress. I do
> this by typing,
>
> cmake --build . --target avogadroapp --config Release
>
> Pointing Qt5_DIR to the place where Qt5 is installed (within there
> lib/cmake/Qt5). The next thing I need to figure out is why the
> rendering context does not seem to be getting initialized correctly -
> blank only on 64 bit build, and crashing on startup on the 32 bit
> build.

So they changed Qt quite a bit, and you need to set a flag to load
desktop OpenGL, otherwise you get dynamic behavior and must go through
their OpenGL function wrappers that do dynamic loading, but only on
Windows. Quite the rabbit hole, but I think I got to the bottom of it.

I should hopefully have a very small patch shortly, and we are up and
running with VS2015 with rendering! Haven't looked at Open Babel yet,
that may have to wait, but I think this means we could switch to
requiring C++11 on all platforms, which will be really nice.

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to