I am trying to build NServiceBus 4.6.3 (which I just downloaded from https://github.com/Particular/NServiceBus/tree/4.6.3).
So according to the build instruction from README.md it is enough to compile the solution in Visual Studio.
However I receive a huge bunch of errors.
Some of them:
'App_Packages\Particular.Licensing\License.cs' could not be found
'App_Packages\Particular.Licensing\LicenseDeserializer.cs' could not be found
'App_Packages\Particular.Licensing\LicenseExpirationChecker.cs' could not be found
'App_Packages\Particular.Licensing\LicenseVerifier.cs' could not be found
'App_Packages\Particular.Licensing\RegistryLicenseStore.cs' could not be found
'App_Packages\Particular.Licensing\ReleaseDateReader.cs' could not be found
'App_Packages\Particular.Licensing\TrialStartDateStore.cs' could not be found
'App_Packages\Particular.Licensing\UniversalDateParser.cs' could not be found
'App_Packages\Particular.Licensing\UserSidChecker.cs' could not be found
And another:
The type or namespace name 'ObsoleteExAttribute' could not be found (are you missing a using directive or an assembly reference?)
c:\dev\ESB\NSB\NSB-4.6.3\src\NServiceBus\IBus.cs 228 10 NServiceBus
I was trying to find ObsoleteExAttribute class but with no success. Where should I get it from?
Am I supposed to acquire the above files somehow separately? Why this is not mentioned anywhere in the NServiceBus documentation?
I partially solved the issue with package monitor, by installing "Obsolete.Fody" package.
Now the ObsoleteExAttribute is recognized. However other errors persist...
Related
I have problems building an executable file for a simple disease-transmission model implemented in C++, using cmake under macOS Monterey (v12.6.1). When I build the executable file, I obtain the following error when I try running it:
dyld[5281]: symbol not found in flat namespace (_cblas_caxpy) Abort trap: 6
The problem persists when I try to use XCode (v14.0.1) instead, resulting in the same error message.
Interestingly, my friend is able to build (& run) the executable file under macOS v10.15.7 without any problems.
Does anybody know what is going on here and how this issue can be resolved? The C++ project is publicly available on GitHub: https://github.com/AnnaMariaL/DengueSim
Any help would be very much appreciated.
Thanks!
Anna
tried: build an executable file with cmake, and Xcode under MacOS v12.16.1
expected: executable file
the program runs fine when launched under Xcode itself, but if I try to run the built executable from Xcode on the command line, that fails with the same error as for the CMake executable. So Xcode itself is, somehow, magically able to get this linker issue to resolve.
Your title/post is very confusing, however the issue isn't with cmake. It's with your cblas library and/or your linker. Look at the bug closely:
dyld[5281]: symbol not found in flat namespace (_cblas_caxpy) Abort trap: 6
Your linker is telling you that it can't find a function (symbol) in the given namespace. This is either due to the fact that your linker doesn't know where to find the correct library or you are linking against a wrong version of the library that doesn't have the symbols. The other issues might be related to how the library was built and with what it was built (architecture, compiler, etc...). This we can't answer because we don't have enough information to know for sure.
Today, I tried creating a new project. It gave me the following issue:
"CS0246 The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?"
I reinstalled VS2017 and Xamarin. It did not install the NDK, so I downloaded it and installed it. I'm not sure what else to do.
[1] https://imgur.com/a/P1jGz8u "reference"
I don't know if anyone else is having this issue as of 8-13-18, but the way I solved it was adding the project reference again.
When building the Windows C++ version of quantlib 1.9.1, I get this error of missing payoffs.hpp. When I browse to the directories, I see payoffs.cpp, but not payoffs.hpp:
Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: 'ql/instruments/payoffs.hpp': No such file or directory FittedBondCurve c:\users\administrator\google drive\quantlib-1.9.1\ql\cashflows\conundrumpricer.hpp 27
I also get this for #include <ql/instruments/swap.hpp> [and possibly others]. I am able to build the windows quantlib library ok. Just not the examples.
I just checked the QuantLib 1.9.1 release available from the project downloads (did you get your version from there?) and the files you're looking for are contained in the release zip and tarball. Also, it's pretty weird that you could compile the library without them, so I'd double check if they're there. If they really aren't—well, hard to know how they got displaced; anyway, you can download the release again and replace them. If that doesn't fix the problem (or if they're already there after all), it's possible that you have to fix the include path for the example you're trying to compile. Does it include the QuantLib directory?
I am trying to work with libssh2 libraries in VS2010. I am getting a weird error of LNK1104: cannot open file 'libssh2d.lib'. I have clearly included the libraries in the Project Properties->Linker->General->Additional Library Directories.
There are couple of other additional libraries with the one above, and they get included without an issue except this.
Also the Linker->Input->Additional Dependencies has that file name 'libssh2d.lib' specified in it.
Any inputs as to why am I still seeing that error? Thanks.
I just needed to add "libssh2d.lib":
Linker->Input->Additional Dependencies.
Also "Debug_lib" was added in:
Linker->General->Additional Library Directories
This resolved the issue.
I'm working with NopCommerce 2.60, and suddenly I'm getting this error when I run the project
NuGet Package restore failed for project Nop.Plugin.ExternalAuth.Facebook: Unable to find version '2.0.21' of package 'LinqToFacebook'..
I tried to restore the package by NuGet but got the same error and the wired thing is that I cannot find even the reference to LinqToFacebook in project "Reference", also search for the LinqToFacebook.dll in package folder but is not there.
Any help would be great
Best regards.
Find the package.config inside Facebook Plugin and remove or comment the reference to LinqToFacebook
that solved the error thwon by Visual Studio
I'm getting the same error, and I'm trying to upgrade version 2.65 of nopCommerce to version 2.7. We also have version 2.65 deployed on a public server, and I don't have any LinqToFacebook.dll in our bin folder. I can find no evidence of any LinqToFacebook NuGet package either, so I'm thinking that this .dll was once required by older versions of NopCommerce and is no longer available. My solution is to comment out the line in the package.config file and move on. Later versions of nopCommerce do not require this .dll.