Hey!
I’ve started to study how to write cpp externals. The classes are very nice and very clear( i was amazed to see there are ‘raw’ gl commands on the TOP example!). I think this is the best way to port material from cinder or OFW( they also have their own wrappers but underneath there are just raw gl commands).
However, I’ve only worked with OSX and its IDE Xcode to make c++ based apps, I am super super new to visual studio( probably 2 hours now ). Sorry if the questions are very noob-ish!
So far what I’ve tried to do: I tried to open the TOP example on visual studio express c++. There was a window to asked met o upgrade the files and suggested me the overwrite them. So in the end I have this VS 2010 compatible project. So i try to run in debug mode and i get this error:
1>c:\users\efe\desktop\top\TOP_CPlusPlusBase.h(60): error C2146: syntax error : missing ‘;’ before identifier ‘mainWindowHandle’
1>c:\users\efe\desktop\top\TOP_CPlusPlusBase.h(60): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\efe\desktop\top\TOP_CPlusPlusBase.h(60): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
which comes from ths TOP_CPlusPlusBase header on the next line:
HWND mainWindowHandle;
might this problem be because I upgraded the version of the project and overwrote it? is there any place where i can download the original files? The other headers seem to be OK. There were some warnings because of the GLint to int conversion but that is fine.
any ideas how to fix this?
thanks!!!
-emmanuel