Author Topic: :: invalid option -- J :: supported targets: pe-i386 pei-i386 elf32-i386 elf32-  (Read 3979 times)

Offline VJgamer

  • Single posting newcomer
  • *
  • Posts: 4
This is my first time using CB, and I finally got wxWidgets compiled and I created a new wxWidgets/wxSmith and try to compile it and I got this message:

:: invalid option -- J
:: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
:: === Build finished: 2 errors, 0 warnings ===

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
it is discussed many times, please search the forum for a solution. (has something todo with winres...)
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline VJgamer

  • Single posting newcomer
  • *
  • Posts: 4
I have been searching this forum for a while now, and don't see anything that shows how to fix this. I have a fresh install and was just trying to compile the default wxWidgets template project.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6636
    • My Best Post
Please state your OS? Windows XP or ?
Please state your compiler and what version it is?
Please state your version of code::blocks? RC2? or SVN? If SVN, which SVN Number?
Please turn on full compiling logging and post the build log.

Steps to turn on Full Compiler Logging in Nightly Build:
"Settings" -> "compiler debugger"
Select right-most Tab "Other Settings"
Set "Compiler Logging" to "Full Command Line"

Tim S
« Last Edit: June 13, 2007, 04:23:57 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Assuming that you are on windows and using mingw, read those posts:
http://forums.codeblocks.org/index.php/topic,1932.0.html
http://forums.codeblocks.org/index.php?topic=27

searched with: invalid option -- J
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring