HyperNEAT icon indicating copy to clipboard operation
HyperNEAT copied to clipboard

wx/wxprec.h' file not found

Open abbypogo opened this issue 7 years ago • 12 comments

After building with cbuild, when i try to do make on the build folder i get the following error:

NE/HyperNEAT/Hypercube_NEAT/include/HCUBE_Defines.h:65:10: fatal error: 'wx/wxprec.h' file not found #include "wx/wxprec.h"

abbypogo avatar Sep 12 '17 09:09 abbypogo

The GUI requires wxwidgets. Either install wxwidgets or set USE_GUI to NO in the CMake cache.

MisterTea avatar Sep 12 '17 15:09 MisterTea

Solved it, there is an issue with wxwidgets and qtkit on OS X that was causing an issue. But now running the buildAll bash script ends up in "buildAll.sh: line 17: cmake: command not found" even tho cmake is installed on the machine, what might be the problem?

abbypogo avatar Sep 12 '17 20:09 abbypogo

buildAll.sh is just calling cmake, nothing special. When you run "cmake" from the terminal, does it work? How did you install cmake?

MisterTea avatar Sep 12 '17 20:09 MisterTea

hum i dont seem to be able to run it from the console, i can however from the aplication itself. I downloaded the 3.9.2.dmg file from their website.

abbypogo avatar Sep 12 '17 20:09 abbypogo

If you are on mac, install cmake using homebrew:

brew install cmake

Sent with ProtonMail Secure Email.

-------- Original Message -------- Subject: Re: [MisterTea/HyperNEAT] wx/wxprec.h' file not found (#9) Local Time: September 12, 2017 1:26 PM UTC Time: September 12, 2017 8:26 PM From: [email protected] To: MisterTea/HyperNEAT [email protected] Jason Gauci [email protected], Comment [email protected]

hum i dont seem to be able to run it from the console, i can however from the aplication itself. I downloaded the 3.9.2.dmg file from their website.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

MisterTea avatar Sep 12 '17 20:09 MisterTea

It works and builds, but i cant seem to find the gui executable. I have set the USE_GUI from OFF to TRUE as said in the manual. I am terribly sorry to keep bothering you with such issues.

abbypogo avatar Sep 12 '17 20:09 abbypogo

It's the same executable. Just run the main binary without any parameters.

MisterTea avatar Sep 12 '17 21:09 MisterTea

Also please update the wiki so people after you can benefit from your hard work :-D

MisterTea avatar Sep 12 '17 21:09 MisterTea

Im not sure what you mean since there is no executable as shown here Also what do you mean by update wiki? Again im sorry for this kind of questions, im new to this sort of work.

abbypogo avatar Sep 12 '17 21:09 abbypogo

You should have a Hypercube_NEAT in this dir: HyperNEAT/NE/HyperNEAT/out

MisterTea avatar Sep 12 '17 21:09 MisterTea

Running that gives a ERROR: no opening book detected

abbypogo avatar Sep 12 '17 21:09 abbypogo

Oh, you need to be in the out directory I believe. So go there and run ./Hypercube_NEAT

Sorry, it's been years since I ran this :-)

MisterTea avatar Sep 12 '17 21:09 MisterTea