Whats wrong, managed to build but half the gui missing?

Ok, so I’ve managed to set up a working build system in eclipse (was actually a lot simpler than I expected and I will document my methods later) despite not having any experience of eclipse and C so I’m quite chuffed with myself :slight_smile:

However when I enter the builds /bin folder and ./blender it loads ok but all the panels are unpopulated with their relevant “stuff” for example clicking on the icons in the properties panel doesn’t show the relevent properties, such as object/modifiers/material/etc.

I also get a huge number of:-
pyrna_srna_ExternalType: failed to find ‘bpy_types’ module
ImportError: No module named bpy_types
errors, which I have traced to not being able to find the python stuff.

Is there a way to set up the paths to the scripts so that they are found even if I re-build, or a setup script I could run as part of the build sequence?

I never had this error… What are you using to generate the project? I assume cmake.

Does it copy all the scripts in the right folders?

I had the same thing happened. What I did was download the official release and copy the 2.58 folder to the release directory of my build and it solved the problem.

JonathanWilson, it is possible you did not do a make (or build) of the ‘install’ target, which copies a bunch of .py files needed for the interface into the needed folder under your build’s /bin folder.

Thanks to everyone. What I did was to add “install” to the build command which then caused eclipse to do a build install all (not sure where its getting the all from) which resolves the problems and I now have a full gui working.

I guess the next thing to try is to see if I can get eclipse to work with the python files as well as the C files.