MDB Error Element not present in library. There is MDBCarouselInner element which is not in library - mdbootstrap

it says MDBCarouselInner is not in mdb-react-ui-kit. Why is this a problem?? I am getting code straight from MDB website and it says MDBCarouselInner is not in mdb-react-ui-kit package!!!!

Related

How to Successfully Build the Open Source Apple Chess Game in XCode

I am trying to download and run the source code of a previous version of the Apple macOS chess game (preferably in the 369-408 version range) using XCode 14.1.
The game is written in Objective-C and interfaces with a chess engine called "sjeng" that is written in C. (Correct me if I'm wrong).
I have already navigated some preliminary stumbling blocks (which you may want to follow to duplicate if you'd like to give this a try):
Downloading the source code in the first place.
[ The next four steps come from here ]
Commenting out the "#include..." line from the Chess.xcconfig file.
Removing the com.apple.private.tcc.allow entitlement from the Chess.entitlements file.
Getting my provisioning profile set up for the X-Code project (this is straight-forward as long as you already have a developer profile).
Changing the bundle identifier from "com.apple..." to something random.
Resolving "Implicit declaration of function is invalid in C99" compile-time errors related to the C code within the sjeng chess engine. This question helped with that.
But now I am stuck on the next and hopefully final step which is this is the build error:
./build-book normal nbook.pgn
+ test -z ''
+ SJENG=/Users/classified/Library/Developer/Xcode/DerivedData/MBChess-frynfmbcfskhcfdlqxxctvlldmnm/Build/Products/Development/sjeng.ChessEngine
+ cat
+ /Users/classified/Library/Developer/Xcode/DerivedData/MBChess-frynfmbcfskhcfdlqxxctvlldmnm/Build/Products/Development/sjeng.ChessEngine
./build-book: line 21: /Users/classified/Library/Developer/Xcode/DerivedData/MBChess-frynfmbcfskhcfdlqxxctvlldmnm/Build/Products/Development/sjeng.ChessEngine: No such file or directory
make: *** [nbook.db] Error 1
Command ExternalBuildToolExecution failed with a nonzero exit code
I have no clue what this stage of the build process pertains to.
I have verified in the Finder that the directory in the error message does indeed not exist.
I tried "Cleaning the Build Folder" in XCode and building again, but same result.
Can anyone get the game actually running (from source) on macOS and describe the steps required to get there?
Here is how it worked for me:
Download the project from here (build tag 408);
Unarchive the project and open MBChess.xcodeproj file with Xcode;
Open MBChess target and do as follows:
Change Bundle Identifier to something more relevant to you
Enable "Automatically manage signing" flag
Choose your Apple Developer team OR choose any personal team
(Optional) If you chose a personal team, don't forget to remove incompatible entitlements from here (Game Center)
Remove Chess.xcconfig file from Project Navigator:
Find Chess.entitelements file and remove com.apple.private.tcc.allow array from it:
Select sjeng target and build it first
Select MBChess target and build it for the same platform
At this point the app should build successfully (I was using macOS Ventura 13.0.1 (22A400) as the target platform with Xcode Version 14.1 (14B47b))

Unable to load dynamic library php_sqlsrv_73_nts_x86.dll is not a valid Win32 application

So I install php_sqlsrv_73_nts_x86.dll and php_pdo_sqlsrv_73_nts_x86.dll into my ext folder and add the following line to my php.ini:
extension=php_sqlsrv_73_nts_x86.dll
extension=php_pdo_sqlsrv_73_nts_x86.dll
I get this warning on every php script I run:
Unable to load dynamic library 'php_sqlsrv_73_nts_x86' (tried: C:\xampp\php\ext\php_sqlsrv_73_nts_x86 (%1 is not a valid Win32 application.)
PHP Startup: Unable to load dynamic library 'php_pdo_sqlsrv_73_nts_x86' (tried: C:\xampp\php\ext\php_pdo_sqlsrv_73_nts_x86 (%1 is not a valid Win32 application.)
What am I doing wrong?
Some additional info;
PHP Version = 7.3.2,
System = Windows 10,
Architecture = x86,
And I have referred to this Unable to load dynamic library php_sqlsrv_7_nts.dll is not a valid Win32 application but it didnt help me
Edit 1, I have tried removing the _x86 tag in my extension as well, but that did not help me at all.
So after tinkering with this for a few hours, I found out that by reinstalling a 64bit XAMPP and using php_sqlsrv_73_nts_x64.dll and php_pdo_sqlsrv_73_nts_x64.dll worked for me. Im not sure as to why, but I guess that's a solution for now.
i use like you and i also have errors
but when use ts version like :
php_sqlsrv_73_ts_x64.dll and php_pdo_sqlsrv_73_ts_x64.dl
and i have not any error.

how to Step through Catel code while debugging ?

After adding Catel implementation to one of my views(mainPage) in my project I have a bug that crashes my Silverlight project. The only indication I have is :" A first chance exception of type 'System.NullReferenceException' occurred in Catel.MVVM " (just about after setting the RootVisual~) - I can't find what I'm doing wrong, and since I am planing on a long-term relationship with Catel I thought that stepping through Catel code might come in handy, so I tried and failed in all the following steps (any help will be appreciated.. because currently I'm stuck and can't find anything):
downloaded catel 3.9 source files (same as my nuget package) and tried building it.. failed with this error :
E:\Dev\Catel-3.9.0\src\Catel.Core\Catel.Core.SL5\Fody.targets(51,5): error MSB4036: The "Fody.WeavingTask" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with in the project file, or in the *.tasks files located in the "E:\WINDOWS\Microsoft.NET\Framework\v4.0.30319" directory. - trying to search and figure the reasons and overcome this, lead me to nowhere. :(
i have followed this "Stepping through the code" instruction in Catel documentation but noting really happened (I'm using VS2010..is this an issue ?? )
I read this article & readme.md at : https://github.com/GeertvanHorrik/GitHubLink about using GitHubLink to help you stepping through Catel code while debugging. I downloaded the release GitHubLink 1.3.0 from https://github.com/GeertvanHorrik/GitHubLink/releases/tag/1.3.0 ... but running this even with just the githublink.exe -help flag had thrown a exception..
I downloaded the Githublink-master source files but 0 projects were loaded (the GithubLink project file is incompatible with the current version of VS - I'm using VS2010)
can anyone help me either shade some light or:
overcome the build error I receive for catel (no.1)
instruct me how to set & step into catel ?
share the pdb files for Catel libs
It completely depends on the version you are using. If you are using the latest official one (3.9), stepping through the code is only possible by cloning the master branch and building the PDB files yourself.
In the latest prerelease versions via NuGet (the upcoming 4.0 version) you only have to enable the source server checkbox.
Note that you should never have to use GitHubLink yourself, that is for developers only (we run it during the build of Catel).
About the Fody task: it looks like the NuGet packages have not yet been restored on your side. In the lib folder there is a RestorePackages.bat which you can run to restore the packages.
I tried debugging on VS2012 and using Catel 4 pre-release (from Nuget)..
although I believe I did all the right things & settings in VS, I didnt get much further..
So I Opened (using a bin editor) the pdb file that was pulled by Nuget with the DLL, and took a look at the bin file.
the file have strings pointing to the source files at this directory :
C:\ci_ws\WS\1629\source\catel\src\catel/mvvm\catel.mvvm.shared..
So I have created a tree that starts with
c:\ci_ws\ws\1629\source
and downloaded the catel folder to that dir, renamed it from
"Catel-Develop" to just "Catel" in order to feet the location the pdb pointed.
To get things going I also had to add a "Symbol File(.pdb) location" in VS
option-> settings->Debugging->Symbols..(location/server list) to where the nuget download the packages.
in my case.. SolutionFolder\Packages\Catel.MVVM.3.9.0.1406062245-beta\lib\sl50..(I'm using Silverlight)
and then I was able to load the symbols and step/break into the code successfully ..
Maybe I missing something and there is a better way, but this the only way that worked for me..
The only question that still remains for me now is : What is the name of the Catel Github source branch that is matching the pre-release dll and pdb that Nuget is publishing at the moment (3.9.0.1406062245) ?
(I unchecked the general debug settings of : require source files to exactly match the original version)

End of script output before headers Apache 2.4 Error

We have just upgraded to Apache 2.4 from 2.2 and our fastcgi apps are now causing the error message 'End of script output before headers'.
All the apps and libraries, which are all in C, have been recompiled using the latest libraries from fastcgi.com and they worked fine before the upgrade.
Any clues as to the cause of the problem would be appreciated.
The server is Fedora 19
As it turned out the problem was with a shared object file that wasn't of the correct version. For some odd reason that error did not show in the log.
So, question should be closed.
As it turned out the problem was with a shared object file that wasn't of the correct version. For some odd reason that error did not show in the log.

How can I compile a Labview CIN in Visual Studio?

I am trying to compile a labview CIN using visual studio 2003.
I have followed the tutorial located here to the letter, but am getting the following error:
Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step"
Does anyone know what is causing this? I tried this link found at an expert's exchange question but it does not seem relevant.
Is there an easier way to build a CIN using visual studio?
Ok, solved it.
Turns out it's an issue with the lsvbutil.exe bundled with labview 8.5. Workaround is to replace with the version from 8.2
See http://digital.ni.com/public.nsf/allkb/0029165B53320B2886257369005826A1
Please post the entire error. It appears that the custom build step defined in your link does not work.
On the Custom Build Step->General page, type:
"$(CINTOOLS_DIR)\lvsbutil" "$(TargetName)" -d "$(ProjectDir)$(OutDir)"
in the commandline field and type $(OutDir)$(TargetName).lsb in the output field.
Try pasting that into a commandline and running it. I suspect you have not got the env variables set or they are not pointing to the right places.

Resources