Works On Windows, Fails On Linux - Need Some Help, Thanks!


I should be done with the engine update by end of this week.
Today I rewrote the dictionary word lookup converting it from char to string.
I works properly on Windows 10, but does not work on Linux(Kubuntu).
(no compile warnings on Linux, the compare of user word and dictionary word is not working)

You can see the code at below URL link:

Not sure how to fix the above to work on both Windows and Linux.
Any help would be appreciated, this is the last big task in this engine update…


Hi Again,

You can download the current project below:



Hello again,

This could be literally anything.
Maybe compiler doesn’t support operator== for string ?


if(strcmp(userWord.c_str(), data.c_str()) == 0) {

Simple Working Example to try.

#include <iostream>
#include <sstream>

int main() {

    std::string userWord = "World";

    std::stringstream ss;
    ss << "Hello\n" << "World\n";

    std::string data;
    while ( std::getline(ss, data)) {
        if (userWord == data) {
            std::cout << "Found Word \n";
    return 0;