Code::Blocks

User forums => Help => Topic started by: checco on April 02, 2016, 07:03:14 pm

Title: Unsupported 16-bit Application
Post by: checco on April 02, 2016, 07:03:14 pm
Hello,
I just installed Code::block 16.01. I downloaded the version with MINGW as a compiler.
I made just a "hello word" project, and I get the message "Unsupported 16-bit Application".
I tried to google the error without being able to solve the issue. Actually i've been using previous versions
of codeblocks without any problems.
If anyone can help me with this problem, that would be great.
Checco
Title: Re: Unsupported 16-bit Application
Post by: stahta01 on April 02, 2016, 09:41:00 pm
Operating System (OS) and Compiler info needed.
And, post a full build log.

http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)

Edit2: The likely problem is you are trying to run an 16 bit app under a 64 bit OS.

Tim S.
Title: Re: Unsupported 16-bit Application
Post by: checco on April 04, 2016, 03:48:37 pm
Hello,

thanks for your reply. I am using Windows 7 with a 64-bit operating system. I downloaded the version with MINGW and when I check  the compiler in settings I have GNU GCC compiler.
Here is the Build log.

-------------- Build: Debug in ciao (compiler: GNU GCC Compiler)---------------

Target is up to date.
Nothing to be done (all items are up-to-date).


-------------- Run: Debug in ciao (compiler: GNU GCC Compiler)---------------

Checking for existence: C:\ciao\bin\Debug\ciao.exe
Executing: "C:\CodeBlocks/cb_console_runner.exe" "C:\ciao\bin\Debug\ciao.exe"  (in C:\ciao\.)

If  it is the case of "edit2" what shall I do?

cheers
Francesco
Title: Re: Unsupported 16-bit Application
Post by: stahta01 on April 04, 2016, 05:49:55 pm
PLEASE post a full build log; I will ignore you till you do that.

To fix the likely error; you need to remove the wrong Compiler or the wrong compiler option; till you post a full build log no one can help you!!
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)

Tim S.
Title: Re: Unsupported 16-bit Application
Post by: phdson on December 15, 2018, 01:50:03 pm
Hello
I tried to use Code::Blocks using not install version that includes MinGW32.
I attached my project. it is working in console window in Windows 10 x64.

I extracted makefile that you can see in the folder.
I used this with Mingw32-make -f Makefile instead of Code::Blocks.

But, it complained with "16 Bit Application. .....".

I just want to use Makefile instead of CodeBlocks. How to solve this error?

One more question about build target in CodeBlocks.
What changes comes from the option changes?

Thanks for your support.
Title: Re: Unsupported 16-bit Application
Post by: phdson on December 15, 2018, 01:54:57 pm
Hello
I tried to use Code::Blocks using not install version that includes MinGW32.
I attached my project. it is working in console window in Windows 10 x64.

I extracted makefile that you can see in the folder.
I used this with Mingw32-make -f Makefile instead of Code::Blocks.

But, it complained with "16 Bit Application. .....".

I just want to use Makefile instead of CodeBlocks. How to solve this error?

One more question about build target in CodeBlocks.
What changes comes from the option changes?

Thanks for your support.
Title: Re: Unsupported 16-bit Application
Post by: stahta01 on December 15, 2018, 07:56:57 pm
To use a 16 bit app under windows you have to be using an 32 bit Windows OS or an 16 bit Windows OS/DOS.

Please read the FAQs before your posts get deleted for being off topic or your account is locked or deleted.
http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)

Tim S.