Ticket #415 (closed defect: worksforme)

Opened 9 months ago

Last modified 9 months ago

Building on win32 via code::blocks (newer SVN revisions) is borked

Reported by: mvbarracuda Owned by: FIFE
Priority: normal Milestone: Proposal
Component: tools/build Version: trunk
Severity: normal Keywords: code::blocks, borked, win32
Cc: Time planned:
Time spent: Time remaining:

Description (last modified by mvbarracuda) (diff)

The generated _fife.pyd is borked if built on win32 via newer SVN revisions of Code::Blocks. It still worked in March 2009, so we have to investigate if this is simply a Code::Blocks bug that we can't address ourselves.

How to reproduce:

  • Make sure you've the latest November 2009 Win32 DevKit? installed
  • Use a recent Code::Blocks SVN snapshot from:  http://forums.codeblocks.org/index.php?board=20.0 and install it according to the guide
  • CD into FIFE\trunk\build\win32\build_environments\scons and run cleanup_engine.bat to ensure that no build files from a scons /w mingw build process are left in place
  • CD into FIFE\trunk\build\win32 and run update_project_files.bat
  • CD into FIFE\trunk\build\win32\build_environments\code_blocks and open fife_engine.cbp via Code::Blocks
  • Build the project, _fife.pyd will be successfully generated without any actual build errors

While building itself succeeded, the generated _fife.pyd will be borked. It is way smaller (about 2.8mb vs. 5,6mb via scons while almost the same build flags should be used) than the binary generated via scons.

When you try to run rio de hola with the binary built via Code::Blocks, FIFE will complain:

Full log attached:

Attachments

Change History

Changed 9 months ago by mvbarracuda

  • description modified (diff)

Changed 9 months ago by mvbarracuda

  • description modified (diff)

Changed 9 months ago by mvbarracuda

  • status changed from new to closed
  • resolution set to worksforme

It looks like the problem has vanished if you use:

Therefore I'm closing this ticket again. Feel free to reopen if the problem reoccurs though it's likely to be a code::blocks issue that we can't address directly in this case.

Add/Change #415 (Building on win32 via code::blocks (newer SVN revisions) is borked)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.