Hi. I am trying to build FS2Open on Windows so that friends of mine that are stranded to said operating system can play the same version as me (I'm using Linux and will never go back if possible). My issue is with attempting to install the dependencies (libogg, libvorbis, libtheora) under Windows using MSYS. Here's what I've done so far:
* installed MingGW
* installed MSYS
* downloaded source versions of the three libraries I mentioned above
I then built libogg using Make, and attempted to run a 'make install'. According to the output, there were no errors and all seemed to be well.
Then, upon running configure for libvorbis, I received this error at the end:
*** Could not run Ogg test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Ogg was incorrectly installed
*** or that you have moved Ogg since it was installed.
configure: error: must have Ogg installed!
Now, I know I installed ogg using make install, but I should have known that when I thought MSYS would automagically use local system variables to find the proper location in the MinGW install, it was just wishful thinking. I am still new to MSYS and relatively new to MinGW in general. When I first started coding, prior to migrating to Linux, I used Visual Studio and the Microsoft compilers, although I'm trying to avoid that like the plague now, since the practices can't be replicated across platforms. Obviously, this is only the first of my woes in attempting to build FS2 on Windows with MinGW, but it would be extremely helpful if someone who has had the experience building with those programs could tell me the proper directories to put everything. I had sincerely hoped that the "make install" would just figure it out, but that was not the case. Also, I know this is more of a question pertaining to these libraries and not SCP, but since these must be installed to build SCP, I consider it relevant. I could not find a guide for compiling on Windows with MinGW. Any help is truly appreciated!