Exciting News!

5 views
Skip to first unread message

Bruce Long

unread,
Sep 26, 2012, 7:17:46 PM9/26/12
to slipstream-pro...@googlegroups.com
After a long time of little news (but a lot of progress!) we're back online!

The newest version has been committed to the repo at https://github.com/BruceDLong/ProteusCore.

We will be updating it regularly until it is finished and beyond. We'd love to have contributors, and have availability for one or two primary developers who are willing to make a larger commitment to the creation of the Slipstream.

The easiest way to jump in currently is to add platforms or features to the CMakeLists.txt file using crosstool-ng.

Also, feel free to chat for more things to do!

Rock on!

Bruce




David Van Duzer

unread,
Sep 26, 2012, 8:37:30 PM9/26/12
to slipstream-pro...@googlegroups.com
Excellent, excellent news. Congratulations.

I've started playing, and the boost, gmp, and icu dependencies seem to
be working, but I'm still getting errors like this:

/Users/dvd/ProteusCore/core/XlaterENGLISH.cpp:88:9: error: no matching
constructor for initialization of 'WordMap' (aka 'map<string, int>')
WordMap functionWords = { // int is a WordClass
^ ~~~~~~~~~~~~~~~~~~~~~~~~~

I'll play with it a little more later on, but if there's a
known/obvious dependency I missed that'll short circuit that, lemme
know.

Thanks again for the update. L'Chaim!

dvd

David Van Duzer

unread,
Sep 26, 2012, 8:40:34 PM9/26/12
to slipstream-pro...@googlegroups.com
Hmm, that wrapping didn't work very well at all. This might be better
if you're reading in a monospace font:

/Users/dvd/ProteusCore/core/XlaterENGLISH.cpp:88:9: error: no matching
constructor for initialization of 'WordMap' (aka 'map<string, int>')
WordMap functionWords = { // int is a WordClass
^ ~~~~~~~~~~~~~~~~~~~~~~~~~


If not, the carat is directly under 'functionWords' and the tildes are
underlining everything after the equal sign.

Bruce Long

unread,
Sep 26, 2012, 8:57:15 PM9/26/12
to slipstream-pro...@googlegroups.com
Hmmm. What version of C++ are you using. I suggest c++11.

BTW, WordS (which stands for "word system") is what used to be called 'tag'
--
Give me immortality or give me death!

David Van Duzer

unread,
Sep 26, 2012, 9:13:05 PM9/26/12
to slipstream-pro...@googlegroups.com
I'm using the default compiler with OS X 10.8.2 which happens to be clang 4.1. It supports almost all of the C++11 spec:


I did also have to edit a few source files to change mentions of "uint" to "unsigned int" so there may be something else at play.

dvd

Bruce Long

unread,
Sep 26, 2012, 9:16:52 PM9/26/12
to slipstream-pro...@googlegroups.com
Indeed. Slip and Clip should both build without any modifications.

Bruce Long

unread,
Sep 26, 2012, 9:22:25 PM9/26/12
to slipstream-pro...@googlegroups.com
Early next week I plan to update this to be a bit cleaner.

I just pushed a new CMakeLists.txt. Try using the previous one.

David Van Duzer

unread,
Oct 6, 2012, 5:36:31 PM10/6/12
to slipstream-pro...@googlegroups.com
I've whittled down my build issues to three calls to PrntLocale() in
clip.cpp (defined in Proteus.h). Commenting them out allows me to
build everything properly. I'm not sure where icu4c does the operator
overloading to support << but including unicode/ustdio.h didn't help.

This change to CMakeLists.txt seems necessary (at least on OS X 10.8):

-#add_definitions(-std=gnu++0x -Wno-deprecated -Wno-write-strings
-fpermissive -g -Wall)
+set (CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -Wno-deprecated
-Wno-write-strings -g -Wall")

As well as running the following shell commands:

$ export CC=clang
$ export CXX=clang++

Presumably all of this can be incorporated into the CMake equivalent
of an ifdef.

dvd
Reply all
Reply to author
Forward
0 new messages