ui icon indicating copy to clipboard operation
ui copied to clipboard

Win32 build missing components

Open hsoolien opened this issue 6 years ago • 6 comments

The window on the left was built on a Win10-64bit and is how every other build I've tried (various flavors/bit combinations of Linux, I have not yet found another Win32 install to try and compile it on) The window on the right was built on a Win7-32bit (I have not tried building on a 64-bit Win7 yet as I need to find my install disc) 2018-05-25

I'd like to be able to build a Win32 build as the industry this program targets is years behind on their OS upgrades.

I'm not getting any build errors, and the components themselves don't return any errors, so I'm not sure where to start.

Any other information you require I'll be glad to acquire for you.

Thank you

hsoolien avatar May 25 '18 17:05 hsoolien

If you mouse over the controls, do they suddenly appear again? If not, can you run the 32-bit version with DebugView running and seeing what shows up?

andlabs avatar May 25 '18 18:05 andlabs

Mousing over, clicking, dragging, I've tried everything, there's nothing to interact in the missing pains. As for debugging, delve doesn't run on 32-bit os's and I haven't been able to get GDB to work either...

Edit: I can provide a WriteHeapDump (or equivalent) of 32/64-bit builds.

hsoolien avatar May 26 '18 15:05 hsoolien

I meant this DebugView, which shows everything printed by OutputDebugString(), which is what libui currently uses for diagnostic output on Windows (because a program without a command-line window has no stderr). You'll need to run it before running the 32-bit program. This is really weird; libui as it stands right now should be crashing if it failed to make the controls...

andlabs avatar May 26 '18 18:05 andlabs

Okay, thank you, I'm an amateur programmer and appreciate the link.

I've tried that program out, and I'm getting 0 activity, so I've attached a file containing my GUI code, I've confirmed this code by itself still has the same issues.

main.zip

hsoolien avatar May 27 '18 00:05 hsoolien

I'm not immediately seeing any obvious issues with that code that would cause it to break on 32-bit Windows, so I'll definitely have to look into this...

andlabs avatar May 27 '18 01:05 andlabs

I've attached a build of the above code, -Built on win7-32bit Ultimate -version; 6.1.7601 Service Pack 1 Build 7601 -go version: go1.10.2 windows/386 -gcc version: gcc (i686-win32-dwarf-rev0, Built by MinGW-W64 project) 7.3.0

Hope this is of some help.

main.zip

hsoolien avatar May 27 '18 01:05 hsoolien