Can't find the file "create-multi-platform-projects.py" - cocos2d-iphone

I downloaded the sdk (3.0a1). According to cocos2d-x guide, I have to run the create-multi-platform-projects.py command in order to create a project, but the script doesn't exist in the package I have downloaded.
The guide says
Note: These instructions are only valid for cocos2d-x v3.0-alpha0 or newer
So I suppose that I have downloaded the right package (windows 8.0 64bit).

The script has been moved to tools/project-creator/ and renamed to create_project.py. You can use the script the same way like
./create_project.py -p MyGame123 -k com.MyCompany.AwesomeGame -l cpp

Related

Oracle instant client header files are missed

I'm using RedHat OS to build a C++ program that is using OCCI to connect with an Oracle DB.
I had to reinstall everything and I found that my make file is adding the header files from the following path
/usr/include/oracle/18.3/client64
Which isn't available anymore
The only installation I remember I need is installing oracle-instantclient-basic
I've downloaded the rpm and installed using the command rpm -i ***.rpm
But the folder /usr/include/oracle isn't there
Note: The path /usr/lib/oracle/18.3/client/lib is found and all libraries I use for linking are there (only header files are missed).
This is my installation file
I could investigate and find the solution
The header files are not created by installing oracle-instantclient-basic but you should install oracle-instantclient-devel
/usr/include/oracle/18.3/client64 is the path for 64bit version and the path is /usr/include/oracle/18.3/client for 32bit versions.
All the tools can be downloaded from oracle website

Installing gettext in windows :Can't find msguniq. Make sure you have GNU gettext tools 0.15 or newer installed

I followed the instructor of installing gettext on windows and when I type xgettext --version in my command prompt it says that it has installed. but when I want to run this command: python manage.py makemessages -l "fa"
in my project it says Can't find msguniq. Make sure you have GNU gettext tools 0.15 or newer installed.
I tried so hard but it seems there are no good answers out there
In windows you just need to download :
gettext-tools-xx.zip
gettext-runtime-xx.zip
from here:
enter link description here
and then you need to unzip them and copy all in bin folder of both files into C:\Program Files\gettext-utils\bin
and then you need to go to control panel-> system -> advanced -> environment variables and add this path:C:\Program Files\gettext-utils\bin to path variables.
Note:
xx is the version you want to download if you download version 18
you will get an error that some dll file is missing, I suggest to
download version 17
this folder :gettext-utils\bin does not exist and you need to create
it
resteart your pc before you use gettext
on windows7/windows10 you have to download gettext-iconv-windows , try the following url:
https://mlocati.github.io/articles/gettext-iconv-windows.html
after you download it and install it , close and reopen your CMD , and then try to use your command again .
i hope this helpful

qt binarycreator does not create dmg

hi i am using the QT binarycreator to create an installer for my QT project.
I have my App.dmg and have 7z it using archivegen.
Now i am trying to make the installer as:
~/Qt/QtIFW2.0.1/bin/binarycreator -v --online-only -c config/config.xml -p packages MyAppInstaller.dmg
note: packages folder contains the 7z folder inside packages/myapp/data/myapp.7z
but unfortuntaly it only creates MyAppInstaller.app and NOT MyAppInstaller.dmg as mentioned in the documents.
any ideas why?
I'd upgrade to the latest version of the installer framework if you don't have any reason not to. The new 3.x versions also include the ability to sign dmg packages so they don't show up as unknown application sources.
I had a lot of head scratching with the 2.x versions in QTIFW that the 3.x solved out of the box.
http://blog.qt.io/blog/2018/03/28/qt-installer-framework-3-0-4-released/

Cassandra CPP Driver

Really basic issue. I'm trying to install the Datastax Cassandra C++ driver on my Ubuntu 16.0.4 machine. It really shouldn't be that difficult. I've installed all dependencies using dpkg and installed the cassandra driver deb file. But I can't find (or #include) the cassandra.h file.
Running
$ locate cassandra.h
returns nothing and running
$ locate cassandra*
returns a whole mess of files from cqlsh, the casssandra config files, etc, but no header files for the cpp driver.
Additionally, cassandra-cpp-driver doesn't show up in dpkg -l (though apt-get and dpkg -i say it's already installed).
Any help getting this installed would be appreciated.
DataStax C/C++ Driver for Apache Cassandra is currently not available from the Ubuntu official repository.
There are .deb packages for Ubuntu which are available as mentioned in the DataStax project documentation on github datastax/cpp-driver repository from this location:
http://downloads.datastax.com/cpp-driver/
If you are using Ubuntu 16.04, the last .deb available are under ubuntu/16.04/cassandra/v2.7.0/.
You will find the cassandra.h file in cassandra-cpp-driver-dev_2.7.0-1_amd64.deb, which you need to download and install with dpkg.
The suffix dev in a Debian or Ubuntu package denotes a package meant for developing programs, containing, in particular, header files.
dpkg -i cassandra-cpp-driver-dev_2.7.0-1_amd64.deb
The header will get installed in the usual location under Linux for header files that your compiler should find without a problem: /usr/include/cassandra.h.
it will also install:
/usr/lib/x86_64-linux-gnu/libcassandra_static.a
/usr/lib/x86_64-linux-gnu/pkgconfig/cassandra.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/cassandra_static.pc
/usr/share/doc/cassandra-cpp-driver-dev/changelog.Debian.gz
/usr/share/doc/cassandra-cpp-driver-dev/copyright
which you will need for static linking and for pkgconfig to work properly.
What you may have installed is cassandra-cpp-driver_2.7.0-1_amd64.deb which contains the libcassandra.so.2.7.0 that is the shared object (dynamic) library binary file,.. although whatever you installed should indeed come in the result of a dkpg -l query such as:
dpkg -l | grep cassandra
If you installed anything from an unofficial source, I would suggest you uninstall these first, and install the provided .deb for your plaform from the official source.
Follow the documentation's instructions for making your first program with this library.

Using QtMobility in QtCreator: Setup?

I am trying to set up a development environment to play around with developing Qt apps for Symbian devices. I have succesfully set up the environment and am able to create simple apps such as HelloWorld and get them to run on my device. I would now like to try using the QtMobility package, but I am struggling to get it to work in QtCreator.
I got some sample code for using the camera (initially I only had QtMobility 1.0.2, but I have now downloaded the 1.1.0 technology preview version). I followed the instructions in the help file to install it, here is what I did:
Extracted the zip file to C:\QtMobility
Opened a Qt Command prompt and ran configure (in the QtMobility directory)
Ran mingw32-make
Ran mingw32-make install
Finally I updated my PATH variable to include C:\QtMobility\lib
I went back to QtCreator (restarted it) and looked at the cpp file that first calls the macro QTM_USE_NAMESPACE but it is still underlined in red, because it can't find the qmobilityglobal.h file.
Does anyone know if I have missed anything out during the installation that will tell the QtCreator where to find the QtMobility header files?
mingw32-make suggests you're building for win32-mingw target environment. To work with Symbian SDKs, you should be building for e.g. symbian-abld instead. The configure.bat script will auto-detect the target you are building for. Just make sure that QT_PATH environment variable points to a location where you have a Symbian build of the Qt toolchain.
(Also note that make install is unnecessary with symbian-abld - the build step already puts everything in place in Symbian SDK directories.)