I'm trying to make a simple application that can receive numeric inputs and generate a STEP-file (3D-model) based on the inputs.
So far it has only worked out for me on a Linux VM, however I also want to make it work on Windows in Visual Studio since that's my primary work environment. (Windows 7 64bit, Visual Studio 2015)
I have read the documentation, installation guides, tried to find examples/samples on Github and Google but so far without luck.
The plan was to make it work with C# or Java, but it seems a wrapper is needed for that. Therefore I'm currently trying to use C++, MFC and Qt (which I unfortunately don't have much knowledge about)
I managed to make a sample from Github work on Linux with C++, where I can write code, build the project, and it will generate a STEP-file. I have done that by using the following sample: https://github.com/lvk88/OccTutorial
I have tried to recreate the sample on Windows, but I'm not completely sure how it works, since it doesn't resemble the OCCT sample projects for Windows much.
On Windows I have tried to install OCCT by using the Windows installer and the source package installation. In order to make the projects run, I have tried to set environment variables in env.bat (set VCVER=vc14, set ARCH=win64), run custom.bat and msvc.bat for Visual Studio, however when the projects opens in Visual Studio, and I try to build the sample projects, I get the following errors:
-MFC: cannot open 'tkvcaf.lib'
-Qt: cannot open file 'qtmaind.lib'
(I used this command to open the samples: msvc.bat vc14 win64)
So far I haven't been able to figure out how to build anything on Windows even after quite extensive reading. I would appreciate if someone could lead me in the right direction or give me some hints.