Cant execute project

I keep having this error… "…/zlib.lib is not a valid Win32 application. What’s going on?

Hi @fernandoflorez10,

Well, you are correct, zlib.lib is not a Win32 application. I’m assuming you’ve downloaded the openNURBS toolkit and have build it using Visual Studio? What exactly are you trying to do?

– Dale

I’m trying to run the examples_read.cpp. I feel that I don’t know how to run it. I read that I had to compile and run, but that message from before keeps appearing. What do I have to do?

Well, if you just want to run example_read.exe, just navigate to the output folder, open a Windows command prompt, and run the .exe.

If you want to debug the application in Visual Studio, then right click on the example_read project, in Solution Explorer, and pick Set as StartUp Project. Then press F5.

– Dale