Archive 17/01/2023.

Windows 64 bit does not seem to work

Numerator

I tried to build the examples in 64 bit, but they do not render anything except the UI overlay.

I used cmake to create a Visual Studio 2017 Win64 project.

The 32 bit version works.

Eugene

You should either update Visual Studio 2017 to the latest version or don’t use unstable Visual Studio 2017 at all.

Numerator

I am using the latest version of Visual Studio

TheComet

What cmake command did you use?

Eugene

Is it broken in Debug and/or Release build?
There was known problem fixed in 15.7

Numerator

I used the Cmake GUI. Target: Visual Studio 2017 Win64
Debug build

S.L.C

Which backend? I remember I encountered this with dx11 on mingw. The window was just black and nothing happened.

Numerator

The backend is D3D9.

Numerator

I am getting a memory exception in DrawPrimitive in my application

Numerator

I demos are not just blank, as I originally thought. Depending on the camera position, the scene is blank. If I move the camera slightly, the scene is correct. Do you have a Windows 64 system to repro this?

Eugene

Could you specify exact Visual Studio version?

DavidHT

You need Visual Studio 2017, version 15.7.3.
The update is quite recent, and solves the matrix multiplication issue that caused this.

Numerator

You are right. I thought I had the latest version of VS since I recently updated. I did not. I updated and the demos work now.

Thanks all.

Numerator

I’m still getting the memory exception in DrawPrimitive, though.

Eugene

Steps to reproduce and callstack, please.

Numerator

The repro case is just https://github.com/aster2013/ParticleEditor2D
I updated the cmake file to Qt5 and use Win64. It did not take too long to update it.

The default seems to be D3D

Numerator

This version of the ParticleEditor is a fork or the original and has some work done. It uses QtOpenGL, but also crashes most of the time.

George1

I never had this issue using vs 2015 as well as 2017.