summaryrefslogtreecommitdiff
path: root/INSTALL.MSVC.txt
blob: 304568aeea00f0a0781337775728a72775ffab5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
****** STUB *******

If you want to build OCE from sources with MSVC, read BUILD.MSVC.txt

If you have downloaded the PRECOMPILED package, just make sure that you are using the 
exactly matching compiler version, including service pack level.

To be able to use OCE from MSVC, you have to set various "Project Options"

- C++ Compiler \ Additional include directories 
  Set these pointing to <oce-install-dir>\inc

- Linker \ Additional Directories 
  Set these point to <oce-install-dir>\Win32\lib
  Eventually change Win32 with Win64 when required

- Linker "Input Libraries"
  For each toolkit you use, you must add the corresponding .lib files
  Debug libraries have a "d" suffix.
  For example, you will have to add TKernel.lib in RELEASE and TKerneld.lib in DEBUG
  to use the Kernel module.
  If you get linker errors, you likely forgot to add a .lib file to that list.

- Binary search path
  When you run the program, the system must be able to find the OCE libraries somewhere. You can add
  <oce-install-dir>\Win32\bin to your PATH environment variable or add it locally to your project
  (preferred way). Also you can copy all the DLLs to your project binary folder.

  Be careful when adding multiple OCE version in your search PATH, you will likely end up with loader errors.