Skip to content

Commit

Permalink
Merge pull request #2 from equilaterus-gamestudios/dev
Browse files Browse the repository at this point in the history
v1.1
  • Loading branch information
pipecaniza authored Aug 19, 2021
2 parents 5f2ddad + 8a6610f commit d0c3216
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,12 @@ Rincewind is a magic machine built by druids, it can talk with anyone in any lan
* Download [Win-Bison](https://sourceforge.net/projects/winflexbison/files/), add bison.exe to system's variable.
* Download [Re/Flex](https://github.com/Genivia/RE-flex), add reflex.exe to the system's variable.
* Copy and paste `unicode` and `lib` directories from reflex to your project.
* Open the transdimensional gate and talk with Rincewind.
* Open the transdimensional gate and talk through Rincewind.

## What can I do if Rincewind do not compile?
Does that means I am not the chosen one?
* Review that you have a correct path in the `include directories` that points to `YOUR_PATH\ReFlex\include`. To do this, go to the project properties, then to `VC++ Directories` tab.
* Check that you added ReFlex and Bison to your system Path.
* Check your Bison version, to compile the `parser.y` file you need at least `3.2` version
* If Bison and ReFlex are generating all the files, but Rincewind is unable to compile, check whether or not you have the generated files loaded in the project under `Generated Files` folder, if not, do it.
* If you still cannot talk with the elders, well, you may not be the chosen one. (Then contact with the elders through email).
6 changes: 3 additions & 3 deletions Rincewind/Source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int main(int argc, char** argv)

if (ctx.Errors != 0)
{
std::cout << "Errors were found while generating the code. Report this error.\n";
std::cout << "Errors were found while generating the code.\n";

return -1;
}
Expand Down Expand Up @@ -82,8 +82,8 @@ int main(int argc, char** argv)
OutputResources << "\"" << Resource.first << "\",\"" << Resource.second << "\",\"\"\n";
}

std::cout << "Compilation was successfull\n";
std::cout << "File has been generated\n";
std::cout << "Compilation was successful\n";
std::cout << "Output has been generated\n";

return 0;
}

0 comments on commit d0c3216

Please sign in to comment.