Coder Social home page Coder Social logo

Comments (8)

leadedge avatar leadedge commented on June 2, 2024

I can't say what the problem is from your description. I assume that you are using the Openframeworks examples. The solution files are now very old and I am presently working on the beta branch as replacement. If you are using Visual Studio 2017 and Openframeworks 11, try the project generator to create a new project and include the example files and the Spout SDK files in that. Alternatively you could try the examples in the beta branch.

from spout2.

htrlq avatar htrlq commented on June 2, 2024

clone project to local, but not find resources 'E:\wemew.extension\Spout2-beta\libs\openFrameworksCompiled\project\vs\openframeworksLib.vcxproj'

from spout2.

htrlq avatar htrlq commented on June 2, 2024

branch 'bata'

from spout2.

leadedge avatar leadedge commented on June 2, 2024

Clearly there is something missing.

Can you create an empty project with the project generator and build it? If so, the Openframeworks project will be available.

If this is successful, you should be able to exchange the demo project files, main.cpp, ofApp.cpp and ofApp,h, add a new filter "SpoutSDK", add existing files Add > Existing Item - select all the SpoutSKD files and add them.

Then in "ofApp.h" you will need to change "#include "......\SpoutSDK\Spout.h", to the path you actually have for these files.

from spout2.

htrlq avatar htrlq commented on June 2, 2024

If you use an old project, you will be prompted "unknown compiler version - please run the configure tests and report the results" when compiling. Is this the reason why the project cannot be compiled

from spout2.

leadedge avatar leadedge commented on June 2, 2024

Are you using the Openframeworks project generator to create a new project?

from spout2.

leadedge avatar leadedge commented on June 2, 2024

I have not seen the "unknown compiler version" message with Visual Studio 2017. I just tested the existing project and source files from the master branch (Spout version 2.006) and it builds without this error. These are the steps for my test ..
First, is a message as below:

Click OK to re-target ..

I usually change to "Release" for build but "Debug" will work as well ..

After build there may be many warnings for updated Openframeworks (for this test I used Openframeworks 10). But these do not matter ..

The project builds and runs successfully ..

If at the start you click Cancel instead of OK to re-target, you will see ..

It still builds successfully for me ..
There must be something in your system that is causing this but I can't reproduce it. After you build a project there is a ".vs" folder. Erase that and try again with the project files from GitHub.
I suggested using the Openframeworks project generator because you get a project that you can test straight away. If that succeeds, you can replace the source files with the example, include a filter with the Spout SDK files, and you might find what the problem might be.

from spout2.

leadedge avatar leadedge commented on June 2, 2024

I will close this now. If you have ongoing problems, I suggest that you use the Openframeworks project generator to create a new project that builds OK and add the Spout code into it.

from spout2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.