i am getting, Error loading templates, please run 'flixel download'. after a fresh install on a windows pc.
Everything is freshly installed.
I tried :
i am confused what to do next ?
The error you get when you run haxelib path flixel-templates gives the relevant clue:
Error: Library lime version 2.9.1 is not installed
Flixel depends on older versions of OpenFL and Lime - Lime 2.9.1 to be exact, hence the error. You can solve this by running the following two commands (answer the "install it?" prompt with yes):
haxelib set lime 2.9.1
haxelib set openfl 3.6.1
Note that if you run haxelib install flixel, it should automatically install the correct versions of Lime and OpenFL. Perhaps you used a different setup?
Update: I've just released flixel-templates 2.4.5 and flixel-demos 2.4.3, which should avoid this issue altogether in the future.
Related
I want to run a c++ application written in vs2017 in Ubuntu 16.04. I've installed Wine version 3.0.3 as well as Winetricks version 20140817. When trying to run the application using 'wine app_name.exe' command, i get an error saying
002e:err:module:import_dll Library mfc140u.dll (which is needed by L"path_to_my_application_library") not found
I tried to install mfc140u via Winetrichs GUI using 'Install a Windows DLL or component' option but it seems not to be listed anywhere on the list of the available packages. Does anyone know how to make it available?
Make sure you are using the most up-to-date version of Wine (currently Wine 4). You can check by running:
wine --version
If you need to upgrade Wine, check out the instructions here.
That dll is a part of Visual C++ redistributable. You'll need to install it so the application will work. Instructions are here.
I don't use Wine, so there could be additional steps, but in the interest of helping:
I believe you need the appropriate version of the VC++ redistributable (Visual Studio C++ runtime). You need to install the version that the application you try to run was compiled with. Just start with the latest one and install and then install older versions if need be. MSDN Forums.
Download
vc_redist.x64.exe
from
https://www.microsoft.com/en-us/download/details.aspx?id=48145
from console run
wine uninstaller
uninstall any existing runtime version, then select "install" and browse for the vc_redist.x64.exe file, accept. Execute your Windows appplication
I wanted to use Visual Studio Code for HaxeFlixel development and the Haxe extension noted that I needed Haxe 3.4.0. I went ahead and downloaded the new installer from the website and installed it on my laptop running Windows 10. However after installing it turned out that calling 'haxelib version' in the command prompt it still returned 3.3.0.
I tried rebooting. Uninstalling then rebooting and installing again. I could find nothing in the system environmental variables that could cause it. Tried updating the Haxe on my Desktop, and had the same issue. Which is running windows 8.1 on it.
Does someone know what might be the cause? Thank you for your time in advance.
To check the Haxe version, use haxe -version. haxelib is a separate application and can have a version number that's different from the compiler's version.
Haxelib 3.3.0 appears to be the version shipped with Haxe 3.4.0-rc.1.
I tried to install the latest version of kde editor kate, but nothing changed.
I took the source code: git clone git://anongit.kde.org/kate;
I followed http://kate-editor.org/get-it/'s instructions;
Now, when I run ~/kde/usr/bin/kate-v is the same version that was:
$ ~/kde/usr/bin/kate -v
Qt: 4.8.6
Plataforma de desenvolvimento KDE: 4.14.1
Kate: 3.14.1
How I do to install the lastest version?
Grateful
First of all: the version in the About dialog is built from the KDE version, so it does not all reflect whether you are running a self-compiled one or not. Second, you should run Kate with all environment variables properly set - just running the executable will probably load the wrong ktexteditor.so library.
The easiest way to get Kate5 is to install a distribution that ships Kate5 (probably along with Plasma 5).
If you already have a KDE Frameworks 5 (KF5) environment available, then you can also build Kate5 from sources by following the build instructions. These were updated in June 2015.
If you are still on KDE 4.x and you have no KDE Frameworks 5 packages installed, then you also need to build KDE Frameworks 5 from sources. In this case, you have to follow the KF5 build instructions. If you've questions, feel free to ask on kde-frameworks-devel#kde.org and/or on the Kate mailing list.
I'm installing HaxeFlixel by the Getting Started guide (http://haxeflixel.com/documentation/getting-started/).
When I type haxelib install lime, it return:
You already have lime version 1.0.1 installed
[file_contents,C:\Program Files\Stencyl\plaf\haxe\lib/lime/.current]
and nothing happened.
I also uninstalled Stencyl program but it still return that although the C:\Program Files\Stencyl\... doesn't exist.
I would like to say that in comment but have not enougth reputation...
You can try haxelib path lime to see the path where is lime.
If it's tell you that it's already in your computer then this should already work.
You can also, check your haxelib path, by typing haxelib config this will tell you the directory setup for the libraries.
But you can also do haxelib remove lime, to remove the previous version of lime on your computer. And then try to reinstall it. Like that, you are starting with a brand new lime installation.
I found out an file in the folder C:\Users\YourUserHere.haxelib delete it and you should be good to go.
I went to http://www.openfl.org/archive/download/ and followed the steps for a really basic first test:
haxelib install lime
haxelib run lime setup
lime install openfl
lime create openfl:DisplayingABitmap
When I try to run it with:
cd DisplayingABitmap
lime test neko
I get:
Export/windows/neko/haxe/ApplicationMain.hx:1: characters 7-20 : Class not found : openfl.Assets
I haven't done anything before with Haxe or OpenFL so this is a fresh install. Anybody can guess what's going on? It doesn't seem to be seeing the contents of the openfl library, though it can perfectly generate the project.
(update: I tried the exact same on a Mac and it worked perfectly, so I think the problem has something to do with Windows)
Try to follow the steps at http://www.openfl.org/documentation/setup/install-haxe/ and reinstall the latest openfl, the contents under "archive" folder are mostly outdated.