| | 72 | |
| | 73 | == Instructions from Martin Korth == |
| | 74 | (can someone please integrate these with the above?) |
| | 75 | |
| | 76 | Under linux: |
| | 77 | 1. compile BOINC libs the standard way (you need boinc.a, boinc_api.a, and for |
| | 78 | graphics also boinc_graphics_lib.a) |
| | 79 | 2. compile boinc_api_fortran.o |
| | 80 | 3. compile own graphics lib if needed |
| | 81 | 4. compile app files (for us: 'ifort -O2 ...' and 'icc -O2 ...') |
| | 82 | 5. link application (for us: 'ifort -static-libcxa ...') |
| | 83 | |
| | 84 | link with : boinc_api_fortran.o, boinc.a, boinc_api.a, boinc_graphics_lib.a, |
| | 85 | C-(runtime)-libs (dl, nsl, gcc_s, stdc++, pthread, m, c, ... - as they are |
| | 86 | not default for the fortran compiler), and own graphics lib |
| | 87 | |
| | 88 | Under windows: |
| | 89 | 1. compile BOINC libs the standard way (you need libboinc.lib, libboincapi.lib) |
| | 90 | 2. compile boinc_api_fortran.o (at the moment I still use my old solution with an interface for every fortran function, as shown on the BOINC fortran page) |
| | 91 | 3. compile own graphics lib if needed |
| | 92 | 4. compile app files (for us: 'ifort /nologo /MT /O2 ...' and 'cl /nologo /MT /O2 ...') - btw: 'nmake' makes life easier ... |
| | 93 | 5. link application (for us 'ifort /nologo /MT ...' |
| | 94 | |
| | 95 | link with: libboinc.lib, libboincapi.lib, own graphics lib, |
| | 96 | gdi32.lib user32.lib opengl32.lib glu32.lib advapi32.lib delayimp.lib |
| | 97 | freetype.lib glut32.lib (you may need /link /nodefaultlib:libc.lib) |