Author Topic: Unsupported 16-bit Application  (Read 6895 times)

Offline checco

  • Single posting newcomer
  • *
  • Posts: 2
Unsupported 16-bit Application
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Unsupported 16-bit Application
« Reply #1 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

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

Tim S.
« Last Edit: April 02, 2016, 09:42:38 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline checco

  • Single posting newcomer
  • *
  • Posts: 2
Re: Unsupported 16-bit Application
« Reply #2 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Unsupported 16-bit Application
« Reply #3 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

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline phdson

  • Single posting newcomer
  • *
  • Posts: 2
Re: Unsupported 16-bit Application
« Reply #4 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.

Offline phdson

  • Single posting newcomer
  • *
  • Posts: 2
Re: Unsupported 16-bit Application
« Reply #5 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Unsupported 16-bit Application
« Reply #6 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

Tim S.
« Last Edit: December 15, 2018, 11:23:39 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org