hi,
i anderstand that you want !
version of C::B is 16.01
the test program is "hello world"... new projet .....
C::B not crashed ! so not log file !
build log :
-------------- Build: Debug in essai009 (compiler: LLVM Clang Compiler)---------------
llvm-link -use-mbpi -o bin/Debug/essai009 obj/Debug/main.o
llvm-link: obj/Debug/main.o:1:1: error: expected top-level entity
ELF `)444444((22// !!!!""""####$$$$%%%%&&&&''''(((())))))))UUUnk: error loading file 'obj/Debug/main.o'
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Change "linker for dynamics libs" back to the default of
instead of this which causes the error you got.
Edit: My full build log
-------------- Build: Release in clang (compiler: LLVM Clang Compiler)---------------
clang++ -Weverything -fexceptions -O2 -Wno-potentially-evaluated-expression -c /home/stahta01/devel/open_source_code/no_version_control/CB_wizard_testing/clang/main.cpp -o obj/Release/main.o
clang++ -o bin/Release/clang obj/Release/main.o -s
Output file is bin/Release/clang with size 6.24 KB
Tim S.
hi,
i do your recommandations, there are no error , but xterm for output doesn't display.
-------------- Run: Debug in essai009 (compiler: LLVM Clang Compiler)---------------
Checking for existence: /usr/home/phipo/langage_c++/essai009/bin/Debug/essai009
Executing: xterm -T essai009 -e /usr/home/phipo/langage_c++/essai009/bin/Debug/essai009 (in /usr/home/phipo/langage_c++/essai009/.)
Process terminated with status 0 (0 minute(s), 0 second(s))
also i don't have a linker setting : like >> file.a, file.so, file.lib,etc....
it's miss the parametre for open xterm
i have :
shell to run commands in ==/bin/sh -c
terminal to lauch console program==xterm -T $TITLE -e
hi,
when i start C::B at the first time >>does it display and closes immediately !
but when i load a c++ program a little complex , this is my output of build log:
-------------- Build: Release in fonction002 (compiler: LLVM Clang Compiler)---------------
clang++ -o bin/Release/fonction002 obj/Release/main.o -s
obj/Release/main.o: In function `main':
/home/phipo/langage_c++/fonction002/main.cpp:(.text+0x43): undefined reference to `std::cout'
/home/phipo/langage_c++/fonction002/main.cpp:(.text+0x48): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
/home/phipo/langage_c++/fonction002/main.cpp:(.text+0x53): undefined reference to `std::cout'
/home/phipo/langage_c++/fonction002/main.cpp:(.text+0x58): undefined reference to `std::ostream::operator<<(int)'
/home/phipo/langage_c++/fonction002/main.cpp:(.text+0x72): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
/home/phipo/langage_c++/fonction002/main.cpp:(.text+0x88): undefined reference to `std::ostream& std::ostream::_M_insert<double>(double)'
/home/phipo/langage_c++/fonction002/main.cpp:(.text+0xb4): undefined reference to `std::ctype<char>::_M_widen_init() const'
/home/phipo/langage_c++/fonction002/main.cpp:(.text+0xd3): undefined reference to `std::ostream::put(char)'
/home/phipo/langage_c++/fonction002/main.cpp:(.text+0xdb): undefined reference to `std::ostream::flush()'
/home/phipo/langage_c++/fonction002/main.cpp:(.text+0xf3): undefined reference to `std::__throw_bad_cast()'
obj/Release/main.o: In function `_GLOBAL__sub_I_main.cpp':
/home/phipo/langage_c++/fonction002/main.cpp:(.text.startup+0xb): undefined reference to `std::ios_base::Init::Init()'
/home/phipo/langage_c++/fonction002/main.cpp:(.text.startup+0x22): undefined reference to `std::ios_base::Init::~Init()'
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
Process terminated with status 1 (0 minute(s), 0 second(s))
13 error(s), 0 warning(s) (0 minute(s), 0 second(s))
i don't anderstand but under linux all work fine !
regards
philippe