RCC++ seens to fail on MacOS 10.11

32 views
Skip to first unread message

Dimitris Chloupis

unread,
Sep 14, 2016, 4:03:33 AM9/14/16
to Runtime-Compiled C++
Hey guys, I am a beginner C++ coder and was curious about your project , so I cloned the git repo and opened Aurora project with my xcode and then chose the SimpleTest build. Now if I try to run, it runs but if I try to change something looks like it fails.

For example I went into Game.cpp -> Game::RocketLibInit() at line 396 and tried to change the string for the name in the title of the window from "Pulse" to "Pullse" .

The first thing I observed is that even though it started the compile automatically without even me saving the file , the compile time took a lot longer than in your demos, I will say around 10 sec. I am on late 2013 27'' iMac by the way with 3,2Ghz i5 quad core and 8 gb of ram.

Then instead of changing the name it opened the lldb and it froze in thread 1, I have attached a screenshot, SimpleTest of course is frozen. Any idea what I am doing wrong ?





Auto Generated Inline Image 1

Doug Binks

unread,
Sep 14, 2016, 4:32:42 AM9/14/16
to Runtime-Compiled C++
Could you try the cmake build? I have had issues with the XCode project and am thinking of removing it, so builds have to be done through cmake instead.

Note that I can no longer test on current versions of OS X since my Macbook is not supported, so fixing issues on this platform is a little tricky.

Doug Binks

unread,
Sep 14, 2016, 4:36:14 AM9/14/16
to Runtime-Compiled C++
I just realised you were trying to change a file which is not a runtime compileable file.

Take a look at the [tutorial example demos](https://github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledCPlusPlus/wiki/Demo-Tutorials), but as noted before do use the cmake build.

Dimitris Chloupis

unread,
Sep 14, 2016, 4:56:19 AM9/14/16
to Runtime-Compiled C++
followed tutorial exactly, exactly same problem

made the consoleExample with cmake, it builds and executes fine but if I go in ConsoleGame.cpp  line 48 and change the string of cout , i see no recompiling and of course no change.

Its not a problem I am trying your library out of curiosity , I am coming from a pure live coding language called Pharo

http://pharo.org/

Its a modern implementation of Smalltalk and pretty much the entire enviroment is based on live coding including the VM. This was my introduction to live coding workflow and every since I am hooked in it.

For my C++ live coding needs Unreal Engine covers me with hot reloading, but of course I am curious to learn how is done in practice. I will keep studying your library thanks for the help and fast reply , keep up the awesome work :)

Dimitris Chloupis

unread,
Sep 14, 2016, 4:57:47 AM9/14/16
to Runtime-Compiled C++
Clarification: by followed the tutorial, I mean trying to change the file and the line indicate by the tutorial with Xcode

Doug Binks

unread,
Sep 14, 2016, 5:07:59 AM9/14/16
to Runtime-Compiled C++
Hi Dimitris,

The ConsoleGame.cpp is also not a runtime compileable file, and it's not mentioned in any tutorials - these all use the SimpleTest Pulse demo.

So your result is as expected.


Cheers,

Doug.

Dimitris Chloupis

unread,
Sep 14, 2016, 6:02:37 AM9/14/16
to Runtime-Compiled C++
Yeah I am really sorry Doug, my brain went into a lock down. I just realized that you meant to use cmake with the pulse demo and not console example, in short as you said "follow the tutorial" ... no idea why I did the thing I did.

Following the tutorial works like a charm, compilation is far faster and everything works fine

Again my apology.

Thank you for your patience and help :)

--
You received this message because you are subscribed to the Google Groups "Runtime-Compiled C++" group.
To unsubscribe from this group and stop receiving emails from it, send an email to runtimecompiledcpl...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Doug Binks

unread,
Sep 14, 2016, 6:10:01 AM9/14/16
to runtimecompi...@googlegroups.com
That's great! No worries - I should have been more specific :)

Glad that works now.

To unsubscribe from this group and stop receiving emails from it, send an email to runtimecompiledcplusplus+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Runtime-Compiled C++" group.
To unsubscribe from this group and stop receiving emails from it, send an email to runtimecompiledcplusplus+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages