Trying To Build On Windows
pslmsngr at gmail.com
pslmsngr at gmail.com
Sat Dec 2 13:03:03 UTC 2017
I am not that familiar with Linux; less with Mac. I was looking at the source code (self-master) and I have a few questions (using any\regs.hh as an example):
1) # include "_regs_pd.hh.incl": where is this file located?
2) Where is the definition for the data type Location at?
Also, is there a command line version of Self? If so, how do I build it? Or better, do you have a Linux binary for it?
I have been able to get the Ubuntu Bash console running on my Windows 10 machine, and have compiled small programs in it. If you had a Linux binary executable that was only a command line version, I believe I could run it.
I have already tried to build my own on Windows 10 but have been getting errors on the build. I was able to Git self and do "cmake .":
drwxr-xr-x 0 pslm pslm 4096 Nov 30 18:41 ../
-rw-rw-rw- 1 pslm pslm 26573 Nov 30 18:41 ChangeLog.md
-rw-rw-rw- 1 pslm pslm 18094 Dec 1 19:23 CMakeCache.txt
drwxrwxrwx 0 pslm pslm 4096 Dec 1 19:24 CMakeFiles/
-rw-rw-rw- 1 pslm pslm 1545 Dec 1 19:23 cmake_install.cmake
-rw-rw-rw- 1 pslm pslm 620 Nov 30 18:41 CMakeLists.txt
-rw-rw-rw- 1 pslm pslm 1704 Dec 1 19:23 configureVmDate.cmake
drwxrwxrwx 0 pslm pslm 4096 Nov 30 18:41 controller/
drwxrwxrwx 0 pslm pslm 4096 Nov 30 18:42 docs/
drwxrwxrwx 0 pslm pslm 4096 Dec 1 19:23 .git/
-rw-rw-rw- 1 pslm pslm 126 Nov 30 18:41 .gitignore
drwxrwxrwx 0 pslm pslm 4096 Nov 30 18:42 historical/
-rw-rw-rw- 1 pslm pslm 126775 Dec 1 19:23 includeDB
drwxrwxrwx 0 pslm pslm 4096 Nov 30 18:42 legal/
-rw-rw-rw- 1 pslm pslm 8730 Dec 1 19:23 Makefile
drwxrwxrwx 0 pslm pslm 4096 Nov 30 18:42 objects/
-rw-rw-rw- 1 pslm pslm 989 Nov 30 18:42 readme.md
drwxrwxrwx 0 pslm pslm 4096 Nov 30 18:42 release/
drwxrwxrwx 0 pslm pslm 4096 Dec 1 19:23 tools/
-rw-rw-rw- 1 pslm pslm 820 Nov 30 18:41 .travis.yml
drwxrwxrwx 0 pslm pslm 4096 Dec 1 19:23 vm/
pslm at DESKTOP-GVA5CBU:~/self$ cmake .
-- Preparing for Linux on i386
-- Preparing Self VM 2017.1.13 (build 2017.1)
-- Using X11 plaform windows.
-- Configuring for build level optimized
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pslm/self
This is where I get the error:
pslm at DESKTOP-GVA5CBU:~/self$ cmake --build .
[ 0%] Building CXX object vm/CMakeFiles/makeDeps.dir/build_support/makeDeps.cpp.o
In file included from /home/pslm/self/vm/build_support/makeDeps.cpp:61:0:
/usr/include/c++/5/new:39:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
vm/CMakeFiles/makeDeps.dir/build.make:62: recipe for target 'vm/CMakeFiles/makeDeps.dir/build_support/makeDeps.cpp.o' failed
make[2]: *** [vm/CMakeFiles/makeDeps.dir/build_support/makeDeps.cpp.o] Error 1
CMakeFiles/Makefile2:93: recipe for target 'vm/CMakeFiles/makeDeps.dir/all' failed
make[1]: *** [vm/CMakeFiles/makeDeps.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
NOTE: I have already downloaded the Ncurses and X development libraries; was able to fix those errors.
Thanks,
Richard Green
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20171202/a039659a/attachment.html>
More information about the Self-interest
mailing list