EDT, Inc.
2019 April 29
22
VisionLink F-series
Firmware: FPGA Configuration (.bit) Files
Table 6. Building or rebuilding an application
–
methods by operating system
Windows
Linux
Compiler
Use a C compiler; EDT provides project files and
makefiles for Microsoft Visual C.
Use the
gcc
compiler, typically included with the
standard C development tools.
Build method 1
Use the included
makefile
:
At a Windows command prompt, per Microsoft
requirements, verify your system is set for 32- or 64-bit
builds by running, for example,
vcvarsall.bat
amd64
from your Visual Studio directory. Then, in the
installation directory (see
), run
one of the following...
•
To build a specific executable:
nmake
file
.exe
•
To build all of the examples and utilities:
nmake
Use the included
makefile
:
In the installation directory (see
),
run one of the following...
•
To build a specific executable:
make
file
•
To build all of the examples and utilities:
make
Build method 2
Use the Microsoft Visual Studio 2008 projects and
solutions in
projects.vs2008
[n/a]
Compiling vlviewer
To compile and experiment with the
vlviewer
source code, you will need the appropriate compiler and Qt (4.6 or later)
installed on your system and in your path; at a minimum, the Qt Core and Development libraries are required. See
for Qt information and downloads.
The method for installing Qt4 varies depending on the operating system; check your OS-specific documentation for the
proper installation method for Q4 software (i.e.,
yum
,
apt-get
, etc.). For the current Qt package installation
requirements as we know them, read the file
README.lnx.reqs
in your installation directory.
•
For Linux: In the installation directory (see
), run...
make vlviewer
•
For Windows: Navigate to the EDT installation directory (by default,
C:\EDT\Pdv
) and run
nmake vlviewer
–
or, alternatively, use the Microsoft Visual Studio (VS2008, v9.0) project in the
vlv
subdirectory. The build and the
version of Qt must match your platform (32-bit or 64-bit).
NOTE
For tutorial videos showing how to compile and use EDT applications, see
Firmware: FPGA Configuration (.bit) Files
At times, you may need to reprogram the PCIe interface flash memory using
pciload
–
for instance...
•
if you want to switch from one mode to another (base, medium, full) on certain EDT boards;
•
if you need to use an FPGA configuration file that has special functionality;
•
if you update to a new installation package that includes a required update for your board; or
•
if the firmware becomes corrupted.
To do so, follow the instructions in the sections below.