Rev 492 | Rev 532 | Go to most recent revision | Last modification | Compare with Previous | View Log | RSS feed
Building FilterFoundry with Visual Studio
=========================================
Most recently tested with Visual Studio 2022 and Adobe Photoshop SDK 2023.
Prerequisites
1) Visual Studio (Visual C++)
There is a free "Community Edition" available here:
https://visualstudio.microsoft.com/de/vs/community/
2) Flex and Bison
Download the tools here:
https://sourceforge.net/projects/winflexbison/
Extract the contents of the package in the directory "..\win_flex_bison"
3) Adobe Photoshop SDK
Available on some Photoshop CDs, or can be downloaded at
https://www.adobe.com/devnet/photoshop/sdk.html
Extract the contents of the package in the directory "..\photoshop_sdk"
4) Windows SDK
Download the Windows SDK here:
https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/
and install the following components:
For some reason, you only need to install the Windows SDK if you
build using the IDE, but not if you build using command-line (*.mak files).
Build setup using the IDE
Platform Toolset to the one you have installed.
The output files are:
C:\FilterFoundry\Source\visual_studio\Win32\(Release|Debug)\FilterFoundry.8bf
C:\FilterFoundry\Source\visual_studio\Win64\(Release|Debug)\FilterFoundry64.8bf
Build setup using command line/nmake
The output files are:
...\visual_studio\FilterFoundry.8bf
...\visual_studio\FilterFoundry64.8bf
Troubleshooting
C:\Program Files (x86)\Windows Kits\10\bin...\x64 to
C:\Program Files (x86)\Windows Kits\10\bin\x86
see also https://stackoverflow.com/questions/43847542/rc-exe-no-longer-found-in-vs-2015-command-prompt
in the project properties or the mak-file, respectively.
then run nmake with the parameter "/f nmake.mak" or "/f nmake64.mak"
(nmake calls Makefile by default, which is written for the 'normal' "make" and not "nmake")
or for 64 bit: "nmake /f nmake64.mak clean" followed by "nmake /f nmake64.mak"
It is necessary to run the "clean" command when switching between 32-bit and 64-bit builds.
You need to edit the *.rc files manually.
'The command "cd ..'
because the command contains line breaks and so you will only see the first command "cd ..".
Hover the mouse over the error message to display the whole message (commands),
or copy it using Ctrl+C and paste it into a text editor.