Discussion:
[CsMain] Compiling problems in Win32
(too old to reply)
Furqan Ullah
2000-04-13 19:35:55 UTC
Permalink
I updated the cs today and got these warnings and errors.

C:\Cs\libs\csengine\basic\polyset.cpp(439) : warning C4100: 'num' :
unreferenced formal parameter
C:\Cs\libs\csengine\basic\polyset.cpp(439) : warning C4100: 'polygon' :
unreferenced formal parameter
C:\Cs\libs\csphyzik\feathers.cpp(262) : warning C4701: local variable
'vwork' may be used without having been initialized
C:\Cs\libs\csphyzik\feathers.cpp(375) : warning C4701: local variable
'vwork' may be used without having been initialized
C:\Cs\libs\csphyzik\feathers.cpp(448) : warning C4701: local variable
'vwork' may be used without having been initialized
Linking...
Creating library ..\..\blocks.lib and object ..\..\blocks.exp
cspace.lib(world.obj) : error LNK2001: unresolved external symbol "public:
__thiscall csCameraPosition::csCameraPosition(char const *,char const
*,class csVector3 const &,class csVector3 const &,class csVector3 const &)"
(??0csCameraPosition@@***@PB
D0ABVcsVector3@@***@Z)
cspace.lib(csloader.obj) : error LNK2001: unresolved external symbol
"public: __thiscall csCameraPosition::csCameraPosition(char const *,char
const *,class csVector3 const &,class csVector3 const &,class csVector3
const &)" (??0csCameraPosition@@QAE
@PBD0ABVcsVector3@@***@Z)
cspace.lib(world.obj) : error LNK2001: unresolved external symbol "public:
void __thiscall csCameraPosition::Set(char const *,class csVector3 const
&,class csVector3 const &,class csVector3 const &)"
(?***@csCameraPosition@@QAEXPBDABVcsVector3@@***@Z
)
..\..\blocks.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

All.lib - 4 error(s), 5 warning(s)

Really Thanks;

Furqan
Paul Garceau
2000-04-13 22:32:30 UTC
Permalink
First, be sure you've read the available documentation. A
number of the folks here have spent a great deal of time and
energy rounding up data and information to give new users a
documented basis to start from when building CS.
There are 33 different developers working on different aspects
of CS. The CS repository is being updated at least once every
other day.

You'll need to supply us (the mailing list) with more
information.

What OS Platform are you using? Win32 will build differently
on different Windows platforms. Also, which compiler are you
using? What process did you use to make CS. There are a number
of different types of builds that are supported by CS makefiles.
Post by Furqan Ullah
I updated the cs today and got these warnings and errors.
C:\Cs\libs\csengine\basic\polyset.cpp(439) : warning C4100: 'num'
: unreferenced formal parameter
'polygon' : unreferenced formal parameter
C:\Cs\libs\csphyzik\feathers.cpp(262) : warning C4701: local
variable 'vwork' may be used without having been initialized
C:\Cs\libs\csphyzik\feathers.cpp(375) : warning C4701: local
variable 'vwork' may be used without having been initialized
C:\Cs\libs\csphyzik\feathers.cpp(448) : warning C4701: local
variable 'vwork' may be used without having been initialized
Linking...
Creating library ..\..\blocks.lib and object ..\..\blocks.exp
cspace.lib(world.obj) : error LNK2001: unresolved external symbol
"public: __thiscall csCameraPosition::csCameraPosition(char const
*,char const *,class csVector3 const &,class csVector3 const
unresolved external symbol "public: __thiscall
csCameraPosition::csCameraPosition(char const *,char const
*,class csVector3 const &,class csVector3 const &,class csVector3
cspace.lib(world.obj) : error LNK2001: unresolved external symbol
"public: void __thiscall csCameraPosition::Set(char const *,class
csVector3 const &,class csVector3 const &,class csVector3 const
..\..\blocks.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
All.lib - 4 error(s), 5 warning(s)
Really Thanks;
Furqan
_______________________________________________
Crystal-main mailing list
http://lists.sourceforge.net/mailman/listinfo/crystal-main
Greg Caulton
2000-04-14 00:24:49 UTC
Permalink
Have you tried to compile it yourself from a new (clean) current snapshot?

The warnings cropped up recently.
The error for csCameraPosition has been around for longer (maybe 5 days).
It happens when you rebuild all files.

Specific to Walktest is another error:

--------------------Configuration: OpenGLRender - Win32
Debug--------------------
Linking...
Creating library Debug/gl3d.lib and object Debug/gl3d.exp
ogl_g3d.obj : error LNK2001: unresolved external symbol "void __cdecl
DefaultDrawPolygonMesh(struct G3DPolygonMesh &,struct iGraphics3D *,class
csReversibleTransform &,class csClipper *,float,float,int,int)"
(?DefaultDrawPolygonMesh@@YAXAAUG3DPolygo
nMesh@@PAUiGraphics3D@@AAVcsReversibleTransform@@PAVcsClipper@@***@Z)
..\..\gl3d.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

walktest.exe - 2 error(s), 0 warning(s)

MSVC 6.0. Win98.

Greg
Post by Paul Garceau
First, be sure you've read the available documentation. A
number of the folks here have spent a great deal of time and
energy rounding up data and information to give new users a
documented basis to start from when building CS.
There are 33 different developers working on different aspects
of CS. The CS repository is being updated at least once every
other day.
You'll need to supply us (the mailing list) with more
information.
What OS Platform are you using? Win32 will build differently
on different Windows platforms. Also, which compiler are you
using? What process did you use to make CS. There are a number
of different types of builds that are supported by CS makefiles.
Post by Furqan Ullah
I updated the cs today and got these warnings and errors.
C:\Cs\libs\csengine\basic\polyset.cpp(439) : warning C4100: 'num'
: unreferenced formal parameter
'polygon' : unreferenced formal parameter
C:\Cs\libs\csphyzik\feathers.cpp(262) : warning C4701: local
variable 'vwork' may be used without having been initialized
C:\Cs\libs\csphyzik\feathers.cpp(375) : warning C4701: local
variable 'vwork' may be used without having been initialized
C:\Cs\libs\csphyzik\feathers.cpp(448) : warning C4701: local
variable 'vwork' may be used without having been initialized
Linking...
Creating library ..\..\blocks.lib and object ..\..\blocks.exp
cspace.lib(world.obj) : error LNK2001: unresolved external symbol
"public: __thiscall csCameraPosition::csCameraPosition(char const
*,char const *,class csVector3 const &,class csVector3 const
unresolved external symbol "public: __thiscall
csCameraPosition::csCameraPosition(char const *,char const
*,class csVector3 const &,class csVector3 const &,class csVector3
cspace.lib(world.obj) : error LNK2001: unresolved external symbol
"public: void __thiscall csCameraPosition::Set(char const *,class
csVector3 const &,class csVector3 const &,class csVector3 const
..\..\blocks.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
All.lib - 4 error(s), 5 warning(s)
Really Thanks;
Furqan
_______________________________________________
Crystal-main mailing list
http://lists.sourceforge.net/mailman/listinfo/crystal-main
_______________________________________________
Crystal-main mailing list
http://lists.sourceforge.net/mailman/listinfo/crystal-main
Jorrit Tyberghein
2000-04-14 06:22:15 UTC
Permalink
Here are a list of files which are recently added:

libs/cengine/campos.cpp -> cspace.lib
apps/walktest/walkdemo.cpp -> WalkTest
apps/walktest/walkcd.cpp
apps/walktest/walkcmd.cpp
libs/cs3d/common/dpmesh.cpp -> All 3D renderers

These need to be added to the project files.
Note that I find it surprising that so many people have trouble
finding this out on their own. If you get an undefined symbol below
it is not difficult to do a 'find' on the source tree to find out in which
file it is defined. Then you can just add that file to the right place
in the project.

Greetings,
Post by Greg Caulton
Have you tried to compile it yourself from a new (clean) current snapshot?
The warnings cropped up recently.
The error for csCameraPosition has been around for longer (maybe 5 days).
It happens when you rebuild all files.
--------------------Configuration: OpenGLRender - Win32
Debug--------------------
Linking...
Creating library Debug/gl3d.lib and object Debug/gl3d.exp
ogl_g3d.obj : error LNK2001: unresolved external symbol "void __cdecl
DefaultDrawPolygonMesh(struct G3DPolygonMesh &,struct iGraphics3D *,class
csReversibleTransform &,class csClipper *,float,float,int,int)"
..\..\gl3d.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
walktest.exe - 2 error(s), 0 warning(s)
MSVC 6.0. Win98.
Greg
Post by Paul Garceau
First, be sure you've read the available documentation. A
number of the folks here have spent a great deal of time and
energy rounding up data and information to give new users a
documented basis to start from when building CS.
There are 33 different developers working on different aspects
of CS. The CS repository is being updated at least once every
other day.
You'll need to supply us (the mailing list) with more
information.
What OS Platform are you using? Win32 will build differently
on different Windows platforms. Also, which compiler are you
using? What process did you use to make CS. There are a number
of different types of builds that are supported by CS makefiles.
Post by Furqan Ullah
I updated the cs today and got these warnings and errors.
C:\Cs\libs\csengine\basic\polyset.cpp(439) : warning C4100: 'num'
: unreferenced formal parameter
'polygon' : unreferenced formal parameter
C:\Cs\libs\csphyzik\feathers.cpp(262) : warning C4701: local
variable 'vwork' may be used without having been initialized
C:\Cs\libs\csphyzik\feathers.cpp(375) : warning C4701: local
variable 'vwork' may be used without having been initialized
C:\Cs\libs\csphyzik\feathers.cpp(448) : warning C4701: local
variable 'vwork' may be used without having been initialized
Linking...
Creating library ..\..\blocks.lib and object ..\..\blocks.exp
cspace.lib(world.obj) : error LNK2001: unresolved external symbol
"public: __thiscall csCameraPosition::csCameraPosition(char const
*,char const *,class csVector3 const &,class csVector3 const
unresolved external symbol "public: __thiscall
csCameraPosition::csCameraPosition(char const *,char const
*,class csVector3 const &,class csVector3 const &,class csVector3
cspace.lib(world.obj) : error LNK2001: unresolved external symbol
"public: void __thiscall csCameraPosition::Set(char const *,class
csVector3 const &,class csVector3 const &,class csVector3 const
..\..\blocks.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
All.lib - 4 error(s), 5 warning(s)
Really Thanks;
Furqan
_______________________________________________
Crystal-main mailing list
http://lists.sourceforge.net/mailman/listinfo/crystal-main
_______________________________________________
Crystal-main mailing list
http://lists.sourceforge.net/mailman/listinfo/crystal-main
_______________________________________________
Crystal-main mailing list
http://lists.sourceforge.net/mailman/listinfo/crystal-main
--
==============================================================================
***@uz.kuleuven.ac.be, University Hospitals KU Leuven BELGIUM

History, contrary to popular theories, *is* kings and dates and battles.
-- (Terry Pratchett, Small Gods)
==============================================================================
Andrew Zabolotny
2000-04-14 06:41:30 UTC
Permalink
Post by Jorrit Tyberghein
Note that I find it surprising that so many people have trouble
finding this out on their own. If you get an undefined symbol below
it is not difficult to do a 'find' on the source tree to find out in which
Command line? On Windows? :-)
People used to GUI will be never able to do somthing like that. Its too
complex.

Greetings,
_\***@teamOS/2
Greg Caulton
2000-04-14 07:03:24 UTC
Permalink
actually MSVC has a built in find in the gui...:-)

the part I'm not sure (ahem c++ is next year.. just hacking for now) is where
to place the missing files - after identifying which files are missing. Sure
the places Tim Pike are logical by looking at it - but if you create a file -
is there some configuration file I could read to identify where to place in the
project? Or is this all very specific to MSVC...

Just wondering in case it is possible to semi-automate updating the project
files.

Greg
Post by Andrew Zabolotny
Post by Jorrit Tyberghein
Note that I find it surprising that so many people have trouble
finding this out on their own. If you get an undefined symbol below
it is not difficult to do a 'find' on the source tree to find out in which
Command line? On Windows? :-)
People used to GUI will be never able to do somthing like that. Its too
complex.
Greetings,
_______________________________________________
Crystal-main mailing list
http://lists.sourceforge.net/mailman/listinfo/crystal-main
Frank O'Connor
2000-04-14 13:46:58 UTC
Permalink
With the MSVC projects, Thomas has created logical groupings of the source
file that don't map to anything specific (like directories). It's all based
on whoever is maintaing the dsp's. In the future, know that you can throw a
file anywhere as long as it's in the corect project. Most projects have a
/general group (engine/general) that misc or un-sorted files can go in.

In the future, it would be nice if we could possibly configure the Makefile
system and maybe some simple perl scripts to keep the dsp's up to date
automatically...

-frank


----- Original Message -----
From: "Greg Caulton" <***@sympatico.ca>
To: <crystal-***@lists.sourceforge.net>
Sent: Friday, April 14, 2000 3:03 AM
Subject: Re: RECENT new files added (was Re: [CsMain] Compiling problems
inWin32)
Post by Greg Caulton
actually MSVC has a built in find in the gui...:-)
the part I'm not sure (ahem c++ is next year.. just hacking for now) is where
to place the missing files - after identifying which files are missing.
Sure
Post by Greg Caulton
the places Tim Pike are logical by looking at it - but if you create a file -
is there some configuration file I could read to identify where to place in the
project? Or is this all very specific to MSVC...
Just wondering in case it is possible to semi-automate updating the project
files.
Greg
Post by Andrew Zabolotny
Post by Jorrit Tyberghein
Note that I find it surprising that so many people have trouble
finding this out on their own. If you get an undefined symbol below
it is not difficult to do a 'find' on the source tree to find out in which
Command line? On Windows? :-)
People used to GUI will be never able to do somthing like that. Its too
complex.
Greetings,
_______________________________________________
Crystal-main mailing list
http://lists.sourceforge.net/mailman/listinfo/crystal-main
_______________________________________________
Crystal-main mailing list
http://lists.sourceforge.net/mailman/listinfo/crystal-main
dyad
2000-04-14 09:30:41 UTC
Permalink
Post by Andrew Zabolotny
Post by Jorrit Tyberghein
Note that I find it surprising that so many people have trouble
finding this out on their own. If you get an undefined symbol below
it is not difficult to do a 'find' on the source tree to find out in which
Command line? On Windows? :-)
People used to GUI will be never able to do somthing like that. Its too
complex.
Heh. Neither GUIs nor shabby command shell seem to be that much of a problem
for the likes of DJGPP, Cygnus, GNU, ActivePerl, unix tool porters, many
CrystalSpace developers, me, and thousands of others... 8)

Seth Galbraith
2000-04-14 14:41:22 UTC
Permalink
Actually, the Windows Start/Find/Files or Folders GUI application can find
files in a certain directory containing certain text strings, but not many
people seem to know this. You know how GUI users are :-)
Post by Andrew Zabolotny
Post by Jorrit Tyberghein
Note that I find it surprising that so many people have trouble
finding this out on their own. If you get an undefined symbol below
it is not difficult to do a 'find' on the source tree to find out in which
Command line? On Windows? :-)
People used to GUI will be never able to do somthing like that. Its too
complex.
Greetings,
_______________________________________________
Crystal-main mailing list
http://lists.sourceforge.net/mailman/listinfo/crystal-main
__ __ _ _ __ __
_/ \__/ \__/ Seth Galbraith "The Serpent Lord" \__/ \__/ \_
\__/ \__/ \_ ***@krl.org #2244199 on ICQ _/ \__/ \__/
_/ \__/ \__/ http://www.planetquake.com/simitar \__/ \__/ \_
Continue reading on narkive:
Loading...