Code::Blocks Forums
User forums => Help => Topic started by: longmvu on June 08, 2013, 01:40:32 am
-
mingw32-g++.exe -Wall -pipe -mthreads -Wno-attributes -std=gnu++0x -pthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -g -D__WXDEBUG__ -IC:\MinGW\include -IC:\MinGW\contrib\include -IC:\MinGW\lib\gcc_dll\mswud -c C:\Users\user\Desktop\game1\game.cpp -o obj\Debug\game.o
mingw32-g++.exe: error: unrecognized command line option '-pthreads'
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)
That happens every time I try to build.
-
Remove the option that is NOT supported!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F)
Remember to check under the Linker and Compiler 'other' options tab.
Tim S.
-
Remove the option that is NOT supported!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F)
Remember to check under the Linker and Compiler 'other' options tab.
Tim S.
What do I add?
-
Remove the option that is NOT supported!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F)
Remember to check under the Linker and Compiler 'other' options tab.
Tim S.
What do I add?
YOU DO NOT ADD ANYTHING!!
You remove the wrong settings!!!!
unrecognized command line option '-pthreads'
Look for "pthreads" when you find it remove it.
Tim S.