vanmier
-
Posts
6 -
Joined
-
Last visited
Posts posted by vanmier
-
-
Thanks for the information. I went and ran the "svn up" a couple of times, straightened out the libraries that I didn't have, and ran the 'clean' scripts and then the 'update' and the 'make' scripts in their respective directories.
Here are the error segments:
While building the graphics
==== Building graphics ====
precompiled.cpp
CCmpObstructionManager.cpp
ThreadUtil.cpp
Parser.cpp
../../../source/simulation2/components/CCmpObstructionManager.cpp:909: warning: unused parameter 'r'
Material.cpp
MapGenerator.cpp
Replay.cpp
ICmpAIInterface.cpp
MapReader.cppWhile building the Atlas Script
==== Building AtlasScript ====
ScriptInterface.cpp
debug_stl.cpp
utf8.cpp
CText.cpp
base32.cpp
In file included from /usr/include/wx-2.8/wx/dcgraph.h:17,
from /usr/include/wx-2.8/wx/dc.h:892,
from /usr/include/wx-2.8/wx/wx.h:48,
from ../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:32:
/usr/include/wx-2.8/wx/geometry.h:91: warning: redundant redeclaration of 'wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)' in same scope
/usr/include/wx-2.8/wx/geometry.h:90: warning: previous declaration of 'wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)'
/usr/include/wx-2.8/wx/geometry.h:93: warning: redundant redeclaration of 'wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)' in same scope
/usr/include/wx-2.8/wx/geometry.h:92: warning: previous declaration of 'wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)'
/usr/include/wx-2.8/wx/geometry.h:96: warning: redundant redeclaration of 'wxPoint2DInt operator/(const wxPoint2DInt&, wxInt32)' in same scope
/usr/include/wx-2.8/wx/geometry.h:95: warning: previous declaration of 'wxPoint2DInt operator/(const wxPoint2DInt&, wxInt32)'
app_hooks.cpp
path.cpp
byte_order.cpp2 segment here while building the Atlas UI
==== Building AtlasUI ====
precompiled.cpp
JSInterface_GUITypes.cpp
vfs_path.cpp
vfs_util.cpp
JSInterface_IGUIObject.cpp
In file included from /usr/include/wx-2.8/wx/dcgraph.h:17,
from /usr/include/wx-2.8/wx/dc.h:892,
from /usr/include/wx-2.8/wx/wx.h:48,
from /usr/include/wx-2.8/wx/wxprec.h:68,
from ../../../source/tools/atlas/AtlasUI/Misc/precompiled.h:43,
from ../../../source/tools/atlas/AtlasUI/Misc/precompiled.cpp:18:
/usr/include/wx-2.8/wx/geometry.h:91: warning: redundant redeclaration of 'wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)' in same scope
/usr/include/wx-2.8/wx/geometry.h:90: warning: previous declaration of 'wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)'
/usr/include/wx-2.8/wx/geometry.h:93: warning: redundant redeclaration of 'wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)' in same scope
/usr/include/wx-2.8/wx/geometry.h:92: warning: previous declaration of 'wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)'
/usr/include/wx-2.8/wx/geometry.h:96: warning: redundant redeclaration of 'wxPoint2DInt operator/(const wxPoint2DInt&, wxInt32)' in same scope
/usr/include/wx-2.8/wx/geometry.h:95: warning: previous declaration of 'wxPoint2DInt operator/(const wxPoint2DInt&, wxInt32)'
file_cache.cpp
GuiScriptConversions.cpp
vfs_lookup.cpp
Linking gui
vfs_populate.cpp
vfs.cpp
posix.cpp
h_mgr.cpp
ActorEditor.cpp
unifont.cpp
linux.cpp
dir_watch_fam.cpp
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:31:17: warning: fam.h: No such file or directory
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:38: error: 'FAMCodes' does not name a type
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:58: error: 'FAMConnection' does not name a type
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp: In destructor 'DirWatch::~DirWatch()':
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:71: error: 'FAMRequest' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:71: error: expected ';' before 'req'
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:72: error: 'req' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:73: error: 'fc' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:73: error: 'FAMCancelMonitor' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp: In function 'void fam_deinit()':
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:84: error: 'fc' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:84: error: 'FAMClose' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp: In function 'void fam_event_loop_process_events()':
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:98: error: 'fc' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:98: error: 'FAMPending' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:100: error: 'FAMEvent' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:100: error: expected ';' before 'e'
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:101: error: 'e' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:101: error: 'FAMNextEvent' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:108: error: 'e' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:110: error: 'struct NotificationEvent' has no member named 'code'
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp: In function 'void* fam_event_loop(void*)':
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:120: error: 'fc' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:120: error: 'FAMCONNECTION_GETFD' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp: In function 'Status dir_watch_Add(const OsPath&, PDirWatch&)':
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:165: error: 'fc' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:165: error: 'FAMOpen2' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:190: error: 'FAMRequest' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:190: error: expected ';' before 'req'
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:191: error: 'fc' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:191: error: 'req' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:191: error: 'FAMMonitorDirectory' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:199: error: 'req' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp: In function 'Status dir_watch_Poll(DirWatchNotifications&)':
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:222: error: 'struct NotificationEvent' has no member named 'code'
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:224: error: 'FAMChanged' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:227: error: 'FAMCreated' was not declared in this scope
../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:230: error: 'FAMDeleted' was not declared in this scope
make[1]: *** [obj/lowlevel_Release/dir_watch_fam.o] Error 1
make[1]: *** Waiting for unfinished jobs....
ColourDialog.cpp
make: *** [lowlevel] Error 2
make: *** Waiting for unfinished jobs....
DraggableListCtrlCommands.cpp
DraggableListCtrl.cpp
EditableListCtrlCommands.cpp
EditableListCtrl.cpp
QuickTextCtrl.cpp -
Those two missing files are part of our repository. Presumably your SVN checkout was incomplete (you can try `svn up'; it'll finish downloading any missing files) or the include paths are wonky. The latter is rather unlikely, since it works for most people, but you could have a look inside the makefile. It should contain an instance of libraries/valgrind/include and libraries/cxxtest/include/cxxtest.
Thank you for your help.
I ran the 'svn up' then ran
make CONFIG=Release clean make CONFIG=Release -j3I seem to still be having trouble with the cxxtest/Mock.h.
vanmier@blackbox:~/Games/0AD/0ad/build/workspaces/gcc$ make CONFIG=Release -j3
==== Building mocks_real ====
==== Building network ====
==== Building simulation2 ====
mocks_real.cpp
precompiled.cpp
precompiled.cpp
In file included from ../../../source/mocks/mocks_real.cpp:29:
../../../source/mocks/dlfcn.h:19:26: warning: cxxtest/Mock.h: No such file or directory
In file included from ../../../source/mocks/mocks_real.cpp:29:
../../../source/mocks/dlfcn.h:21: error: ‘dladdr’ is not a type
../../../source/mocks/dlfcn.h:22: error: expected identifier before ‘(’ token
../../../source/mocks/dlfcn.h:23: error: expected identifier before ‘(’ token
../../../source/mocks/dlfcn.h:23: error: expected ‘)’ before ‘,’ token
../../../source/mocks/dlfcn.h:23: error: expected ‘)’ before ‘,’ token
../../../source/mocks/dlfcn.h:23: error: expected constructor, destructor, or type conversion before ‘,’ token
../../../source/mocks/dlfcn.h:23: error: expected constructor, destructor, or type conversion before ‘)’ token
In file included from ../../../source/mocks/mocks_real.cpp:30:
../../../source/mocks/unistd.h:21: error: ‘getcwd’ is not a type
../../../source/mocks/unistd.h:22: error: expected identifier before ‘(’ token
../../../source/mocks/unistd.h:23: error: expected identifier before ‘(’ token
../../../source/mocks/unistd.h:23: error: expected ‘)’ before ‘,’ token
../../../source/mocks/unistd.h:23: error: expected ‘)’ before ‘,’ token
../../../source/mocks/unistd.h:23: error: expected constructor, destructor, or type conversion before ‘,’ token
../../../source/mocks/unistd.h:23: error: expected constructor, destructor, or type conversion before ‘)’ token
make[1]: *** [obj/mocks_real_Release/mocks_real.o] Error 1
make: *** [mocks_real] Error 2
make: *** Waiting for unfinished jobs....
Simulation2.cpp
CCmpPathfinder_Tile.cpp
fsm.cpp
ICmpProjectileManager.cpp
NetStats.cpp
CCmpObstruction.cpp
ICmpTerrain.cpp
CCmpOwnership.cpp
ICmpWaterManager.cpp
NetHost.cpp
ICmpObstructionManager.cpp
ICmpRangeManager.cpp
NetMessage.cpp
ICmpPosition.cpp
ICmpGuiInterface.cpp
ICmpVision.cpp
ICmpSoundManager.cpp
CCmpPathfinder.cpp
NetSession.cpp
CCmpPosition.cpp
NetMessageSim.cpp
CCmpFootprint.cpp
ICmpDecay.cpp
NetClient.cpp
CCmpMinimap.cpp
CCmpObstructionManager.cpp
../../../source/simulation2/components/CCmpObstructionManager.cpp:909: warning: unused parameter ‘r’
ICmpAIInterface.cpp
ICmpFootprint.cpp -
Grabbed the dependencies that I was missing. Re-ran the update-workspaces script and then re-ran the make in gcc and came up with this:
vanmier@blackbox:~/Games/0AD/0ad/build/workspaces/gcc$ make CONFIG=Release -j3==== Building mocks_real ====
==== Building network ====
==== Building simulation2 ====
mocks_real.cpp
make[1]: `../../../binaries/system/libnetwork.a' is up to date.
==== Building scriptinterface ====
precompiled.cpp
make[1]: `../../../binaries/system/libsimulation2.a' is up to date.
==== Building engine ====
precompiled.cpp
In file included from ../../../source/mocks/mocks_real.cpp:29:
../../../source/mocks/dlfcn.h:19:26: warning: cxxtest/Mock.h: No such file or directory
In file included from ../../../source/mocks/mocks_real.cpp:29:
../../../source/mocks/dlfcn.h:21: error: ‘dladdr’ is not a type
../../../source/mocks/dlfcn.h:22: error: expected identifier before ‘(’ token
../../../source/mocks/dlfcn.h:23: error: expected identifier before ‘(’ token
../../../source/mocks/dlfcn.h:23: error: expected ‘)’ before ‘,’ token
../../../source/mocks/dlfcn.h:23: error: expected ‘)’ before ‘,’ token
../../../source/mocks/dlfcn.h:23: error: expected constructor, destructor, or type conversion before ‘,’ token
../../../source/mocks/dlfcn.h:23: error: expected constructor, destructor, or type conversion before ‘)’ token
In file included from ../../../source/mocks/mocks_real.cpp:30:
../../../source/mocks/unistd.h:21: error: ‘getcwd’ is not a type
../../../source/mocks/unistd.h:22: error: expected identifier before ‘(’ token
../../../source/mocks/unistd.h:23: error: expected identifier before ‘(’ token
../../../source/mocks/unistd.h:23: error: expected ‘)’ before ‘,’ token
../../../source/mocks/unistd.h:23: error: expected ‘)’ before ‘,’ token
../../../source/mocks/unistd.h:23: error: expected constructor, destructor, or type conversion before ‘,’ token
../../../source/mocks/unistd.h:23: error: expected constructor, destructor, or type conversion before ‘)’ token
make[1]: *** [obj/mocks_real_Release/mocks_real.o] Error 1
make: *** [mocks_real] Error 2
make: *** Waiting for unfinished jobs....
ScriptInterface.cpp
ScriptStats.cpp
../../../source/scriptinterface/ScriptInterface.cpp:44:22: error: valgrind.h: No such file or directory
ScriptConversions.cpp
Globals.cpp
UserReport.cpp
AutoRooters.cpp
World.cpp
make[1]: *** [obj/scriptinterface_Release/ScriptInterface.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Preprocessor.cpp
make: *** [scriptinterface] Error 2
CacheLoader.cpp
ThreadUtil.cpp
Parser.cpp
Replay.cpp
ConfigDB.cpp
Util.cpp
Pyrogenesis.cpp
FileIo.cpp
VideoMode.cpp
Loader.cpp
Filesystem.cpp
ProfileViewer.cpp
Profile.cpp
Joystick.cpp
Font.cpp
ArchiveBuilder.cpp
Errors.cpp
Hotkey.cpp
Overlay.cpp
CConsole.cpp
Game.cpp
CLogger.cpp
KeyName.cpp
DllLoader.cpp
CStr.cpp
JSInterface_Console.cpp
JSInterface_VFS.cpp
HWDetect.cpp
Paths.cpp
Atlas.cpp
Config.cpp
GameSetup.cpp
CmdLineArgs.cpp
XeroXMB.cpp
XMLWriter.cpp
Xeromyces.cpp
RelaxNG.cpp
JSI_Sound.cpp
SoundGroup.cpp
ScriptGlue.cpp
ScriptingHost.cpp
JSConversions.cpp
ScriptableObject.cpp
JSUtil.cpp
Sqrt.cpp
Fixed.cpp
Matrix3D.cpp
NUSpline.cpp
Brush.cpp
Plane.cpp
Noise.cpp
Vector3D.cpp
MD5.cpp
Quaternion.cpp
Bound.cpp
JSInterface_Vector3D.cpp
Linking engine
vanmier@blackbox:~/Games/0AD/0ad/build/workspaces/gcc$ -
I'm not a programmer either so I might be missing something, but to get the easy things out of the way first, have you installed all the things listed here: http://trac.wildfire...tructions#Linux ? More specifically Boost.
That might be helpful. I installed most, but not all of the dependencies when I did my download. Thanks. I'll get the ones installed that I am lacking and try it again.
-
When I run the #make CONFIG=Release -j3 in workspaces/gcc I get the following error:
vanmier@blackbox:~/Games/0AD/0ad/build/workspaces/gcc$ make CONFIG=Release -j3
==== Building mocks_real ====
==== Building network ====
==== Building simulation2 ====
mocks_real.cpp
precompiled.cpp
precompiled.cpp
In file included from ../../../source/lib/precompiled.h:76,
from ../../../source/mocks/mocks_real.cpp:26:
../../../source/lib/pch/pch_boost.h:21:32: warning: boost/filesystem.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:23:32: warning: boost/shared_ptr.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:27:27: warning: boost/array.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:30:28: warning: boost/mem_fn.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:33:30: warning: boost/function.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:36:26: warning: boost/bind.hpp: No such file or directory
In file included from ../../../source/lib/precompiled.h:76,
from ../../../source/pch/simulation2/precompiled.h:19,
from ../../../source/pch/simulation2/precompiled.cpp:18:
../../../source/lib/pch/pch_boost.h:21:32: warning: boost/filesystem.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:23:32: warning: boost/shared_ptr.hpp: No such file or directory
In file included from ../../../source/lib/precompiled.h:76,
from ../../../source/pch/network/precompiled.h:19,
from ../../../source/pch/network/precompiled.cpp:18:
../../../source/lib/pch/pch_boost.h:21:32: warning: boost/filesystem.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:23:32: warning: boost/shared_ptr.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:27:27: warning: boost/array.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:30:28: warning: boost/mem_fn.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:33:30: warning: boost/function.hpp: No such file or directory
../../../source/lib/pch/pch_boost.h:36:26: warning: boost/bind.hpp: No such file or directory
In file included from ../../../source/mocks/mocks_real.cpp:29:
../../../source/mocks/dlfcn.h:19:26: warning: cxxtest/Mock.h: No such file or directory
In file included from ../../../source/lib/precompiled.h:76,
from ../../../source/mocks/mocks_real.cpp:26:
../../../source/lib/pch/pch_boost.h:22: error: 'boost' has not been declared
../../../source/lib/pch/pch_boost.h:22: error: 'filesystem' is not a namespace-name
../../../source/lib/pch/pch_boost.h:22: error: expected namespace-name before ';' token
../../../source/lib/pch/pch_boost.h:28: error: 'boost' has not been declared
../../../source/lib/pch/pch_boost.h:31: error: 'boost' has not been declared
../../../source/lib/pch/pch_boost.h:34: error: 'boost' has not been declared
../../../source/lib/pch/pch_boost.h:37: error: 'boost' has not been declared
In file included from ../../../source/mocks/mocks_real.cpp:26:
../../../source/lib/precompiled.h:77: error: 'boost' has not been declared
In file included from ../../../source/mocks/mocks_real.cpp:29:
../../../source/mocks/dlfcn.h:21: error: 'dladdr' is not a type
../../../source/mocks/dlfcn.h:22: error: expected identifier before '(' token
../../../source/mocks/dlfcn.h:23: error: expected identifier before '(' token
../../../source/mocks/dlfcn.h:23: error: expected ')' before ',' token
../../../source/mocks/dlfcn.h:23: error: expected ')' before ',' token
../../../source/mocks/dlfcn.h:23: error: expected constructor, destructor, or type conversion before ',' token
../../../source/mocks/dlfcn.h:23: error: expected constructor, destructor, or type conversion before ')' token
In file included from ../../../source/mocks/mocks_real.cpp:30:
../../../source/mocks/unistd.h:21: error: 'getcwd' is not a type
../../../source/mocks/unistd.h:22: error: expected identifier before '(' token
../../../source/mocks/unistd.h:23: error: expected identifier before '(' token
../../../source/mocks/unistd.h:23: error: expected ')' before ',' token
../../../source/mocks/unistd.h:23: error: expected ')' before ',' token
../../../source/mocks/unistd.h:23: error: expected constructor, destructor, or type conversion before ',' token
../../../source/mocks/unistd.h:23: error: expected constructor, destructor, or type conversion before ')' token
make[1]: *** [obj/mocks_real_Release/mocks_real.o] Error 1
make: *** [mocks_real] Error 2
make: *** Waiting for unfinished jobs....
In file included from ../../../source/lib/precompiled.h:76,
from ../../../source/pch/simulation2/precompiled.h:19,
from ../../../source/pch/simulation2/precompiled.cpp:18:
../../../source/lib/pch/pch_boost.h:22: error: 'boost' has not been declared
../../../source/lib/pch/pch_boost.h:22: error: 'filesystem' is not a namespace-name
../../../source/lib/pch/pch_boost.h:22: error: expected namespace-name before ';' token
In file included from ../../../source/pch/simulation2/precompiled.h:19,
from ../../../source/pch/simulation2/precompiled.cpp:18:
../../../source/lib/precompiled.h:77: error: 'boost' has not been declared
In file included from ../../../source/lib/precompiled.h:76,
from ../../../source/pch/network/precompiled.h:19,
from ../../../source/pch/network/precompiled.cpp:18:
../../../source/lib/pch/pch_boost.h:22: error: 'boost' has not been declared
../../../source/lib/pch/pch_boost.h:22: error: 'filesystem' is not a namespace-name
../../../source/lib/pch/pch_boost.h:22: error: expected namespace-name before ';' token
../../../source/lib/pch/pch_boost.h:28: error: 'boost' has not been declared
../../../source/lib/pch/pch_boost.h:31: error: 'boost' has not been declared
../../../source/lib/pch/pch_boost.h:34: error: 'boost' has not been declared
../../../source/lib/pch/pch_boost.h:37: error: 'boost' has not been declared
In file included from ../../../source/pch/network/precompiled.h:19,
from ../../../source/pch/network/precompiled.cpp:18:
../../../source/lib/precompiled.h:77: error: 'boost' has not been declared
In file included from ../../../source/pch/simulation2/precompiled.cpp:18:
../../../source/pch/simulation2/precompiled.h:24: error: 'boost' has not been declared
make[1]: *** [obj/simulation2_Release/precompiled.h.gch] Error 1
make: *** [simulation2] Error 2
make[1]: *** [obj/network_Release/precompiled.h.gch] Error 1
make: *** [network] Error 2
vanmier@blackbox:~/Games/0AD/0ad/build/workspaces/gcc$Am I missing a file or something?
me = not a programmer
Header Trouble While Compiling
in Bug reports
Posted
*does half of a happy dance* Now that I have the needed dev packages installed, I re-ran everything. Came up with a few (minor I believe) error messages when running the 'test' script. I went to run the game and my video card pick that moment to go wonky on me. I am now trying to copy everything over to another computer to see what the game looks like.
I just wanted to take the time to thank you and feneur for all you help. I look forward to playing the game.