Failing to make a new project at the Visual studio solution stage. HELP

0

Hi,

So I decided to reinstall Lumberyard after seeing the 1.10.0 version being released, everything installed fine, got the starter game working, everything was good. Then I tried to make a new project in the project configurator.

It failed at the "Generating a Visual Studio Solution" stage. Here is the log file:

[WAF] Executing 'msvs' in 'l:\Amazon\Lumberyard\1.10.0.0\dev\BinTemp'
[INFO] Generating Visual Studio 2015 solution.
(msvs): source not found: '..\\..\\..\\..\\BinTemp\\uber_files\\AzCore\\AzCore_uber_android.cpp' in 'AzCore' ('l:\\Amazon\\Lumberyard\\1.10.0.0\\dev\\Code\\Framework\\AzCore\\AzCore\\wscript')
(msvs): source not found: '..\\..\\..\\..\\BinTemp\\uber_files\\AzCore\\AzCore_uber_win.cpp' in 'AzCore' ('l:\\Amazon\\Lumberyard\\1.10.0.0\\dev\\Code\\Framework\\AzCore\\AzCore\\wscript')
One or more source files missing
Process failed with return code: 1

By the looks of things, it wants something to do with Android or AzCore, but the configuring a project stage worked, indicating i have everything installed. Help would be appreciated!

Thanks in advance.

EDIT: In the setup assistant I have everything ticked except the Android compiler because I do not plan to develop for Android.

EDIT: After a fresh install, it is still happening.

EDIT:

REMOVEDUPLOAD

While this is open the project folder exists, once I click continue it gets deleted.

EDIT: I have tried to create the new project from the command line using this http://docs.aws.amazon.com/lumberyard/latest/userguide/configurator-projects.htmlbut I get an error when it says generating visual studio solution just like the project configurator and points me to the same log file. It does say failure executing WAF and then links me to the error log.

asked 7 years ago324 views
32 Answers
0
Accepted Answer

Hey everyone, this might be a little late but if you still have this problem then:

  1. uninstall VS2017 (if it is installed) and VS2015. Also, uninstall the installer that came with VS2017 from add or remove programs.

  2. some things will be left in the VS2017 folder, delete the VS2017 folder where you had it installed.

  3. Use https://github.com/Microsoft/VisualStudioUninstaller/releases and run it a few times to delete some background VS2015 stuff, then delete the VS2015 folder where you had it installed.

  4. Restart your computer then install VS2015 with updates (3) and tick the first two options in the visual c++ section under programming languages of the installer.

  5. restart again and now attempt to make a new project.

answered 6 years ago
0

It does exist.

answered 7 years ago
0

If i correctly understand you

  1. In Project Configurator select "Create New"

  2. Paste New Project Name

  3. And on press "Create Project" button see that error ?

p.s.

My Setting from Setup Assistent

REMOVEDUPLOAD

answered 7 years ago
0

Try after error, command "lmbr_waf.bat msvs"

answered 7 years ago
0

It does the folder when command line fails, I ran the project configurator in admin mode and the same with cmd. Same issue. I am missing the AzCore_uber_win.cpp file. as shown in the image below.

REMOVEDUPLOAD

That's quite weird, since I've reinstalled it twice and tried this on a second computer and still don't have that file. Where can I get those files?

answered 7 years ago
0

Hi Techtime. "wscript" this is not folder this is file. And after create new project you must run "lmbr_waf.bat configure" command. Some time to help try command "lmbr_waf.bat msvs" hope this help :)

answered 7 years ago
0

Ok, i trying create that error on my PC if found, i will write here answer :)

answered 7 years ago
0

I can't create the new project in the first place because of this error, and the configure worked, it fails at the visual studio solution generation stage (using the automated system in the project configurator)

answered 7 years ago
0

When clicking create new after giving the name it shows the stage of the automatic configurator and when it reaches the visual studio solution generation stage it goes red and says read the log file, which it links to and that is the error I receive. My setup assistant is the same except I also have the Linux server thing ticked and all the extra sdks installed

answered 7 years ago
0

So yes, that's basically what happens.

answered 7 years ago
0

When you create the project with command line, does it delete the project folder after it fails?

Also, maybe it's a weird permission issue? Have you tried to do it with admin priviledges?

answered 7 years ago
0

Also, what does the contents of your BinTemp/user_files/AzCore look like?

Here is mine:

REMOVEDUPLOAD

answered 7 years ago
0

Can you go to that directory and see if that file exists:

l:/Amazon/Lumberyard/1.10.0.0/dev/Code/Framework/AzCore/AzCore/wscript
answered 7 years ago
0

When their github comes back up, maybe there. But for now, you can try using mine: Amazon share drive

Who knows what else is missing though.

answered 7 years ago
0

Also random side note, check to make sure that you don't have an antivirus that is blocking files during the install.

answered 7 years ago
0

Still doesn't work. For some reason, it is not detecting my visual studio 2015 c++ compiler even though everything is clearly set up properly. Back to CryEngine for me, maybe in the next update I'll switch.

answered 7 years ago
0

For some reason, it is not detecting my visual studio 2015 c++ compiler even though everything is clearly set up properly. Back to CryEngine for me, maybe in the next update I'll switch.

answered 7 years ago
0

Hey @REDACTEDUSER

Also, I'd like to give a mighty thanks to the community for trying to solve this as well!

Will update this thread as soon as I can :)

answered 7 years ago
0

Hi @REDACTEDUSER

There is another possibility here specifically involving VS2015. You may be aware of this, but VS2015 does not automatically install all of the C++ libs you need to compile, and actually requires an extra step for any C++ project that uses it. This is specific to VS2015. 2013 previously included these by default!

If you haven't tried this yet, go to Add/Remove programs, and select Visual Studio 2015 and choose Modify. When you update, there should be a tab for programming languages->Visual C++. Just check all the boxes related to C/C++ (there are three) and have Visual Studio install those (sometimes it takes more than one attempt, fyi).

These missing libraries will cause all sorts of errors. Let me know if this helps!

answered 7 years ago
0

Has this been resolved? I'm also getting this same problem. This is the error that I get.

[WAF] Executing 'msvs' in 'c:\Amazon\Lumberyard\1.10.0.0\dev\BinTemp' [INFO] Generating Visual Studio 2015 solution. (msvs): source not found: '..\..\..\..\BinTemp\uber_files\AzCore\AzCore_uber_android.cpp' in 'AzCore' ('c:\Amazon\Lumberyard\1.10.0.0\dev\Code\Framework\AzCore\AzCore\wscript') (msvs): source not found: '..\..\..\..\BinTemp\uber_files\AzCore\AzCore_uber_win.cpp' in 'AzCore' ('c:\Amazon\Lumberyard\1.10.0.0\dev\Code\Framework\AzCore\AzCore\wscript') One or more source files missing Process failed with return code: 1

REMOVEDUPLOAD

answered 7 years ago
0

I have definitely set up my visual studio versions correctly. For some reason it isn't detecting my c++ compiler for vs2015 even though it's installed. I'm going to wait for the next version for vs2017 support

answered 7 years ago
0

Nope, I realised that it's 1) not detecting the c++ compiler for vs2015 and 2) missing some files, in my installation at least. I'd suggest waiting for the next update, which will probably have vs2017 support. Or, you could try resetting Windows, which I've done but haven't dared to touch Lumberyard since I'd rather wait for the next update

answered 7 years ago
0

Hi @REDACTEDUSER

Could you attach any debug logs the lumberyard generates for you? Uber files are generated for many related files - I presume you are able to launch the sample project without issue as well? Sorry that you are having this issue as well!

answered 7 years ago
0

Any solution? I have the same problem

answered 7 years ago
0

@REDACTEDUSER

answered 7 years ago
0

Hey @REDACTEDUSER

answered 7 years ago
0

Thanks @REDACTEDUSER

answered 7 years ago
0
	[WARN] Removing the following Android target platforms due to "Compile For Android" not checked in Setup Assistant.
-> android_armv7_gcc, android_armv7_clang
[INFO] Configure "win_x64_vs2015 - [debug, profile, performance, release, debug_dedicated, profile_dedicated, performance_dedicated, release_dedicated, debug_test, profile_test, debug_test_dedicated, profile_test_dedicated]"
Unable to detect find the C++ compiler for Visual Studio 2015, removing build target
[INFO] Configure "win_x64_vs2013 - [debug, profile, performance, release, debug_dedicated, profile_dedicated, performance_dedicated, release_dedicated, debug_test, profile_test, debug_test_dedicated, profile_test_dedicated]"
Unable to detect find the C++ compiler for Visual Studio 2013, removing build target
[WAF] 'configure' finished successfully (1m0.701s)
[WAF] Executing 'generate_uber_files' in 'c:\Amazon\Lumberyard\1.10.0.0\dev\BinTemp'
[352/468] gen_uber_file (project_generator|project_generator): Tests\Gem\Code\Source\Core\EditorGame.cpp Tests\Gem\Code\Source\Core\TestsGame.cpp Tests\Gem\Code\Source\Core\TestsGameRules.cpp Tests\Gem\Code\Source\System\GameStartup.cpp Tests\Gem\Code\Source\Game\Actor.cpp Tests\Gem\Code\Source\TestsModule.cpp Tests\Gem\Code\Source\TestsSystemComponent.cpp -> BinTemp\uber_files\Tests\Tests_auto_0.cpp
[353/468] gen_uber_file (project_generator|project_generator): Tests\Gem\Code\Tests\TestsTest.cpp -> BinTemp\uber_files\Tests\Tests_auto__0.cpp
[WAF] 'generate_uber_files' finished successfully (1m35.630s)
[WAF] Executing 'generate_module_def_files' in 'c:\Amazon\Lumberyard\1.10.0.0\dev\BinTemp'
[100/234] gen_module_def_file (project_generator|project_generator): Code\Launcher\DedicatedLauncher\wscript -> BinTemp\module_def\TestsDedicatedLauncher_module_def.json
[101/234] gen_module_def_file (project_generator|project_generator): Code\Launcher\LinuxLauncher\wscript -> BinTemp\module_def\TestsLinuxLauncher_module_def.json
[102/234] gen_module_def_file (project_generator|project_generator): Code\Launcher\MacLauncher\wscript -> BinTemp\module_def\TestsMacLauncher_module_def.json
[103/234] gen_module_def_file (project_generator|project_generator): Code\Launcher\WindowsLauncher\wscript -> BinTemp\module_def\TestsWindowsLauncher_module_def.json
[104/234] gen_module_def_file (project_generator|project_generator): Code\Launcher\AndroidLauncher\wscript -> BinTemp\module_def\TestsAndroidLauncher_module_def.json
[105/234] gen_module_def_file (project_generator|project_generator): Code\Launcher\IOSLauncher\wscript -> BinTemp\module_def\TestsIOSLauncher_module_def.json
[106/234] gen_module_def_file (project_generator|project_generator): Code\Launcher\AppleTVLauncher\wscript -> BinTemp\module_def\TestsAppleTVLauncher_module_def.json
[115/234] gen_module_def_file (project_generator|project_generator): Tests\Gem\Code\wscript -> BinTemp\module_def\Tests_module_def.json
[WAF] 'generate_module_def_files' finished successfully (8.958s)
And the common
[WAF] Executing 'msvs' in 'c:\Amazon\Lumberyard\1.10.0.0\dev\BinTemp'
[INFO] Generating Visual Studio 2015 solution.
(msvs): source not found: '..\\..\\..\\..\\BinTemp\\uber_files\\AzCore\\AzCore_uber_android.cpp' in 'AzCore' ('c:\\Amazon\\Lumberyard\\1.10.0.0\\dev\\Code\\Framework\\AzCore\\AzCore\\wscript')
(msvs): source not found: '..\\..\\..\\..\\BinTemp\\uber_files\\AzCore\\AzCore_uber_win.cpp' in 'AzCore' ('c:\\Amazon\\Lumberyard\\1.10.0.0\\dev\\Code\\Framework\\AzCore\\AzCore\\wscript')
One or more source files missing
Process failed with return code: 1
answered 7 years ago
0

@REDACTEDUSER

I tried to execute lmbr_waf generate_uber_files and nothing happend the proccess never ended. So I tried to restart my pc and execute the same command and woala the program run and generated the missing files AzCore_uber_android.cpp' and AzCore_uber_win.cpp' in 'AzCore'.

Now I tried to create a new proyect :c the step of VS solution is passed but the next one Build Proyect fails with this log:

  [WAF] Executing 'build_win_x64_vs2015_profile' in 'c:\Amazon\Lumberyard\1.10.0.0\dev\BinTemp\win_x64_vs2015_profile'
[WARN] Game project 'FeatureTests' configured in bootstrap.cfg is the enabled game for this build. In order to run or debug for the game 'Test', they need to be set in bootstrap.cfg under the 'sys_game_folder' entry accordingly
[WARNING] Incredibuild disabled by build option
[WARNING] 'libpath' value 'c:\Amazon\Lumberyard\1.10.0.0\dev\Code\SDKs\LibTomCrypt\lib\ios' defined in TaskGenerator "TestIOSLauncher" does not exist
[WARNING] 'libpath' value 'c:\Amazon\Lumberyard\1.10.0.0\dev\Code\SDKs\LibTomMath\lib\ios' defined in TaskGenerator "TestIOSLauncher" does not exist
[WARNING] 'libpath' value 'c:\Amazon\Lumberyard\1.10.0.0\dev\Code\SDKs\FreeType2\ios\lib' defined in TaskGenerator "TestIOSLauncher" does not exist
Traceback (most recent call last):
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Scripting.py", line 226, in waf_entry_point
run_commands()
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Scripting.py", line 342, in run_commands
ctx = run_command(cmd_name)
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Scripting.py", line 319, in run_command
ctx.execute()
File "Tools/build/waf-1.7.13/lmbrwaflib\msvs.py", line 1974, in override_build_state
old(ctx)
File "c:\Amazon\Lumberyard\1.10.0.0\dev\wscript", line 298, in execute
return execute_method(self)
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Scripting.py", line 696, in execute
return execute_method(self)
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Build.py", line 254, in execute
self.execute_build()
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Build.py", line 277, in execute_build
self.compile()
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Build.py", line 370, in compile
self.producer.start()
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Runner.py", line 303, in start
self.refill_task_list()
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Runner.py", line 209, in refill_task_list
self.add_outstanding_tasks(next(self.biter))
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Build.py", line 818, in get_build_iterator
self.post_group()
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\Build.py", line 774, in post_group
tg.post()
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\build\waf-1.7.13\waflib\TaskGen.py", line 218, in post
v()
File "Tools/build/waf-1.7.13/lmbrwaflib\cry_utils.py", line 589, in add_compiler_dependency
if os.path.isabs( self.env['CC'] ):
File "C:\Amazon\Lumberyard\1.10.0.0\dev\Tools\Python\2.7.12\windows\lib\ntpath.py", line 59, in isabs
return s != '' and s[:1] in '/\\'
TypeError: 'in <string>' requires string as left operand, not list
Process failed with return code: 1
answered 7 years ago
0

Having same issue. Any news?

answered 7 years ago
0

@REDACTEDUSER

answered 7 years ago
0

Thanks, @REDACTEDUSER

This is likely the culprit, as currently Lumberyard only supports VS2015. I'm glad you found a working solution!

answered 7 years ago

This post is closed: Adding new answers, comments, and votes is disabled.