Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 186 → Rev 190

/trunk/BUILDING.txt
89,47 → 89,11
-------------
 
BUILDING WITH VISUAL STUDIO
(Most recently tested with Visual C++ 2017 with Adobe Photoshop SDK CC 2017):
(Most recently tested with Visual C++ 2019 with Adobe Photoshop SDK CC 2017):
 
1. First download Flex and Bison from https://sourceforge.net/projects/winflexbison/
and unpack them on your disk.
2. Download the Adobe Photoshop SDK from https://www.adobe.com/devnet/photoshop/sdk.html
and unpack it on your disk.
3. Download the Telegraphics common library from http://telegraphics.com.au/svn/common/trunk/
and unpack it on your disk. Please make sure that "common" and "Source" (of FilterFoundry)
are placed in the same directory.
4. Download the Windows SDK https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
and install the following components:
- Windows SDK for Desktop C++ x86 Apps
- Windows SDK for Desktop C++ amd64 Apps
5. a) If you want to use the IDE:
- Open the visual_studio\FilterFoundry.sln
- Adjust the paths in the project settings:
Path to Adobe plugin SDK (in C/C++ category, and Resource category)
Path to win_flex and win_bison (pre-build-events)
Your specific version of the Windows SDK
- You can now compile the x86 and x64 plugin inside the IDE.
b) If you want to use CLI/nmake:
- Adjust the paths in the visual_studio\nmake.mak and visual_studio\nmake64.mak files:
Path to Adobe plugin SDK (in C/C++ category, and Resource category)
Path to win_flex and win_bison (pre-build-events)
- Edit visual_studio\vc_make_3264.bat: Change the Visual Studio path to the one you have on your system.
- You can now use the script visual_studio\vc_make_3264.bat to build both x86 and x64 with one click.
To build in Windows with Visual Studio (IDE or command line), see the visual_studio
subdirectory and notes (README.TXT).
 
Troubleshooting:
- If "rc" can't be found, install the Windows 10 SDK, and then copy
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
- If lex.yy.c can't be found, check the flex command (it generates lex.yy.c)
- If nmake gives the error message "makefile(28) : fatal error U1000: Syntax error: ")" missing in macro invocation"
then run nmake with the parameter "/f nmake.mak" or "/f nmake64.mak"
(nmake calls Makefile by default, which is not optimized for nmake)
- If you run into any problems, try "nmake /f nmake.mak clean" followed by "nmake /f nmake.mak",
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 32bit and 64 bit building.
- Since the RC files have a complex structure, you cannot edit the resources inside the IDE.
You need to edit the *.rc files manually.
 
BUILDING WITH OPEN WATCOM
(Most recently tested with Open Watcom 1.9 with Adobe Photoshop SDK CC 2017):