>C:\xrcs>E:\Dev-Cpp\bin\gcc -LC:\xrcs\glpk-4.44 sample.o -lglpk -lm > >gives an error > >E:\Dev-Cpp\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot >find -lglpk >collect2: ld returned 1 exit status > >What's wrong?
I don't use Windows, but I'd try checking your Library path. If I'm not mistaken, the GLPK library is built into the src directory. Try this as your library path flag: -LC:\xrcs\glpk-4.44\src Let us know how it goes. Joey _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
