UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #3367 Cannot build ufo_tests project on windows
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/3367 Item 3367] imported from sourceforge.net tracker on 2013-01-28 20:08:16

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:1126: error: invalid conversion from 'const char*' to 'char*'

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:1236: error: invalid conversion from 'const char*' to 'char*'

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:1269: error: invalid conversion from 'const char*' to 'char*'

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:1321: error: invalid conversion from 'const char*' to 'char*'

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:1337: error: invalid conversion from 'const char*' to 'char*'

Process terminated with status 1 (2 minutes, 38 seconds)

5 errors, 541 warnings
===== Comments Ported from Sourceforge =====

====== tlh2000 (2012-09-23 15:49:57.696000) ======

i think this is due to an old version of libcunit. you have to update your build environment. maybe duke can help here? i think it works for him.
====== aduke1 (2012-09-23 21:54:43.344000) ======

IIRC I manually edited some of the cunit headers. NOT really an option for ShipIt.

Imho it's high time mattn creates an up-to-date codeblocks.zip, including
- libintl fix
- cunit fix
- a recent C::B version

- **assigned_to**: Martin Gerhardy

====== tlh2000 (2012-10-08 13:33:07.761000) ======

please just attach the header here.
====== aduke1 (2012-10-15 20:25:52.015000) ======

Oops, I didn't notice your request.
Here you go.
====== aduke1 (2012-11-08 00:18:00.147000) ======

ShipIt, did you get it to work now ?
====== shipit (2012-11-08 05:36:45.096000) ======

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:568: error: invalid conversion from 'const char*' to 'char*'

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:1134: error: invalid conversion from 'const char*' to 'char*'

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:1244: error: invalid conversion from 'const char*' to 'char*'

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:1277: error: invalid conversion from 'const char*' to 'char*'

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:1329: error: invalid conversion from 'const char*' to 'char*'

H:\buildUFOAI\codeblocks\msysgit\ufoai\src\tests\test_campaign.cpp:1345: error: invalid conversion from 'const char*' to 'char*'

Process terminated with status 1 (1 minutes, 46 seconds)

6 errors, 548 warnings

====== aduke1 (2012-11-08 10:35:41.633000) ======

Uhm...seems like you didn't copy the TestRun.h (s.a.) over your existing one successfully.
====== shipit (2012-11-12 18:58:37.022000) ======

Replacing both TestRun.h files in the MinGW dir finally did it.
====== tlh2000 (2012-12-14 08:04:26.771000) ======

- **status**: open --> closed
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif