User forums > General (but related to Code::Blocks)

LLVM Clang 3.8.0 on CodeBlocks - Strange errors

<< < (4/5) > >>

stahta01:
I did see the problem on Windows 7 SP1 (32 bit) using 3.7.?

Edit: I am thinking the CLang 3.7 downloads do NOT include all the compiler files.
Because 3.8 is twice as big.

Tim S.

devhobby:

--- Quote from: stahta01 on July 02, 2016, 11:46:56 pm ---Please give more information on your Windows OS and Compiler.

--- End quote ---

OS: Windows 10 64bit
Compiler: Clang download from here http://llvm.org/releases/download.html LLVM 3.7.1 > Clang for Windows (64-bit) (.sig)


--- Quote from: stahta01 on July 02, 2016, 11:46:56 pm ---Do you know how to install and uninstall software on a Windows computer?
Because, I am starting to believe you have no idea on the correct way to install software.
What options are you picking during the installation of the software?
Did you uninstall the old software using the Windows Control panel?

--- End quote ---

I've been a Windows user since forever
My answer to all those question is: of course


--- Quote from: stahta01 on July 02, 2016, 11:46:56 pm ---What options are you picking during the installation of the software?

--- End quote ---

I just set the destination folder to be Program Files(x86) > CodeBlocks and defined the PATH variable for Clang.

I don't know what other information you need...

stahta01:

--- Quote from: gedamial on July 02, 2016, 11:56:49 pm ---
--- Quote from: stahta01 on July 02, 2016, 11:46:56 pm ---Please give more information on your Windows OS and Compiler.

--- End quote ---

OS: Windows 10 64bit
Compiler: Clang download from here http://llvm.org/releases/download.html LLVM 3.7.1 > Clang for Windows (64-bit) (.sig)


--- Quote from: stahta01 on July 02, 2016, 11:46:56 pm ---Do you know how to install and uninstall software on a Windows computer?
Because, I am starting to believe you have no idea on the correct way to install software.
What options are you picking during the installation of the software?
Did you uninstall the old software using the Windows Control panel?

--- End quote ---

I've been a Windows user since forever
My answer to all those question is: of course


--- Quote from: stahta01 on July 02, 2016, 11:46:56 pm ---What options are you picking during the installation of the software?

--- End quote ---

I just set the destination folder to be Program Files(x86) > CodeBlocks and defined the PATH variable for Clang.

I don't know what other information you need...

--- End quote ---

Then, I suggest you need retraining!!!!!!
You should never put 64 bit files under "Program Files(x86)"!!
I normally also; do NOT use spaces in the path for compilers that are NOT native to Windows!
And you should NOT be installing the files inside another programs installation folder!

Tim S.

devhobby:

--- Quote from: stahta01 on July 03, 2016, 12:00:46 am ---You should never put 64 bit files under "Program Files(x86)"!!

--- End quote ---
Okay, I reinstalled Clang putting the folder into C:\ directly


--- Quote from: stahta01 on July 03, 2016, 12:00:46 am ---do NOT use spaces in the path for compilers that are NOT native to Windows!

--- End quote ---
Okay, there are no spaces in C:\ directory
Even though the Clang installer automatically set its destination folder to Program Files which has spaces


--- Quote from: stahta01 on July 03, 2016, 12:00:46 am ---And you should NOT be installing the files inside another programs installation folder!

--- End quote ---

Aaalright

Done everything. Result? Nothing.


--- Code: ----------------- Clean: Debug in testclang (compiler: LLVM Clang Compiler)---------------

Cleaned "testclang - Debug"

-------------- Build: Debug in testclang (compiler: LLVM Clang Compiler)---------------

clang++.exe -Weverything -fexceptions  -g  -Wall -std=c++11    -c C:\Users\Micky\Desktop\testClang\main.cpp -o obj\Debug\main.o
C:\Users\Micky\Desktop\testClang\main.cpp:1:10: fatal error: 'iostream' file not found
#include <iostream>
         ^
1 error generated.

--- End code ---

stahta01:
Looks like at least the 32 bit version of LLVM does NOT include the compiler headers like "iostream".

Going to get the laptop out of my car; likely the 64 bit versions also do NOT include the headers; but, somehow it worked earlier in the day on the laptop. I am guessing you will need to do research on where the headers are supposed to be downloaded from.

NOTE: LLVM and CLang are two separate things; you might need to download CLang++ along with the headers.

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version