[CMake] Problems with linking on MinGW?

2010-06-15 Thread Jesse Perla
I am using CMake 2.8.1 on Windows 7. I have MinGW installed with GCC 4.5 I have successfully compiled a library with a MinGW and cmake. The full path to the library is: c:\working\etk_binaries\libetk-mgw45.a However, when I want to link this file into an executable (no need to have the CMake

Re: [CMake] Problems with linking on MinGW?

2010-06-15 Thread Ryan Pavlik
On 06/15/2010 09:54 AM, Jesse Perla wrote: I am using CMake 2.8.1 on Windows 7. I have MinGW installed with GCC 4.5 I have successfully compiled a library with a MinGW and cmake. The full path to the library is: c:\working\etk_binaries\libetk-mgw45.a However, when I want to link this file

Re: [CMake] Problems with linking on MinGW?

2010-06-15 Thread Hendrik Sattler
Am Dienstag 15 Juni 2010, 16:54:28 schrieb Jesse Perla: I am using CMake 2.8.1 on Windows 7. I have MinGW installed with GCC 4.5 I have successfully compiled a library with a MinGW and cmake. The full path to the library is: c:\working\etk_binaries\libetk-mgw45.a However, when I want to

Re: [CMake] Problems with linking on MinGW?

2010-06-15 Thread Jesse Perla
On Tue, Jun 15, 2010 at 12:01 PM, Hendrik Sattler p...@hendrik-sattler.dewrote: Your library name is NOT libetk-mgw45. Try etk-mgw45 instead and read about library file names. Thanks for your help. Alas, on MSVC10 and Intel11.1 windows, the link_directories and target_link_libraries approach

Re: [CMake] Problems with linking on MinGW?

2010-06-15 Thread Hendrik Sattler
Am Dienstag 15 Juni 2010, 18:25:20 schrieb Jesse Perla: On Tue, Jun 15, 2010 at 12:01 PM, Hendrik Sattler p...@hendrik-sattler.dewrote: Your library name is NOT libetk-mgw45. Try etk-mgw45 instead and read about library file names. Thanks for your help. Alas, on MSVC10 and Intel11.1

Re: [CMake] Problems with linking on MinGW?

2010-06-15 Thread J Decker
On Tue, Jun 15, 2010 at 7:54 AM, Jesse Perla jessepe...@gmail.com wrote: I am using CMake 2.8.1 on Windows 7.  I have MinGW installed with GCC 4.5 I have successfully compiled a library with a MinGW and cmake.  The full path to the library is: c:\working\etk_binaries\libetk-mgw45.a However,