Is it possible to convert VTK into OSX framework bundle? - c++

I want to pack the VTK framework inside my App like a .framework bundle in OSX.
Is it possible to do so? If yes, please help me to do it.
I have downloaded the source of latest release 5.10.1
Please help me.

Yes, it is possible. Bundle is just a directory with some defined structure. See Framework Programming Guide for the details.

Related

Libconfig++ for windows

I have a project which was created under linux, it uses libconfig++. I need to port this project to windows, but I couldn’t find a way to install libconfig++ on windows. Is there any way to do it? Thanks in advance.
P.s. i’m not into c++ that much yet, just started learning and already have this task.

Xcode & wxWidgets Framework

I've downloaded wxWidgets - wxwidgets.org
I ran the configure file using terminal.
How can I use this framework with Xcode C++ project?
Thanks!
Please take a look at the following documentation, or consider pin pointing down a more specific question about using the framework (ie, what problems you may have run into).
http://wiki.wxwidgets.org/Development:_wxMac
http://wiki.wxwidgets.org/Guides_%26_Tutorials#Mac_OS
http://wiki.wxwidgets.org/Creating_Xcode_projects_for_wxWidgets_applications (Out of date, but may still help you. As someone who used wxWidgets in the past, I can tell you that the code is correct).

Is there a downloadable distribution of Thrift for Windows?

I've been reading quite a bit about Thrift and it looks like a technology I'd really like to use. I'm having all sorts of trouble building the Windows distribution. I know a patch exists to build a Windows version, however I have not had much luck with this either.
Does anyone know of a pre-built distribution for Windows?
Or any suggestions on how to get the latest version of Thrift built (without turning my Windows machine into a pseudo *nix box).
Thanks
Rich
Thrift 0.8 now has VS projects for both the compiler and C++ library. Get the snapshot release or the latest off of SVN
http://thrift.apache.org/download/
Edit: 0.8 has been officially released and the source is available as a tarball on the download page.
Edit2: The SVN trunk now has a cross-platform sample project under thrift/contrib/transport-sample
I ported the client part of Thrift to Windows C++ for my own open-source project. It should be easily usable in other Win32 or WinCE projects.
http://peoplesnote.codeplex.com - src\Evernote API\Thrift
Yes there is, just download the exe from here:
http://thrift.apache.org/download/
exe listed for download there is standalone executable, no installation is needed.
I have used it to generate Smalltalk code, did not test other languages.

How to install MinGW correctly on Windows

I have recently started learning C++, but I require a compiler. I have tried the one packaged with Code::Blocks, but I have been told it is out of date.
I have tried reading the instructions on the website, but I simply don't know which files to download and un-zip. Is there a list of files to download? (latest version) and a folder structure I need?
I was the person that pointed you at the more up-to-date version at Twilight Dragon. The file you want there is http://sourceforge.net/projects/tdm-gcc/files/TDM-MinGW%20Installer/1.908.0/tdm-mingw-1.908.0-4.4.1-2.exe/download which is a Windows binary installer - you just run it. Note that you don't actually need to do this - the version that comes with Code::Blocks will work OK for someone starting to learn C++.
I recommend using a pre-packaged MinGW that includes some common APIs like Boost, SDL etc: http://nuwen.net/mingw.html
If I remember correctly, the only thing you must do to get it working is to modify Windows's PATH environment variable.
edit: OpenAL is not included in this package.
Here are some instructions to have a MinGW setup that I used to build Octave modules.
I have switched to using the build environment for msysgit. Just download the netinstall file and it will setup GCC, Make, etc. along with Git.

npruntime example plugin (c++) of NPAPI fails to run on mac OSX 10.5

I have compiled Mozilla NPAPI plugin example npruntime on Mac OSX 10.5.
It give me a libnprt.dylib
I am bundling this dylib with proper plist.
On loading the plugin, NP_GetMIMEDescription() is getting called (i am logging this), but its not going inside NP_GetEntryPoints().
How a part of code is getting loaded and a part not?
Can you suggest me of any other documentation or example code?
Any light on "How to make an NPAPI plugin for Mac"?
Advance thanks
-Parimal Das
Solving your problem with the npruntime sample is a bit hard with the details given. I suggest checking out WebKits examples from their repository. Mac-wise Mozillas samples are somewhat outdated.
To spare yourself from implementing it all, you can also take a look at:
QtBrowserPlugin
FireBreath (Cocoa support is work-in-progress though at the moment)
If you haven't found it already you might also find this NPAPI plugin introduction helpful.