I am using Dev-C++ and downloaded curlpp from
here
When I try to compile the included example (file example00.cpp, directory examples) Dev-C++ throw me the error I have written in the title.
I looked for this file in my system, but it seems it doesn´t even exists :P
Related
I am trying to compile a fortran program with the gnu make utility. In my program, I define a dependency to the fftw library with include 'fftw3-mpi.f03'. When I try to compile it with make <program_name>, I get the error Error: Can't open included file 'fftw3-mpi.f03' for this particular statement.
I have already tried adding the include directory at runtime as following:
make spectral -I/<path_to_my_fftw>/include/
where /<path_to_my_fftw>/include/ contains the missing fftw3-mpi.f03 file, but I still keep getting the same error.
I have another computer with a preinstalled fftw, and running make <program_name> on this computer on the exact same directory works with no problem. The makefile also does not contain any path to this file, and the result of printenv | grep fftw is also empty even though the path to fftw on the working computer contains the string fftw.
How can I effectively debug this problem to make it work on the other computer with my own fftw installation?
The error
(Qt6Widgets.dll: cannot open shared object file: No such file or directory)
seems to appear when I manually try to compile the .exe in the cmakebuild directory.
When I try to compile in Clion I get this error:
Process finished with exit code -1073741515
(0xC0000135)
I check the installation folder for Qt and the Qt6Widgets.dll exists.
I also try to compile in another computer and it works, I also install all the applications that i needed Qt and Clion and that doesn't change anything. (I'm on Windows 10)
I just entirely reload the project and copy paste everything in the new project and it worked.
I had to choose the Console compilation when creating the project, i don't know if there were other options.
I am new to programming and I am trying to use SDL library with Code::Blocks on Windows. I downloaded the Library from : https://www.libsdl.org/download-2.0.php.
I downloaded the files, decompressed and then copied SDL.dll file in
C:\Program Files (x86)\CodeBlocks\MinGW\bin
and then the include and lib files in
C:\Program Files (x86)\CodeBlocks\SDL,
which is a new file I created. However, when I open Code::Blocks, new SDL project and arrive at the step where I am supposed to give the directory where the include and lib files are, once I hit next I get the following error :
The path you entered seems valid but the wizard can't locate the following SDL's library file: SDLmain in it.
Any idea why this might be happening and how I can fix it?
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 have the latest Qt SDK. I'm trying to configure it for static building with VS2010 (dynamic linking works fine) I have it at this location: C:\QtSDK\Desktop\Qt\4.8.0\msvc2010
When I go there with the VS2010 command prompt and try to run configure -static, or configure -static I get some output but in the end it fails with
Generating Makefiles...
WARNING: c:\QtSDK\Desktop\Qt\4.8.0\msvc2010\projects.pro:44: Unable to find file
for inclusion src\src.pro
WARNING: c:\QtSDK\Desktop\Qt\4.8.0\msvc2010\projects.pro:46: Unable to find file
for inclusion doc\doc.pri
Reading C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/tools
Reading C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/translations/translations.pro
Reading C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/examples
Reading C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/demos
Qmake failed, return code 3
Please help
I downloaded the source zip file instead of trying to work with what came in the SDK and it's working now. Just download the source from here, unzip it, and run the configure.exe in the unzipped folder. My guess (although I have inspected this) is that there's missing source files or other resources in the SDK version.