Re: [Mingw-w64-public] directory structure / lib placement

2012-05-01 Thread Ruben Van Boxem
2012/5/1 Baruch Burstein > I meant fix it in the SFML CMake script. I would add a test to check if > mingw-w64 is being used and which lib is being searched for, and go to the > correct dir for it. I just need to know which libs would be found in the > main lib folder, and which in the nested one

Re: [Mingw-w64-public] directory structure / lib placement

2012-05-01 Thread Baruch Burstein
I meant fix it in the SFML CMake script. I would add a test to check if mingw-w64 is being used and which lib is being searched for, and go to the correct dir for it. I just need to know which libs would be found in the main lib folder, and which in the nested one. I am using CMake 2.8.8, but the

Re: [Mingw-w64-public] directory structure / lib placement

2012-05-01 Thread Ruben Van Boxem
2012/5/1 Baruch Burstein > I found the problem. It is indeed an SFML CMake script that assumes that > libraries are at \lib and has this hard-coded at one point when > building static libraries (it calls `ar x ` to open all the static > libraries and then repackages them as a single static librar

Re: [Mingw-w64-public] directory structure / lib placement

2012-05-01 Thread Baruch Burstein
I found the problem. It is indeed an SFML CMake script that assumes that libraries are at \lib and has this hard-coded at one point when building static libraries (it calls `ar x ` to open all the static libraries and then repackages them as a single static library). Can you explain further which l

Re: [Mingw-w64-public] directory structure / lib placement

2012-05-01 Thread Baruch Burstein
I downloaded the latest SFML source from github ( https://github.com/LaurentGomila/SFML) and built the makefile with CMake and default options. I just tried a small example like you suggested and it indeed found no problem. I guess the problem s somewhere in the cmake/sfml combo. Do you have any ex

Re: [Mingw-w64-public] directory structure / lib placement

2012-05-01 Thread Ruben Van Boxem
2012/5/1 Baruch Burstein > I just downloaded ruben's build of gcc 4.7.0 for 32-bit, but I think this > question applies to other (all?) other builds, too. > > I tried compiling a program that links to opengl32, but got a linker error > that the file wasn't found. In the "old" mingw32, libopengl32

[Mingw-w64-public] directory structure / lib placement

2012-05-01 Thread Baruch Burstein
I just downloaded ruben's build of gcc 4.7.0 for 32-bit, but I think this question applies to other (all?) other builds, too. I tried compiling a program that links to opengl32, but got a linker error that the file wasn't found. In the "old" mingw32, libopengl32.a was in the lib folder. In this bu