Zoomastigophora Posted June 8, 2010 Report Share Posted June 8, 2010 I'm missing a typdef in the latest revision (7623):0 a.d\trunk\source\network\NetHost.h(55) : error C2061: syntax error : identifier 'uint'VS2008 Intellisense tells me that it's typedefed in jsotypes.h, but that seems unlikely considering that's a header for spidermonkey. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted June 8, 2010 Report Share Posted June 8, 2010 Oops, should be fixed now. (I expect ENet headers were defining that symbol.) Quote Link to comment Share on other sites More sharing options...
Zoomastigophora Posted June 8, 2010 Author Report Share Posted June 8, 2010 Cool, also, I've been meaning to ask this for a while now, but is it expected that I take test and test_gen out from projects to be built? Those projects have never compiled for me since I'm always missing cpp files. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted June 8, 2010 Report Share Posted June 8, 2010 They ought to work - the test_gen project generates a load of test_*.cpp files, and the test project compiles them. What output do you get when building just the test_gen project?Edit: Oh, but if your SVN checkout is in a directory containing spaces then it won't work. The build page on the wiki warns about that . (Probably just a minor quoting error in the build system somewhere which ought not to be terribly hard to fix.) Quote Link to comment Share on other sites More sharing options...
Zoomastigophora Posted June 8, 2010 Author Report Share Posted June 8, 2010 Ok, that would probably be it. This is the error test_gen returns:1>Generating ../../../source/simulation2/tests/test_Simulation2.cpp1>Cannot open input file "c:./UsersXin"Where would I look to fix this? Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted June 8, 2010 Report Share Posted June 8, 2010 See #482 for a tiny bit of information. I think build/premake/src/Src/vs.c is probably the relevant file (look for "cxxtest" and try to work out what it's outputting into the .vcproj files and what it should output instead). (Use the Premake.sln to compile; I think you then have to manually copy premake/src/bin/premake.exe into premake/ to use it.) Quote Link to comment Share on other sites More sharing options...
Zoomastigophora Posted June 9, 2010 Author Report Share Posted June 9, 2010 Just in case you hadn't seen, I've added a patch to that ticket. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted June 10, 2010 Report Share Posted June 10, 2010 Applied fix now (seems to work for me but let me know if it causes any problems) - thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.