Crystal Space
Welcome, Guest. Please login or register.
August 29, 2014, 06:47:57 am

Login with username, password and session length
Search:     Advanced search
9008 Posts in 2043 Topics by 8357 Members
Latest Member: Msyexelcarl03
* Home Help Search Login Register
  Show Posts
Pages: [1] 2
1  Crystal Space Project Development / Bug Reports / CS 2.0 Beta 1 compile errors on: December 11, 2011, 04:09:41 pm
I tried to compile CS 2.0 Beta 1 (revision 37180) on Windows XP using Visual Studio 2008 Express in 'Release with dlls" mode with cs-win32libs-2.0_001 and got the following fatal errors:-

------ Build started: Project: appwxtest, Configuration: ReleaseWithDlls Win32 ------
Compiling...
wxtest.cpp
Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation.  All rights reserved.
Linking...
wxtest.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class wxXmlResource * __cdecl wxXmlResource::Get(void)" (__imp_?Get@wxXmlResource@@SAPAV1@XZ)
wxtest.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static int __cdecl wxXmlResource::GetXRCID(unsigned short const *,int)" (__imp_?GetXRCID@wxXmlResource@@SAHPBGH@Z)
wxtest.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class wxPanel * __thiscall wxXmlResource::LoadPanel(class wxWindow *,class wxString const &)" (__imp_?LoadPanel@wxXmlResource@@QAEPAVwxPanel@@PAVwxWindow@@ABVwxString@@@Z)
wxtest.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxXmlResource::InitAllHandlers(void)" (__imp_?InitAllHandlers@wxXmlResource@@QAEXXZ)
wxtest.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxXmlResource::Load(class wxString const &)" (__imp_?Load@wxXmlResource@@QAE_NABVwxString@@@Z)
..\..\wxtest.exe : fatal error LNK1120: 5 unresolved externals
Build log was saved at "file://e:\CS\out\release9\build\appwxtest\BuildLog.htm"
appwxtest - 6 error(s), 0 warning(s)


I also got more than a few warnings about deprecated features being used in other files, but they did compile.
2  Crystal Space Development / Support / Re: Missing Dependencies on: December 09, 2011, 01:21:45 am
Any progress on rebuilding the libraries? CS and CEL 2.0 beta 1 are being released tomorrow.
3  Crystal Space Development / Support / Re: Missing Dependencies on: December 05, 2011, 08:11:05 pm
Okay, thanks. If this coming Saturday is the release day for CS and CEL 2.0 beta 1, a lot more people are going to encounter this.

The 2.1 libraries have the same problem, although I didn't check the log to see if it was the same cause.

Is there anywhere on the site that says what version of MinGW was used to create each Windows library package? I saw the notes on which version of GCC was used during installation, but you have to actually download the file and start the install to see that.

I ended up using mingw-w64-bin_x86_64-mingw_4.5.2_20110217_ext_megasoft78 as the CS files compiled using mingw-w64-bin_x86_64-mingw_20111101_sezero just didn't run (it contains a pre-release version of GCC 4.5.4).
4  Crystal Space Development / Support / Re: Missing Dependencies on: December 04, 2011, 11:56:54 pm
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)
5  Crystal Space Development / Support / Re: Missing Dependencies on: December 03, 2011, 09:23:33 pm
I uninstalled the 64-bit libraries, deleted the CS directory, copied a fresh CS directory from my SVN folder and installed the 32-bit windows libraries. After running configure in MSYS I got:-

******************************************************************************
***                 Crystal Space -- Configuration Summary                 ***
******************************************************************************
Build mode: optimize
Version: 2.0 (SVN: no)

Optional Dependencies
---------------------
Found
  cs-winlibs           (other)
  directx              (rendering)
  opengl               (rendering)
  python               (bindings)
  waveout              (audio)

Missing
  3ds                  (models)
  assimp               (models)
  bullet               (physics)
  cairo                (image)
  cairomm              (image)
  cal3d                (models)
  cegui                (gui)
  cg                   (rendering)
  freetype2            (other)
  java                 (bindings)
  jpeg                 (image)
  lcms                 (image)
  mng                  (image)
  ode                  (physics)
  ogg                  (audio)
  openal               (audio)
  perl                 (bindings)
  png                  (image)
  speex                (audio)
  vgvm                 (image)
  vorbis               (audio)
  wxwidgets            (gui)
  zlib                 (other)
6  Crystal Space Development / Support / Re: Missing Dependencies on: December 03, 2011, 06:46:09 pm
Okay, I copied that file across and no longer get an error message about it being missing, but the programs still don't do anything when I try to run them.
7  Crystal Space Development / Support / Re: Missing Dependencies on: December 03, 2011, 04:28:46 pm
libCEGUIBase-csmingw64-gcc-4.5.dll is missing. I see a load for VS 8, 9 and 10, but none with mingw or gcc in the name.
8  Crystal Space Development / Support / Re: Missing Dependencies on: December 03, 2011, 03:54:00 am
I've made some progress. By starting MSYS and then typing the following:-
cd /c/cs
./configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32

I now get:-

******************************************************************************
***                 Crystal Space -- Configuration Summary                 ***
******************************************************************************
Build mode: optimize
Version: 2.0 (SVN: no)

Optional Dependencies
---------------------
Found
  3ds                  (models)
  cal3d                (models)
  cegui                (gui)
  cg                   (rendering)
  cs-winlibs           (other)
  directx              (rendering)
  freetype2            (other)
  jpeg                 (image)
  mng                  (image)
  ode                  (physics)
  ogg                  (audio)
  openal               (audio)
  opengl               (rendering)
  png                  (image)
  python               (bindings)
  speex                (audio)
  vorbis               (audio)
  waveout              (audio)
  wxwidgets            (gui)
  zlib                 (other)

Missing
  assimp               (models)
  bullet               (physics)
  cairo                (image)
  cairomm              (image)
  java                 (bindings)
  lcms                 (image)
  perl                 (bindings)
  vgvm                 (image)

Is that the best I can get? I thought Bullet at least was included in the Windows libraries?

Edit: I compiled with the jam command, but none of the resulting programs will run. Some complain of a missing dll, others just do nothing.
9  Crystal Space Development / Support / Missing Dependencies on: December 03, 2011, 01:29:23 am
I have tried installing Crystal Space on Windows 7 Home Premium (64-bit) with MSYS and MinGW-W64, but seem to have a lot of dependencies missing. This is on a laptop with ATI/AMD HD 6520G graphics (driver version 8.902.0.0 dated 12th October, 2011).

I installed Python 2.7.2 64-bit for Windows, MinGW-W64 and MSYS from the MinGW-W64 site, got CS via SVN from https://crystal.svn.sourceforge.net/svnroot/crystal/CS/branches/release/V2.0/ and CEL from https://cel.svn.sourceforge.net/svnroot/cel/cel/branches/release/V2.0/ and downloaded the cs-winlibs-x64-2.0_001.exe Windows libraries.

I then ran the Windows library install program with all options enabled as I also have VS 2010 Express installed.

My directories were set up as follows:-

C:\CS
C:\CEL
C:\CrystalSpaceLibs-x64
C:\msys
C:\mingw64
C:\Python27

My environment variables were:-

CRYSTAL = C:\CS
CEL = C:\CEL
PATH = C:\Python27;C:\mingw64\bin;C:\other_unrelated_stuff

I ran msys.bat then typed
sh /postinstall/pi.sh
and filled in the info as asked. I closed the window, then ran msys.bat again and typed
cd /c/cs
./configure

When the process was complete, the following was displayed:-

******************************************************************************
***                 Crystal Space -- Configuration Summary                 ***
******************************************************************************

Build mode: optimize
Version: 2.0 (SVN: no)

Optional Dependencies
---------------------

Found

  directx              (rendering)
  opengl               (rendering)
  python               (bindings)
  waveout              (audio)
  wxwidgets            (gui)

Missing

  3ds                  (models)
  assimp               (models)
  bullet               (physics)
  cairo                (image)
  cairomm              (image)
  cal3d                (models)
  cegui                (gui)
  cg                   (rendering)
  cs-winlibs           (other)
  freetype2            (other)
  java                 (bindings)
  jpeg                 (image)
  lcms                 (image)
  mng                  (image)
  ode                  (physics)
  ogg                  (audio)
  openal               (audio)
  perl                 (bindings)
  png                  (image)
  speex                (audio)
  vgvm                 (image)
  vorbis               (audio)
  zlib                 (other)

Can anyone tell me why my system can't find all those items?
10  Crystal Space Development / Support / New installation help required on: November 26, 2011, 02:05:13 am
I bought myself a new laptop about 3 weeks ago, which I would like to install Crystal Space, CEL and CELstart on. The O/S is Windows 7 Home Premium 64-bit.

Can someone please run through the process for me? I've seen the "Basic Compiling" thread, but that is over 2 years old now, so I'm guessing there will have been quite a few changes since that was written.

I'm also guessing I would be better off using the 2.0 branch.

Oh, and I'd also like to install and use Python.

Would I be better off using Visual Studio 2010 Express, MinGW or MinGW-w64? I'll most likely also be installing TexInfo for Windows, so that I can help with the documentation (once I learn more about CS).
11  Crystal Space Development / Support / Re: NetBeans + MinGW + CS `_imp__GetStockObject@4' on: November 12, 2010, 05:47:57 am
I don't have a clue how to set up NetBeans for Crystal Space (I use Visual Studio 2008 Express), but I do know you're trying to use the wrong version of the Windows libraries.

cs-win32libs-1.9_006 is for CS 1.9 only, you need cs-win32libs-1.4_002 for CS 1.4.

If you aren't already doing so, I would suggest using the branch/release rather than tag versions of CS and CEL 1.4 as the code has been updated more recently.

https://crystal.svn.sourceforge.net/svnroot/crystal/CS/branches/release/V1.4
https://cel.svn.sourceforge.net/svnroot/cel/cel/branches/release/V1.4
12  Crystal Space Development / General Crystal Space Discussion / Re: Huge terrains possible? on: October 31, 2010, 03:07:20 am
It took longer than I anticipated, but I've finally managed to get matching versions of CS and CEL to compile with most of the examples working (albeit with warnings about deprecated commands etc.).

I don't have a lot of experience with C++ and none with Python, XML or Texinfo, so it might be a while before I can contribute anything useful to the documentation.
13  Associate Projects / CEL Discussion / Problem with compiling CEL 1.4 Release on: October 31, 2010, 12:43:04 am
I tried to compile the release version of CEL 1.4 from https://cel.svn.sourceforge.net/svnroot/cel/cel/branches/release/V1.4 using Visual Studio 2008 Express in Debug with DLL mode and got the following errors:-

fatal error RC1110: could not open ..\appgraph.rc
Project : error PRJ0002 : Error result 1 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\rc.exe'.


It seems there is a file named appgraphtut.rc (and others called appgraphtut.manifest and appgraphtut.vcproj which I'm guessing are related). The build output directory is named appgraph though.

Would the correct fix be to change the filename(s) or the linking code? Is the second error related to the first? Is an official change to the SVN code likely?

Also, I had problems when I tried to compile in Release with DLLs mode. The compiler complained about debug and release settings being inconsistent in the code relating to Python. I'm afraid I didn't make a note of the exact errors and wiped the directory before trying the debug version.
14  Crystal Space Development / Support / Re: compile problem with VS2010, Win7 on: October 17, 2010, 01:58:11 pm
I compiled CS 1.4 with cs-win32libs-1.4_002 on Windows XP with VS 2008 Express for the first time yesterday and got a ton of warnings too (but no errors).

I am now in the process of compiling a CVS snapshot version of 1.9 with cs-win32libs-1.9_006 (after uninstalling cs-win32libs-1.4_002), which so far is giving a lot fewer warnings.

I noticed that projects and solutions for VS 2010 are included, so you might want to try the same thing.
15  Crystal Space Development / General Crystal Space Discussion / Re: Huge terrains possible? on: October 04, 2010, 12:33:24 am
Is there any other documentation available, such as in a printed book or on another site? I seem to need to jump around the official docs a lot to find all the info on a particular topic.

For example, I read that "Terrain consists of cells, each cell has its own coordinate system (2-axis position and 3-axis scaling)," but couldn't find mention of what coordinate system is used for positioning objects on or above it.

It doesn't help that the search seems to be broken.
Pages: [1] 2
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 8.253 seconds with 16 queries.