csgtool icon indicating copy to clipboard operation
csgtool copied to clipboard

Visual Studio

Open sshirokov opened this issue 9 years ago • 5 comments

Work towards fixing https://github.com/sshirokov/csgtool/issues/53 by letting this project compile in Visual Studio without breaking the existing CI build

Work is being done with VS2015

How?

  • [x] Manage to build a static lib in windows
  • [x] Without warnings
  • [x] Make sure it even kinda works
  • [x] Set up a solution structure that can co-exist
  • [x] Build a windows exe depending on the static lib
  • [x] Make sure the exe works
  • [x] Nice, Good Job!

Bugs

  • [x] Make sure we can intersect jaws and jaws2
  • [x] Consider the text vs binary differences (is this still a thing)
  • [ ] csgtool\Debug>csgtool audit ..\tests\fixtures\cube.txt.stl crashes
  • [ ] Other Windows things?
  • [ ] Run the test suite

Bonus Rount

  • [ ] Windows CI build

sshirokov avatar Aug 26 '16 06:08 sshirokov

Any word on when the visual studio version will be done? :smiley:

Shazib avatar Dec 05 '16 16:12 Shazib

Any word on when the visual studio version will be done? 😃

I will take a few more stabs this week, and if I stab the right parts, hopefully this week? If you don't hear from me by then, please remind me again :(

Sorry for taking forever on this one

sshirokov avatar Dec 05 '16 21:12 sshirokov

Awesome :+1:

sidenote: Having trouble running a 64-bit build? it builds fine and loads files fine, then dies around 'poly_classify_vertex'

Is 64-bit not supported?

Thanks!

Shazib avatar Dec 06 '16 14:12 Shazib

Is 64-bit not supported?

It should be since I ran this in production in 64 bit linux the whole time. What kind of failure did you see? The remaining fixes I anticipate here are mostly around disk IO thanks to windows' distinction of "binary" files. 😿

sshirokov avatar Dec 07 '16 19:12 sshirokov

I think you're right regarding the diskIO being the cause... The crashes happened seemingly randomly at various places in the code.

Shazib avatar Dec 08 '16 08:12 Shazib