User forums > Help

C::B SVN built and bundled under OSX : no dylibs, no plugins loaded

(1/2) > >>

eranon:
Hello,

Installing a new OSX environment, I built wxWidgets 2.8 (dylib), then SVN HEAD of CodeBlocks with :


--- Code: ---ACLOCAL_FLAGS="-I /usr/local/share/aclocal" ./bootstrap
./configure --with-contrib-plugins=all,-FileManager,-NassiShneiderman,-spellchecker --enable-unicode CFLAGS="-arch i386" CXXFLAGS="-arch i386" CPPFLAGS="-arch i386" LDFLAGS="-arch i386" OBJCFLAGS="-arch i386" OBJCXXFLAGS="-arch i386"
make
sudo make install

--- End code ---

Notice I had to remove all the "-Wl,--no-undefined" in "acinclude.m4" to pass a "C++ compiler cannot create executables" error.

Then, I made an app bundle, but launching it not any plugin is loaded. So, the fact is that I don't find the plugins's dylib. I have an old bundle in which I succeeded (in 2012), but I don't see any obvious difference about the script building it (have to study the stuff again).

Well, where are the dylibs ? That is the question :)

--
EDIT : I finally tried to go with the .so about plugins (even if in the C::B 13.12's bundle I well see a .dylib files) and I placed them in the path CodeBlocks is waiting for them as per the CodeBlocks log... But it remains the same : "0 loaded plugins". Does someone could explain me the good bundle tree to succeed ?

eranon:
I see I opened a related thread in 2013 http://forums.codeblocks.org/index.php/topic,18490.0.html and that it was w/o reply too.

Does a Mac man could do the point about bundle from SVN ? I also tried the script coming from the wiki and same result : no plugin loaded.

--
EDIT : Does the update script supposed to be ran at some point during the build process (I meaning talink about building from SVN under OS X) ?

MortenMacFly:

--- Quote from: eranon on January 22, 2014, 05:14:32 pm ---Does a Mac man could do the point about bundle from SVN ?

--- End quote ---
The only working way I (and only I) know is compiling C::B under Mac using C::B. This will create dynlibs accordingly. I don't know about other ways.


--- Quote from: eranon on January 22, 2014, 05:14:32 pm ---EDIT : Does the update script supposed to be ran at some point during the build process

--- End quote ---
Taking the above into account: No. In that case you'll need to adjust (one time) and then run the mac_pack script.

eranon:
Thanks for you reply Morten.

So, does the process changed in 2013 ? I made a working bundle in 2012 (opening it I see it contains a .so files too) and it was after a building from command line as explained in the wiki.

Should I use "CodeBlocks-unix.workspace" ?

MortenMacFly:

--- Quote from: eranon on January 22, 2014, 06:31:06 pm ---So, does the process changed

--- End quote ---
Yes,I think so. It wipes nicely on Linux. But I never use autotools so I don't know about any side effects on the Mac.


--- Quote from: eranon on January 22, 2014, 06:31:06 pm ---Should I use "CodeBlocks-unix.workspace" ?

--- End quote ---
Yes, that's the one I used on the Mac, too.

Navigation

[0] Message Index

[#] Next page

Go to full version