View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012371CMakeCMakepublic2011-07-29 04:422016-06-10 14:31
ReporterMichael Broutin 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformCode::Blocks with MingWOSWindowsOS VersionWindows 7
Product VersionCMake 2.8.4 
Target VersionFixed in Version 
Summary0012371: Resource compilation gets wrong parameters on CB+MingW
DescriptionHi,
First, please see this thread on the Ogre Forum : http://www.ogre3d.org/forums/viewtopic.php?f=2&t=63559 [^]

It appears that from CMake 2.8.4 (tested : not fixed in CMake 2.8.5), there's a problem with resource compiling with mingw : windres.exe is called with what should be a compiler-only option (something like -msse), so compilation fails...

Right now, the only recommendation is : don't use CMake version above 2.8.3 ...

Is there a better workaround?
Or can it be fixed within CMake itself?
Steps To ReproduceGet the Ogre source.
Try to compile it with Code::Blocks/MingW (Visual Studio doesn't have this problem)
Additional InformationAttached : CMakeLists.txt from OgreMain
TagsNo tags attached.
Attached Filestxt file icon CMakeLists.txt [^] (24,972 bytes) 2011-07-29 04:42 [Show Content]

 Relationships
related to 0012444closedBill Hoffman Starting with CMake 2.8.4 it passes invalid msse flag when compiling with MinGW 
related to 0012998closedKitware Robot rc-File support for MinGW: <FLAGS> incompatibilities between GCC and windres 

  Notes
(0028237)
Sam Morris (reporter)
2012-01-10 10:42

According to the CMake developers, Ogre is doing the wrong thing here. See http://www.cmake.org/Bug/view.php?id=12871 [^] for information and http://www.ogre3d.org/mantis/view.php?id=492 [^] for the fix.
(0030368)
David Cole (manager)
2012-08-11 21:09

Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0041874)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2011-07-29 04:42 Michael Broutin New Issue
2011-07-29 04:42 Michael Broutin File Added: CMakeLists.txt
2012-01-10 10:42 Sam Morris Note Added: 0028237
2012-02-27 08:57 Brad King Relationship added related to 0012444
2012-02-27 08:58 Brad King Relationship added related to 0012998
2012-08-11 21:09 David Cole Status new => backlog
2012-08-11 21:09 David Cole Note Added: 0030368
2016-06-10 14:28 Kitware Robot Note Added: 0041874
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team