Derelict and GFW3 - d

I'm trying to get Derelict3 to work with GLFW3 on Ubuntu 12.10.
I've successfully built Derelict3 and glfw3 using DMD 2.061.
Imports and links work.
But it seems the API has changed since this article was written since I (case insensitively) can't find any reference to glfwOpenWindowHint in neither
Derelict3 (git://github.com/aldacron/Derelict3.git) nor
GLFW3 (git://github.com/elmindreda/glfw.git)
And I can't find any other tutorials on using GLFW3.
Does anyone have an uptodate tutorial on how to use GLFW3 either in C or D?
Update: I guess the examples directory in glfw3 is a good start right?

explore derelict sources - https://github.com/aldacron/Derelict3/blob/master/import/derelict/glfw3/functions.d#L135 - here is ur function.
btw i'm not think glfw3 is stable enough, i has some unresolved externals even with glfw2 on windows(one example is glfwGetGLVersion) so i think it's more likely a glfw issue. glfw2 official site has D bindings(outdated) in their support.
concerning examples, yes with D it is always a good choice to start with examples provided by authors, D still rapidly grows and so on. also it is a good to start asking on dlang.org forum. and last note, dsource is quite outdated and most of development acivity migrated to github.
hope all this helps you.

http://wiki.glfw.org/wiki/Moving_from_GLFW_2_to_3
This was the best guide I could find to the API changes. Use this to translate from other code/tutorials.

Related

Stanford cs106b C++ library in XCode 8

I am right now trying to solve the exercises of the free cs106b class, but cannot succeed to setup the needed libraries. I am new to C++ and not that experienced in XCode. I tried to to directly copy the library files I found on [Github] into my XCode project. I tried now for hours to get this package working but it seems they have to be installed in a special way.
I would be glad if somebody could give me some references on how to install a C++ library in XCode, especially the library given by Stanford.
P.S. with the "old" class I was given an .pkg installer, which I installed but did not seem to change anything.
I cannot help much with the XCode IDE. I have personally completed the course myself; however I used QT creator. The CS106B or CS106X official website (version 2016) provides very good documentation about how someone can go about and get started. http://web.stanford.edu/class/cs106b//handouts/qt-creator.html
A point to note: I used the SEE CS106B videos (the online cs106B) to complete the 2016 CS106X course. Please have a look around for the assignment files, in the official cs106B/cs106X website. In case you cannot find it, let me know, I can send it to you. I hope this helps.

Easy c++ gui for Xcode and installing GTK+

i wanted to make a Gui for a c++ program that prints code on a screen. My question is does anyone know a good library/program that is easy to understand. Also the install info for it due to the fact that i am not good at installing libraries. I know about GTK+ but the issue is that i have no idea how to install it. Mainly i just do not see the download link for it.
http://qt-project.org/doc/qt-5/macosx.html
try this. it's imho the best thing to learn

OpenCV problems with Netbeans and Cygwin

I have tried today for five hours to install OpenCV and run a simple program to check that it works. I have not been able to do this despite looking at several tutorials and youtube video's. Could anyone tell me firstly if there is a difference between using cygwin or mingw? Why is it so hard to link the OpenCV libraries to netbeans. I love the IDE but will have to use Visual Studio if I cant get it working tomorrow. I have not been able to find a tutorial that references opencv2.4.6 which is the latest version and netbeans 7.4. For anyone interested the cygwin version I down loaded was 1.7.25. The main problem I am having is finding out how to correctly link the OpenCV headers etc to netbeans. If anyone has made a record of how to do this then sharing it would be great. Maybe I'm going wrong with the system variables I'm just not sure. As said any help or directions to up to date tutorials would be a great help. I love Netbeans and want to keep using it.
Thanks
I stumbled across this post while trying to set up OpenCV with Netbeans 7.4 on windows 7.
After finally getting everything to work I wrote this guide: OpenCV Netbeans C++ setup guide
I was able to get all the libraries linked. Also the clean/Build and run works for my C++ opencv 2.4.7 app from netbeans 7.4. Hope this can help anyone else who might want to use Netbeans for OpenCV coding.

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).

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.