Cannot build example FFGL plugins

FFGL, OSC, GLSL. If you like abbreviations, this is the forum for you
Post Reply
Ewusername
Met Resolume in a bar the other day
Posts: 5
Joined: Mon Jan 04, 2021 04:13

Cannot build example FFGL plugins

Post by Ewusername »

Running Windows 11, Visual Studio 2022

I am following the directions here:
https://github.com/resolume/ffgl/wiki/1.--Installation

I simply open the .sln, and hit "build." I'm given a whole host of errors.

Build started...
1>------ Build started: Project: Events, Configuration: Debug x64 ------
2>------ Build started: Project: CustomThumbnail, Configuration: Debug x64 ------
3>------ Build started: Project: Particles, Configuration: Debug x64 ------
4>------ Build started: Project: Gradient, Configuration: Debug x64 ------
5>------ Build started: Project: Add, Configuration: Debug x64 ------
6>------ Build started: Project: AddSubtract, Configuration: Debug x64 ------
1>glew32s.lib(glew.obj) : warning LNK4099: PDB 'vc120.pdb' was not found with 'glew32s.lib(glew.obj)' or at 'C:\Users\seagl\Desktop\ffgl-master\ffgl-master\binaries\x64\Debug\vc120.pdb'; linking object as if no debug info
1>LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
1>Done building project "Events.vcxproj" -- FAILED.
6>glew32s.lib(glew.obj) : warning LNK4099: PDB 'vc120.pdb' was not found with 'glew32s.lib(glew.obj)' or at 'C:\Users\seagl\Desktop\ffgl-master\ffgl-master\binaries\x64\Debug\vc120.pdb'; linking object as if no debug info
6>LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
2>LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
6>Done building project "AddSubtract.vcxproj" -- FAILED.
2>Done building project "CustomThumbnail.vcxproj" -- FAILED.
3>glew32s.lib(glew.obj) : warning LNK4099: PDB 'vc120.pdb' was not found with 'glew32s.lib(glew.obj)' or at 'C:\Users\seagl\Desktop\ffgl-master\ffgl-master\binaries\x64\Debug\vc120.pdb'; linking object as if no debug info
3>LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
3>Done building project "Particles.vcxproj" -- FAILED.
4>glew32s.lib(glew.obj) : warning LNK4099: PDB 'vc120.pdb' was not found with 'glew32s.lib(glew.obj)' or at 'C:\Users\seagl\Desktop\ffgl-master\ffgl-master\binaries\x64\Debug\vc120.pdb'; linking object as if no debug info
4>LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
4>Done building project "Gradient.vcxproj" -- FAILED.
5>glew32s.lib(glew.obj) : warning LNK4099: PDB 'vc120.pdb' was not found with 'glew32s.lib(glew.obj)' or at 'C:\Users\seagl\Desktop\ffgl-master\ffgl-master\binaries\x64\Debug\vc120.pdb'; linking object as if no debug info
5>LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
5>Done building project "Add.vcxproj" -- FAILED.
========== Build: 0 succeeded, 6 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 2:06 PM and took 05.243 seconds ==========





I have also tried the Windows Quickstart instructions, found here:
https://github.com/resolume/ffgl#readme

And. . . Get a whole bunch of different errors.

Build started...
1>------ Build started: Project: NEW, Configuration: Debug x64 ------
1>FFGLFBO.cpp
1>FFGLScopedBufferBinding.cpp
1>FFGLScopedFBOBinding.cpp
1>FFGLScopedRenderBufferBinding.cpp
1>FFGLScopedSamplerActivation.cpp
1>FFGLScopedShaderBinding.cpp
1>FFGLScopedTextureBinding.cpp
1>FFGLScopedVAOBinding.cpp
1>FFGLScreenQuad.cpp
1>FFGLShader.cpp
1>FFGLUtilities.cpp
1>FFGLAudio.cpp
1>FFGLEffect.cpp
1>FFGLMixer.cpp
1>FFGLParam.cpp
1>FFGLParamBool.cpp
1>FFGLParamEvent.cpp
1>FFGLParamFFT.cpp
1>FFGLParamOption.cpp
1>FFGLParamRange.cpp
1>Generating Code...
1>Compiling...
1>FFGLParamText.cpp
1>FFGLParamTrigger.cpp
1>FFGLPlugin.cpp
1>FFGLRandom.cpp
1>FFGLSmoothValue.cpp
1>FFGLSource.cpp
1>FFGL.cpp
1>FFGLLog.cpp
1>FFGLPluginInfo.cpp
1>FFGLPluginInfoData.cpp
1>FFGLPluginManager.cpp
1>FFGLPluginSDK.cpp
1>FFGLThumbnailInfo.cpp
1>NEW.cpp
1>C:\Users\seagl\Desktop\ffgl-master\ffgl-master\source\plugins\NEW\NEW.cpp(1,10): fatal error C1083: Cannot open include file: 'AddSubtract.h': No such file or directory
1>Generating Code...
1>Done building project "NEW.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 2:14 PM and took 10.863 seconds ==========

Any info would be appreciated! Thanks in advance.

Zoltán
Team Resolume
Posts: 7088
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Cannot build example FFGL plugins

Post by Zoltán »

The MSVCRTD.lib missing means that you need to install an additional package for visual studio.
In the wiki it says you need to install the Windows SDK.
https://github.com/resolume/ffgl/wiki/1.--Installation
Attachments
Screenshot 2023-05-22 at 12.35.48.png
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

Ewusername
Met Resolume in a bar the other day
Posts: 5
Joined: Mon Jan 04, 2021 04:13

Re: Cannot build example FFGL plugins

Post by Ewusername »

Hm, I did do this already. . . Although, this is my first dive into coding, so probably an Id-10T error :lol:

Post Reply