VS2012: xcopy error with cocos2dx - cocos2d-x

I have a solution on VS 2012 that has been building without errors, then out of no where the build started failing with the following error :
Error 106 error MSB3073: The command "if not exist "C:\Workspace\cocos2d-x-2.2.2\tools\project-creator\undefined\proj.win32\Debug.win32\" mkdir "C:\Workspace\cocos2d-x-2.2.2\tools\project-creator\undefined\proj.win32\Debug.win32\"
xcopy /Y /Q "C:\Workspace\cocos2d-x-2.2.2\tools\project-creator\undefined\proj.win32\..\..\..\external\libwebsockets\win32\lib\*.*" "C:\Workspace\cocos2d-x-2.2.2\tools\project-creator\undefined\proj.win32\Debug.win32\"
:VCEnd" exited with code 4. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 129 5 undeifned
This solution is created by Cocos2d-x tool.
How to fix bug ?

The encrypted message mean the folder/files are in use.
I just have the same error a few minutes ago.
Close all the program and reopen.
Reboot if the above failed.

Related

Running Yii2 queue/run in command line causes error on Windows Ampps

I am running Yii2 on Ampps on Windows and I have installed https://github.com/yiisoft/yii2-queue
I am just trying to setup the supplied example but I am unable to even get that working.
What's happening is that when I run
Yii::$app->queue->push(new QueueLeadEmailJob([
'url' => 'https://previews.123rf.com/images/fordzolo/fordzolo1506/fordzolo150600296/41026708-example-white-stamp-text-on-red-backgroud.jpg',
'file' => 'C:\Program Files (x86)\Ampps\www\websitedomain.com\41026708-example-white-stamp-text-on-red-backgroud.jpg',
]));
I am getting the correct value added to the queue table. When I run yii queue/run in the command line I get
2018-09-11 08:36:37 [pid: 4144] - Worker is started
2018-09-11 08:36:37 [3] common\components\queues\QueueLeadEmailJob (attempt: 1, pid: 4144) - Error
> Symfony\Component\Process\Exception\ProcessFailedException: The command "C:\Program Files (x86)\Ampps\php-7.1\php.exe C:\Program Files (x86)\Ampps\www\websitedomain.com\hub\yii queue/exec "3" "300" "1" "4144" --verbose=1 --color=" failed.
2018-09-11 08:36:37 [pid: 4144] - Worker is stopped (0:00:00)
I can see the error but I don't know how to resolve it. I have searched but (obviously) have not found a solution. After running yii queue/run the queue table is cleared so it seems like the queue is working...but no file is downloaded.
I have checked the permissions on the folder and it has write permissions.
Anyone have any ideas?
It looks like this bug. It was already fixed in master, but not released yet. You may use master branch until version 2.1.1 will be released.
composer require yiisoft/yii2-queue:dev-master

Symbol lookup error on Fedora 22 while trying to run Quartus II

I've been trying to start Quartus II on my system (which is a DELL running Fedora 22 64-bit). Now I try to run the binary file in command line and I get hit with this weird error as follow:
[kuma0629#eecad47 bin]$ ./quartus
quartus: symbol lookup error: /lib/libXext.so.6: undefined symbol: _XGetRequest
Now, I googled this problem and seems like libX11 needs to be upgraded. But I'm not sure how to do this for Fedora in particular because there's not much support online.
How do I go about fixing this problem?

clang++ Error when compiling the Minko engine SDK for HTML 5

I have followed all steps mentioned in Compiling the SDK for HTML5 to compile the Minko framework to HTML5.
When I run the batch file build_html5.bat, i have this error
000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
clang++.exe: error: clang frontend command failed with exit code 255 (use -v to see invocation)
ERROR root: compiler frontend failed to generate LLVM bitcode, halting
mingw32-make1: *** [obj/html5/release/Picking.o] Error 1
mingw32-make: *** [minko-framework] Error 2
Here is my Emscripten conf :
LLVM_ROOT='C:/Program Files/Emscripten/clang/e1.30.0_64bit'
EMSCRIPTEN_NATIVE_OPTIMIZER='C:/Program
Files/Emscripten/clang/e1.30.0_64bit/optimizer.exe'
NODE_JS='C:/Program Files/Emscripten/node/0.12.2_64bit/node.exe'
PYTHON='C:/Program Files/Emscripten/python/2.7.5.3_64bit/python.exe'
EMSCRIPTEN_ROOT='C:/Program Files/Emscripten/emscripten/1.30.0'
MINGW_ROOT='C:/Program Files/Emscripten/mingw/4.6.2_32bit'
JAVA='C:/Program Files/Emscripten/java/7.45_64bit/bin/java.exe'
Im on windows 7 64 bit.
Anyone know what causes this error and how can I resolve it?
This is a known problem with Emscripten 1.30, it should be resolved in future versions. For the moment, stick to Emscripten 1.29.

MySQL silent install fails

I am trying to install mysql-installer-community-5.6.20.0.msi through batch file.
In the first step I try to unpack the manifest which gives me access to installer console. Passive install works alright however, if I try to install it quietly the batch file exits without unpacking the manifest.
Here is the 1st step batch file code:
#echo off
color 0a
cls
echo ==========================================
echo MySQL Server - Installation - v.11/02/2015
echo ==========================================
echo .
echo .
rem ------------------------------------------------
echo Installing MySQL (This may take a few minutes)
msiexec /i mysql-installer-community-5.6.20.0.msi /q /norestart /L*v "mysql-installer-community-5.6.20.0.msi.log"
echo Done.
Do anyone have a way around this error?
/q may be raising an error since it's the the first character of user interface level options (/qn for example). Try using the full quiet option, /quiet
Finally found the solution, found out that the log file was showing 1729 and the next line showed configuration failed message.
Searching for error code 1729 in MySQL error codes. I found
Error: 1729 SQLSTATE: HY000 (ER_NO_SUCH_PARTITION)
Message: partition '%s' doesn't exist
Figured it may be as cmd was launching from System32. Adding %~dp0 (current directory) solved the issue.
I hope this may help others.

Too many initializers for symbol

I am trying to run the MIT project CryptoDB. I have downloaded it and I have followed the instructions to compile as it is explained in the included instructions, for mysql-proxy and mysql version 5.5.14. I am using a RedHat Enterprise 6 server.
When I get to the point of running the make command i get this error:
Building CXX object sql/CMakeFiles/sql.dir/sql_lex.cc.o
In file included from /soft/mysql-5.5.14/build/sql/lex_hash.h:25,
from /soft/mysql-5.5.14/sql/sql_lex.cc:113:
/soft/mysql-5.5.14/sql/lex.h:193: error: ‘ENC_SYM’ was not declared in this scope
/soft/mysql-5.5.14/sql/lex.h:623: error: too many initializers for ‘SYMBOL’
make[2]: *** [sql/CMakeFiles/sql.dir/sql_lex.cc.o] Error 1
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
I am quite lost as I cannot find if there is a missing library or any kind of incompatbility on what I am using. Any ideas?
Even i have not finished installation now I now that the problem comes from not having the last version of the code. By getting it with the following command:
git clone -b public git://g.csail.mit.edu/cryptdb
I get to execute an instalation script in ruby that performs the work.
The script is not writen especifically for Redhat, so I am having some work adapting some commands (apt-get => yum).