When I use msbuild I get the following error:
CS2001 Source file could not be found.
I have noticed the only files that I get this error for are used as a linked reference to the file, so this could be the issue. Any idea's how to get them to build?
I should add that I am able to build the solution in visual studio without a problem.
Hi everyone! Just want to let anyone who cares know what the problem was. It was a length issue as I stated in my comment. I changed the path to just my c drive and everything built fine. Thanks to everyone who took the time to look at this for me. I appreciate it.
Just want to let anyone who cares know what the problem was. It was a length issue as I stated in my comment. I changed the path to just my c drive and everything built fine. Thanks to everyone who took the time to look at this for me. I appreciate it.
Related
I'm on Archlinux trying to flash a Nucleo STM32F446 board using STM32CubeIDE.
While running an example code (correctly build without problem), i get this error :
The quite not fun fact is that the command "arm-none-eabi-gdb --version" works well when i launch it on terminal.
And the same way, the file "libncurses.so.5" is linked in /usr/lib/libncurses.so.5 :
well, i'm lost here. i don't know what more to do. Even if i already checked a few forums, i know i'm not the only one with this issue.
Thanks for your help !
Well, kinda figured it out,
an AUR package can solve the problem : ncurses5-compat-libs
https://aur.archlinux.org/packages/ncurses5-compat-libs/
Download this package after removing the handmades links helps removing thins error.
Unfortunately, an other error, which seems to come from the code of the package itselfs pops up instead :
But i will create an other topic specifically on this one.
Have a great day, hope it works well for you !
All that shows up when I press Build is this, could someone explain why this is happening and how to fix it? I can't find this problem mentioned anywhere else.
I have the latest version, I haven't tried anything, because I honestly don't know what I can do to try to fix this. I can't find anyone else with the same problem. I have another project that can compile perfectly fine, and it was made in the exact way I made this one, so I can't figure out why this is happening.
I know this issue has been discussed here before. But after I followed the suggestions and added the paths via Visual Studio, I'm still stuck:
In VS, I have:
Additional Include Directories: C:\local\boost_1_58_0
Additional Library Directories: C:\local\boost_1_58_0\libs
When I built QuantLib within VS, I could see C:\local\boost_1_58_0 is among the included paths. I can also see the valid config.hpp file in C:\local\boost_1_58_0\boost and unit_test.hpp in C:\local\boost_1_58_0\boost\test. Nevertheless I still got the C1083 error.
Have been stuck for 2+ days, I'm puzzled how to get around this. Any advice?
Thanks much in advance!
Follow the official instructions at http://quantlib.org/install/vc10.shtml. In VS 10 and beyond, include and library paths are set through the Property Manager. Steps 5 and 6 in the instructions linked above describe the procedure. You might want to exit and restart the IDE to make sure that the changes are saved.
For anyone else looking for the location of Property Manager and using VS2015 - I found it on the fourth tab at the bottom of the Solution Explorer pane, please see image attached. enter image description here
I'm trying to include the xmppframework in my xcode project however I've come to a problem. I get the following error when trying to compile:
Path 'Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/usr/lib/lixml2.dylib following -F not a directory
Library not found for -lidn
I have followed the instructions to setup xmppframework from here and followed these instructions to make sure all the paths are correct, however I'm still getting the error.
I've checked the file path and it's definitely there..
Is there any other reason for this error? Many thanks
Finally fixed it after 3 days..
My advice to anyone else coming across this problem is to load up one of the example projects and compare the build settings on each! Ended up that my Library Search Paths was wrong.
I'm implementing ObjectiveFlickr into my project and I'm very VERY new to all of this (C language and Xcode included).
I managed to fix a few compile errors and I'm down to this one that just popped up after I added some supporting files to get rid of the other errors:
systemconfiguration/systemconfiguration.h file not found
I have no idea what this means and have done much searching online before posting here, but the only resolution to another poster's issue was to re-install Xcode. I'm sort of doubting that will solve this problem as I've had no issue with Xcode up until this error.
Can anyone spare a tip or two in layman's terms to help me get past this? I've been searching for 24 hours and the only link to the Apple Developer forums isn't working, go figure.
Any help is appreciated. Thanks in advance.
XCode can be very picky about where to look at in terms of header files.
If you got yourself a .framework folder, then click in your project, choose "Build Settings", then look for one called "Header Search Paths". Put the framework's path in there, and change the box on the right from "non-recursive" to "recursive". This should get the build going, and works for almost all third-party libraries.
If, on the other hand, you're trying to compile the library with your app, double-check to see if you didn't forgot to include some file in your XCode project, or if it is not marked for compilation in the project settings (.h files do not count, but maybe the source of your problem are some extra .c or .m that shouldn't be there).
If all else fails, since XCode projects compile into a "flat" directory tree, you could try removing the folder indicator from the #include: from "systemconfiguration/systemconfiguration.h" to "systemconfiguration.h", from the files where the .h is called. This worked in some cases of mine.
There is a framework in iOS called "Systemconfiguration.framework". Add it may help a lot.
Hope this may help you.
I had blanks for some reason in my code around the header decaration
#import < SystemConfiguration/SystemConfiguration.h >
I removed them and it worked.