This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
build:common_pitfalls [2010/04/16 06:43] j.m created |
build:common_pitfalls [2012/11/11 08:51] (current) |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| It is common for Fink/OpenDarwin or if you compile Avidemux as a simple user. Assuming the extras are in /sw, do | It is common for Fink/OpenDarwin or if you compile Avidemux as a simple user. Assuming the extras are in /sw, do | ||
| - | export CFLAGS="-I/sw/include" | + | <code bash> |
| - | export CXXFLAGS=$CFLAGS | + | export CFLAGS="-I/sw/include" |
| - | export CPPFLAGS=$CFLAGS | + | export CXXFLAGS=$CFLAGS |
| - | export LDFLAGS="-L/sw/lib" | + | export CPPFLAGS=$CFLAGS |
| + | export LDFLAGS="-L/sw/lib" | ||
| + | </code> | ||
| You can add as much as you want. | You can add as much as you want. | ||
| - | ==== Complaints about xvid_2pass2 ==== | + | ===== Complaints about xvid_2pass2 ===== |
| If you get complaints about xvid_2pass2 (Xvid 2(nbsp)pass), it usually means you have both XviD 0.9.x and 1.0.x on your system. Remove all but one, redo a configure and continue. The newer version is recommended. | If you get complaints about xvid_2pass2 (Xvid 2(nbsp)pass), it usually means you have both XviD 0.9.x and 1.0.x on your system. Remove all but one, redo a configure and continue. The newer version is recommended. | ||