[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] problem when compiling

From: Joey Rios
Subject: [Help-glpk] problem when compiling
Date: Tue, 14 Jul 2009 23:39:48 -0700

Looks like you got the include path correct, but you probably need the glpk library on your library path. You can add a flag when compiling. Figure out where libglpk lives and try the '-L' flag when you compile.

gcc -o sample_binary sample.c -I/usr/include/glpk-4.26/include -lglpk -L/path/to/libglpk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]