mitchej123 / realmscode Goto Github PK
View Code? Open in Web Editor NEWROH - based on Mordor
ROH - based on Mordor
Re-Installed Cygwin, c++11 seems to be working, but I just can't get around the Python.h file missing. I do understand what it means to be missing a file, but am I doing something wrong in Cygwin linking the Library to the missing header? Cygwin of course had some MDCHKSUM problems, after re-installing it practically 4 times, I realized what the issue was there, and had to do a workaround on that. But really it had nothing to do with the Python Library. Other than the python.h missing error the code itself compiles wonderfully with no warnings or errors. Thanks, -Nick.
EDIT: Fixed Python.h error <--- User error of course. Always make sure to check the Makefile.
I guess cygwin didn't install 3.3m instead I had installed 3.2m Python, switched it to the 3.2 and Viola.
Now I did end up with an error in the end.
Compiling alphanum.cpp
alphanum.cpp: In function 'int alphanum_impl(const char_, const char_)':
alphanum.cpp:93:51: error: 'strtoul' was not declared in this scope
makefile:104: recipe for target .objs/realms.exe/alphanum.o' failed make[1]: *** [.objs/realms.exe/alphanum.o] Error 1 make[1]: Leaving directory
/home/Ryukio/roh/src-2.47e'
makefile:55: recipe for target `default' failed
make: *** [default] Error 2
This code is not out of the box ready for Cygwin Users. The strtoul was one of many different types of str types that were missing headers. After about 4 hours of playing around with the code, and pointing them in the right direction, I ran in to the dreaded lboost that simply just won't be found. From the Makefile, here's what I ended up with as a result.
Using g++ as a compiler
make all
make[1]: Entering directory /home/Ryukio/roh/src-2.47e' Building target: realms.exe /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lboost_python3 collect2: error: ld returned 1 exit status makefile:63: recipe for target
realms.exe' failed
make[1]: *** [realms.exe] Error 1
make[1]: Leaving directory /home/Ryukio/roh/src-2.47e' makefile:55: recipe for target
default' failed
make: *** [default] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.