On 17 May 2013 20:56, Camillo Bruni <camillobruni@gmail.com> wrote:
On 2013-05-17, at 20:48, Igor Stasenko <siguctua@gmail.com> wrote:
On 17 May 2013 09:10, Esteban Lorenzano <estebanlm@gmail.com> wrote:
On May 16, 2013, at 11:53 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 15 May 2013 09:37, Esteban Lorenzano <estebanlm@gmail.com> wrote:
On May 14, 2013, at 12:45 AM, Igor Stasenko <siguctua@gmail.com> wrote:
How did you loaded NBOpenGL? For 2.0/3.0 pharo image use (ConfigurationOfNBOpenGL project version: '2.0') load
I added this important piece of information into http://smalltalkhub.com/#!/~PharoExtras/NBOpenGL :) It would be a lot better to make
ConfigurationOfNBOpenGL load.
unless you put a lot of complex logic behind that "load", it will never work.
Why? load should be
ConfigurationOfNBOpenGL class>>#load ^ self project stableVersion load.
and nothing else
the problem is that #stableVersion for 2.0 and #stableVersion for 1.4 may differ as well as dependencies.. in 1.4 there is no NB loaded, while 2.0 have it by default.
you can easily do that:
stable: spec <symbolicVersion: #stable >
spec for: #'pharo1.4' version: '100'. spec for: #'pharo2.0' version: '200'. spec for: #'pharo3.0' version: '300'.
thanks. (it is still a case statement, but not so ugly however ;)
-- Best regards, Igor Stasenko.