|
From: Depo C. <dep...@gm...> - 2011-04-16 04:09:35
|
Library Path is C:\MinWG\lib I took out path and suffix. Still errors. gcc -LC:\MinGW\lib -p -pg -oTestC.exe TestC.o -llibglfw -llibglfwdll c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -llibglfw c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -llibglfwdll On 4/15/2011 8:22 PM, J Decker wrote: > Because gcc doesn't want the FULL name it just wants the core name - > it auto adds the lib prefix and .a or .so suffix. > > On Fri, Apr 15, 2011 at 5:06 PM, Depo Catcher<dep...@gm...> wrote: >> See screen shot. Files are there, but can't find any of them. Out of >> frustration I just put them in the MinGW\lib path; but it still can't find >> them! >> I'm really sore about this, files obviously exist and have read/write perms >> to them. I tried from command line also without luck. >> >> http://i.imgur.com/bPvG4.png >> >> * OS: Windows 7 Pro X64 >> * IDE: Eclipse IDE for C/C++ Developers >> * Compiler: MinGW (lastest, 4.5.2) >> >> Compiling HelloWorld.c works; but when I try to add some external libraries >> it chokes. >> >> The libraries I have are said to be compatible with win32/mingw. They also >> have a different download for MSVC which does work. >> >> Frustrating. The ld.exe gives the full path and obviously there and I have >> permissions to read/write them. I also included them without path (they are >> in library path and path). >> >> I don't understand why this isn't working. >> >> c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot >> find -l >> C:\rhino\data\lib\glfw.dll >> c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot >> find -l >> C:\rhino\data\lib\libglfwdll.a >> c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot >> find -lC:\rhino\data\lib\libglfw.a >> >> C:\Users\rhino>dir C:\rhino\data\lib\libglfw.a >> 04/15/2011 05:24 PM 70,384 libglfw.a >> >> >> ------------------------------------------------------------------------------ >> Benefiting from Server Virtualization: Beyond Initial Workload >> Consolidation -- Increasing the use of server virtualization is a top >> priority.Virtualization can reduce costs, simplify management, and improve >> application availability and disaster protection. Learn more about boosting >> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >> _______________________________________________ >> MinGW-users mailing list >> Min...@li... >> >> This list observes the Etiquette found at >> http://www.mingw.org/Mailing_Lists. >> We ask that you be polite and do the same. Disregard for the list etiquette >> may cause your account to be moderated. >> >> _______________________________________________ >> You may change your MinGW Account Options or unsubscribe at: >> https://lists.sourceforge.net/lists/listinfo/mingw-users >> Also: mailto:min...@li...?subject=unsubscribe >> |