Looks like the emsdk build-script invokes cmake with the project generator 
for VS2013 (cmake', '-G', 'Visual Studio 12 Win64'), in this case cmake 
will fail if VS2013 is not installed.

Recent cmake version allow to specify the platform (Win64) independently 
from the compiler (Visual Studio 12) through the new '-A' command line arg, 
this allows cmake to pick 'any' Visual Studio version while still building 
64-bit executables. This might introduce new problems though if the current 
version of LLVM only compiles with specific versions of VS.

Am Mittwoch, 2. November 2016 10:36:10 UTC+8 schrieb Mark Sibly:
>
> Successfully built now!
>
> Installed vs2013 and it all worked first time, without a VC console or 
> anything.
>
> Don't think cmake likes vs2015 much...
>
> On Wed, Nov 2, 2016 at 12:48 PM, Charles Vaughn <[email protected] 
> <javascript:>> wrote:
>
>> You might also need to fuss with the build script. It's trying to build 
>> with VS2010, but I've successfully built the more recent Emscripten trees 
>> with VS2015.
>>
>>
>> On Tuesday, November 1, 2016 at 4:00:03 PM UTC-7, Charles Vaughn wrote:
>>>
>>> Depending on the install of VS2015, it may not have grabbed the C++ 
>>> compilers. Make a simple C++ and build that.
>>>
>>> On Tuesday, November 1, 2016 at 3:41:00 PM UTC-7, Mark Sibly wrote:
>>>>
>>>> Thanks, but still no joy.
>>>>
>>>> I'm using visual studio 2015, have updated cmake the latest, am using a 
>>>> visual studio developer console (and 'cl' works) and cmake still can't 
>>>> find 
>>>> the compilers.
>>>>
>>>> I suck at this stuff...
>>>>
>>>>
>>>> On Wed, Nov 2, 2016 at 11:17 AM, Charles Vaughn <[email protected]> 
>>>> wrote:
>>>>
>>>>> I believe you need at least Visual Studio 2013. If you've got that 
>>>>> installed, make sure you're running from a VS command prompt.
>>>>>
>>>>>
>>>>> On Tuesday, November 1, 2016 at 11:34:46 AM UTC-7, Mark Sibly wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm trying to to get wasm output going on windows but am having a few 
>>>>>> problems.
>>>>>>
>>>>>> In particular, cmake seems to be crapping out. I have cmake installed 
>>>>>> and can build other stuff with it so I'm not sure what's up.
>>>>>>
>>>>>> Here's the console output:
>>>>>>
>>>>>> > emsdk install clang-incoming-64bit emscripten-incoming-64bit 
>>>>>> sdk-incoming-64bit                                                       
>>>>>>   
>>>>>>                       
>>>>>> Installing tool 'clang-incoming-64bit'..                             
>>>>>>                                                                          
>>>>>>    
>>>>>>                
>>>>>> Cloning into 'D:/devtools/Emscripten/clang/fastcomp\src'...           
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> remote: Counting objects: 1225067, done.                             
>>>>>>                                                                          
>>>>>>    
>>>>>>                
>>>>>> remote: Compressing objects: 100% (3/3), done.                       
>>>>>>                                                                          
>>>>>>    
>>>>>>                
>>>>>> remote: Total 1225067 (delta 0), reused 0 (delta 0), pack-reused 
>>>>>> 1225064                                                                  
>>>>>>    
>>>>>>                    
>>>>>> Receiving objects: 100% (1225067/1225067), 259.89 MiB | 1.57 MiB/s, 
>>>>>> done.                                                                    
>>>>>>    
>>>>>>                 
>>>>>> Resolving deltas: 100% (1008950/1008950), done.                       
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> Checking connectivity... done.                                       
>>>>>>                                                                          
>>>>>>    
>>>>>>                
>>>>>> Checking out files: 100% (19961/19961), done.                         
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> Fetching latest changes to the branch 'incoming' for 
>>>>>> 'D:/devtools/Emscripten/clang/fastcomp\src'...                           
>>>>>>   
>>>>>>                                 
>>>>>> Already up-to-date.                                                   
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> Successfully updated and checked out branch 'incoming' on repository 
>>>>>> 'D:/devtools/Emscripten/clang/fastcomp\src'                              
>>>>>>    
>>>>>>                
>>>>>> Current repository version: "Fri, 21 Oct 2016 00:02:52 +0300 
>>>>>> c08775cd9e861d17f95083d248e0e79ff66646f3"                                
>>>>>>    
>>>>>>                        
>>>>>> Cloning into 
>>>>>> 'D:/devtools/Emscripten/clang/fastcomp\src\tools/clang'...               
>>>>>>   
>>>>>>                                                                         
>>>>>> remote: Counting objects: 592596, done.                               
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> remote: Compressing objects: 100% (3/3), done.                       
>>>>>>                                                                          
>>>>>>    
>>>>>>                
>>>>>> remote: Total 592596 (delta 0), reused 0 (delta 0), pack-reused 
>>>>>> 592593                                                                   
>>>>>>   
>>>>>>                      
>>>>>> Receiving objects: 100% (592596/592596), 123.70 MiB | 1.43 MiB/s, 
>>>>>> done.                                                                    
>>>>>>    
>>>>>>                   
>>>>>> Resolving deltas: 100% (501570/501570), done.                         
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> Checking connectivity... done.                                       
>>>>>>                                                                          
>>>>>>    
>>>>>>                
>>>>>> Checking out files: 100% (11528/11528), done.                         
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> Fetching latest changes to the branch 'incoming' for 
>>>>>> 'D:/devtools/Emscripten/clang/fastcomp\src\tools/clang'...               
>>>>>>   
>>>>>>                                 
>>>>>> Already up-to-date.                                                   
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> Successfully updated and checked out branch 'incoming' on repository 
>>>>>> 'D:/devtools/Emscripten/clang/fastcomp\src\tools/clang'                  
>>>>>>    
>>>>>>                
>>>>>> Current repository version: "Fri, 21 Oct 2016 00:03:16 +0300 
>>>>>> 82589d2fa5e8f3af2fea7274111ba90609c03496"                                
>>>>>>    
>>>>>>                        
>>>>>> Running CMake: ['cmake', '-G', 'Visual Studio 12 Win64', 
>>>>>> '-DCMAKE_BUILD_TYPE=RelWithDebInfo', 
>>>>>> '-DPYTHON_EXECUTABLE=D:\\devtools\\Emscripten\\python\\2.7.5.3_64b
>>>>>> it\\python.exe', '-DLLVM_TARGETS_TO_BUILD=X86;JSBackend', 
>>>>>> '-DLLVM_INCLUDE_EXAMPLES=OFF', '-DCLANG_INCLUDE_EXAMPLES=OFF', 
>>>>>> '-DLLVM_INCLUDE_TESTS=OFF', '-DCLANG_IN
>>>>>> CLUDE_TESTS=OFF', 'D:/devtools/Emscripten/clang/fastcomp\\src']       
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> -- The C compiler identification is unknown                           
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> -- The CXX compiler identification is unknown                         
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> -- The ASM compiler identification is GNU                             
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>> -- Found assembler: 
>>>>>> D:/mingw-w64/i686-5.3.0-posix-dwarf-rt_v4-rev0/mingw32/bin/gcc.exe       
>>>>>>   
>>>>>>                                                                  
>>>>>> CMake Error at CMakeLists.txt:48 (project):                           
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>>   No CMAKE_C_COMPILER could be found.                                 
>>>>>>                                                                          
>>>>>>    
>>>>>>               
>>>>>>
>>>>>> Any ideas? Do I need to configure cmake somehow?
>>>>>>
>>>>>> Bye!
>>>>>> Mark
>>>>>>
>>>>>> -- 
>>>>> You received this message because you are subscribed to a topic in the 
>>>>> Google Groups "emscripten-discuss" group.
>>>>> To unsubscribe from this topic, visit 
>>>>> https://groups.google.com/d/topic/emscripten-discuss/2026eOk89Xc/unsubscribe
>>>>> .
>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>> [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "emscripten-discuss" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/emscripten-discuss/2026eOk89Xc/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to