I uninstalled the 32-bit libraries, MinGW etc. and deleted the CS directory and started again with a slightly older version of MinGW-W64 that has GCC 4.52 instead of 4.54 plus the 64-bit version of the Windows libraries. I also copied all the dll files from the mingw64 directory of CrystalSpaceLibs-x64 to my new CS directory.
I still have the same missing dependencies as in my second post, but most of the files that compiled do now run.
I'm not sure what I'm looking for in the config.log file. Here is an excerpt that might help someone who knows more track down the problem:-
configure:49977: checking if pkg-config recognizes bullet
configure:49988: result: yes
configure:49996: pkg-config --cflags bullet
configure:49999: 0 = 0
configure:50002: pkg-config --libs bullet
configure:50005: 0 = 0
configure:50311: checking for Bullet
configure:50396: x86_64-w64-mingw32-g++ -o conftest.exe -Ic:/CrystalSpaceLibs-x64/mingw64/../common/include/bullet -I/C/CrystalSpaceLibs-x64/mingw64/include -I/C/CrystalSpaceLibs-x64/common/include -L/C/CrystalSpaceLibs-x64/mingw64-gcc-4.5/lib -L/C/CrystalSpaceLibs-x64/mingw64/lib -L/C/CrystalSpaceLibs-x64/common/lib conftest.cpp -lBulletSoftBody -lBulletDynamics -lBulletCollision -lLinearMath >&5
c:/CrystalSpaceLibs-x64/mingw64-gcc-4.5/lib/libBulletSoftBody.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
configure:50396: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "crystalspace"
| #define PACKAGE_TARNAME "crystalspace"
| #define PACKAGE_VERSION "2.0"
| #define PACKAGE_STRING "crystalspace 2.0"
| #define PACKAGE_BUGREPORT "
crystal-main@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CMATH 1
| #define HAVE_MATH_H 1
| #define HAVE_IEEEFP_H 1
| #define CS_PLATFORM_WIN32 /**/
| #define X_DISPLAY_MISSING 1
| #define HAVE_WINDOWS_H 1
| /* end confdefs.h. */
| #include "btBulletDynamicsCommon.h"
| #include "btBulletCollisionCommon.h"
| int
| main ()
| {
| btCollisionDispatcher* d;
| btBroadphaseInterface* b;
| btSequentialImpulseConstraintSolver* s;
| btDefaultCollisionConfiguration* c;
| btDynamicsWorld* world = new btDiscreteDynamicsWorld (d, b, s, c)
| ;
| return 0;
| }
Edit: I also tried the trunk version of CS with the cs-winlibs-x64-2.1_001.exe Windows libraries and got this:-
Missing
assimp (models)
bullet (physics)
cairo (image)
cairomm (image)
curl (other)
java (bindings)
lcms (image)
perl (bindings)
vgvm (image)