gameboy Posted November 24, 2014 Report Share Posted November 24, 2014 (edited) Today I compiled the latest code SVN16005, found an error:void runTest() { suite_TestSysdep.test_unix_ExecutablePathname(); }Error 78 error C2039: 'test_unix_ExecutablePathname' : is not a member of TestSysdep' D:\trunk\source\lib\sysdep\tests\test_sysdep.cpp 38Operating system I was using WIN7 32bit. I use the compiler tool is: VS2010. Edited November 24, 2014 by feneur Removed formatting as the text was unnecessarily huge Quote Link to comment Share on other sites More sharing options...
Loki1950 Posted November 24, 2014 Report Share Posted November 24, 2014 No need to shout,as that error was generated in the test routines which are separate from the main app you should be able to run the pyrogenesis.exe or wait a day or two for a new auto-build Enjoy the Choice ps I have to wait till nVidia releases a new version of there Linux driver to run the game at all as I get a seg fault in now Quote Link to comment Share on other sites More sharing options...
leper Posted November 24, 2014 Report Share Posted November 24, 2014 You are sharing your SVN folder between different operating systems, run update-workspaces.bat when you switch them. Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 24, 2014 Author Report Share Posted November 24, 2014 When I run update-workspaces.bat, problems still exist in the windows operating system. Quote Link to comment Share on other sites More sharing options...
leper Posted November 25, 2014 Report Share Posted November 25, 2014 D:\trunk\source\lib\sysdep\tests\test_sysdep.cppDelete this file and try again. Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 25, 2014 Author Report Share Posted November 25, 2014 I delete this file and try again,But the error appears again.Error 76 error LNK1120: 1 unresolved externals D:\trunk\binaries\system\pyrogenesis.exeError 75 error LNK2019: unresolved external symbol "public: void __thiscall CVideoMode::UpdatePosition(int,int)" (?UpdatePosition@CVideoMode@@QAEXHH@Z) referenced in function "enum InReaction __cdecl MainInputHandler(struct SDL_Event_ const *)" (?MainInputHandler@@YA?AW4InReaction@@PBUSDL_Event_@@@Z) D:\trunk\build\workspaces\vc2010\main.obj Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 25, 2014 Author Report Share Posted November 25, 2014 I delete this file and try again,But the error appears again.Error 76 error LNK1120: 1 unresolved externals D:\trunk\binaries\system\pyrogenesis.exeError 75 error LNK2019: unresolved external symbol "public: void __thiscall CVideoMode::UpdatePosition(int,int)" (?UpdatePosition@CVideoMode@@QAEXHH@Z) referenced in function "enum InReaction __cdecl MainInputHandler(struct SDL_Event_ const *)" (?MainInputHandler@@YA?AW4InReaction@@PBUSDL_Event_@@@Z) D:\trunk\build\workspaces\vc2010\main.obj Quote Link to comment Share on other sites More sharing options...
Itms Posted November 25, 2014 Report Share Posted November 25, 2014 In your SVN copy, right-click, choose "Tortoise SVN", then "Clean up...", then tick the three chechboxes at the bottom like this:and click OK.After that, you can run update-workspaces.bat and compile. Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 25, 2014 Author Report Share Posted November 25, 2014 error appears again:Error 74 error C2039: 'test_unix_ExecutablePathname' : is not a member of 'TestSysdep' D:\10962\source\lib\sysdep\tests\test_sysdep.cpp 3876 IntelliSense: class "TestSysdep" has no member "test_unix_ExecutablePathname" d:\10962\source\lib\sysdep\tests\test_sysdep.cpp 38 Quote Link to comment Share on other sites More sharing options...
Itms Posted November 25, 2014 Report Share Posted November 25, 2014 Error 74 error C2039: 'test_unix_ExecutablePathname' : is not a member of 'TestSysdep' D:\10962\source\lib\sysdep\tests\test_sysdep.cpp 38Error 78 error C2039: 'test_unix_ExecutablePathname' : is not a member of TestSysdep' D:\trunk\source\lib\sysdep\tests\test_sysdep.cpp 38So what did you do exactly? Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 25, 2014 Author Report Share Posted November 25, 2014 I'm in my notebook again tested it, D:\10962, just trunk into the 10962. Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 28, 2014 Author Report Share Posted November 28, 2014 (edited) Error 78 error C2039: 'test_unix_ExecutablePathname' : is not a member of TestSysdep'My operating system is win7 32bit, the compiler tool is VS2010 Edited November 28, 2014 by gameboy Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 28, 2014 Author Report Share Posted November 28, 2014 (edited) There is also a mistake, it does exist, I follow your way to do, but I'm at compile time, the error still exists. Edited November 28, 2014 by feneur removed formatting (large text) Quote Link to comment Share on other sites More sharing options...
niektb Posted November 28, 2014 Report Share Posted November 28, 2014 I actually experience exactly the same error when building on Windows 8.1 using VS2012. Quote Link to comment Share on other sites More sharing options...
Yves Posted November 28, 2014 Report Share Posted November 28, 2014 I'm quite sure there must be something left from a previous build.I had a similar problem when some data from packaging was left in my working copy.Try a cleanup, "Revert all changes recursively" and "Delete unversioned files and folders, Delete ignored files and folders".http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-cleanup.htmlAll the visual studio project directories should be gone now if you've done the previous step correctly and you need to run update-workspaces.bat again. Quote Link to comment Share on other sites More sharing options...
niektb Posted November 28, 2014 Report Share Posted November 28, 2014 It actually happened with a fresh Git checkout (I was curious to Itms's pathfinding branch) Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 29, 2014 Author Report Share Posted November 29, 2014 (edited) Hi,Yves,my friend! Methods according to provide you I made, but problems still exist. :unknw: Edited November 29, 2014 by gameboy Quote Link to comment Share on other sites More sharing options...
Itms Posted November 29, 2014 Report Share Posted November 29, 2014 This was probably introduced in r15996. To avoid compilation errors, just right-click on the test project in visual studio and click on "Unload tests".We're working on the issue, but it's not our main concern either, so please be patient and avoid PMing people and upping your forum threads.Thanks in advance. Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 29, 2014 Author Report Share Posted November 29, 2014 We are looking forward to your solution or related fixes, thank you for the concern on this issue, we think you will solve this problem soon, thank you for your efforts. Quote Link to comment Share on other sites More sharing options...
Itms Posted November 29, 2014 Report Share Posted November 29, 2014 Should be fixed in r16013. 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.