On 06/12/2012 04:18 PM, D.Y Feng wrote:
> I'm using the cmake builder,and I want to use the Generic project.
>
> M-x ede-enable-generic-projects
> M-x ede-customize-project
>
>
> I get the error:
>>
>> eieio-oref: Wrong type argument: (or eieio-object-p class-p), nil
>
>
> and I found the ede-generic-new-autoloader in ede-generic.el
>
>> (ede-generic-new-autoloader "generic-cmake" "CMake"
>> "CMakeLists" 'ede-generic-cmake-project)
>
>
> Is "CMakeLists" means the file name?But in cmake system,it should be
> "CMakeLists.txt".I get the same error after I changed "CMakeLists" to
> "CMakeLists.txt".
>
> I have been tried the ede-cmake in
> https://code.launchpad.net/~arankine/+junk/ede-cmake.When I M-x
> ede-new,I get the unbound slot error.I have sent several e-mails to
> the author.however,no reply.
Hi,
Your error just means that there was no project type discovered for your
file / directory. It seems likely that is related to the CMakeLists
file name problem you mention.
EDE's project detector is quite slow, so a cache went in several years
ago to improve the performance, but it can get in your when when you
develop Emacs projects, and just assume your change will take effect.
Thus, if you visit a file, and discover no project there, and then
change some ede code, and try again, it will still miss. You need to
call ede-flush-directory-hash to fix it. Once you do that, I'll guess
your change to look for the .txt version will start to work.
Eric
|