ANN Library problems in Fedora [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Have you had success installing ANN recently? (http://www.cs.umd.edu/~mount/ANN/)
In my computer and using the latest version available on the website, I seem to be able to install it from running make. But I can't correctly compile a program that uses it. According to the official manual you just have to compile with g++ a.cpp -Iann/include -Lann/lib -lANN but my compiler returns:
fatal error: ANN/ANN.h: No such file or directory
Has anybody been able to install it in Fedora or other linux system? Or do you have any idea of how to get it to work?
Thanks!

I just managed to solve it by changing "ann" by the path to the library root directory in "g++ a.cpp -Iann/include -Lann/lib -lANN".

Related

Could anyone help me to install Intel package fortran in Mac OS Catalina? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have downloaded the installation file from the link below but after finishing installation I am not seeing anything to open the application.
https://software.intel.com/en-us/fortran-compilers/choose-download
There isn't "something to open the application". You can use the compiler from a terminal or from Xcode. Instructions are at https://software.intel.com/en-us/get-started-with-fortran-compiler-macos , but in the spirit of StackOverflow I excerpt some of them here:
Before you can use this tool, you must first set the environment variables by sourcing the environment script using the initialization utility to initialize all the tools in one step:
From a terminal session, run:
source <install_dir>/bin/compilervars.sh intel64
where <install_dir> is the directory structure containing the compiler /bin directory.
By default, the path for <install_dir> isopt/intel/compilers_and_libraries_2020.<update number>.<packages number>/mac
...
Use the command below to invoke the compiler from the command line.
ifort helloworld.f90
If you want to use Xcode, see the link above for details. Keep in mind that Xcode integration is only partial - it doesn't understand module dependencies and you can't use the debugger from within Xcode.

Can i have both cygwin and mingw in my computer, [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am having windows64x operating system, by installing both mingw and cygwin in same computer, will it make any conflicts between these compilers??
You can do it. I have them both installed on my windows machine. Cygwin #
C:\cygwin64
and MinGW #
c:\MinGW\
I use Cygwin to execute bash scripts from within the command console and mingw/msyst as a build toolchain for several projects.

Error while loading shared libraries: libGLEW.so.1.10: cannot open shared object file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I'm trying to work on an OpenGL project at home on my Linux PC.
I got this error when launching my OpenGL project with "./executable"
I have already installed libglew-dev package, and also I can't find the file "libGLEW.so.1.10" in my directories.
I don't know how I could install it in the right place.
The dev package provides headers and source for you to, well, develop with.
Now, on the target machine, you need to install the normal package that provides the shared libraries.
The Ubuntu package list has some candidates: from your question it looks like you're using v1.10, so libglew1.10.
The documentation has some ways to do it manually without a package manager.

Why am I getting "No manual entry for gcc" [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
When I enter:
man gcc
I get "No manual entry for gcc". The same thing happens with g++. Why am I getting this and how can I fix it?
I have both gcc and g++ but it just doesn't seem to work when I use it on the Cygwin terminal. I'm on Windows.
You don't have the help files (aka man pages) for gcc or g++ installed in cygwin. You need to re-run the cygwin setup*.exe and select it to be installed. I'm not sure which package it is though.

CPU Miner Compilation on Windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Improve this question
I want to compile this C++ project on windows using MinGW and MSYS
Project link: CPU Miner
Source tarball: CPU Miner.tar.gz
In the README file, it's says that i've to:
* Make sure you have mstcpip.h in MinGW\include
* Make sure you have libcurl.m4 in MinGW\share\aclocal
* Make sure you have curl-config in MinGW\bin
No one of this files is in the right place in my computer, and i don't know where i can find theme.
Can you give me a detailed instruction to how compile it ? (i'm a newbie)
The answer is right there in the README file you're quoting from...
Basic Windows build instructions, using MinGW:
Install MinGW and the MSYS Developer Tool Kit (http://www.mingw.org/)
* Make sure you have mstcpip.h in MinGW\include
If using MinGW-w64, install pthreads-w64
Install libcurl devel (http://curl.haxx.se/download.html)
* Make sure you have libcurl.m4 in MinGW\share\aclocal
* Make sure you have curl-config in MinGW\bin
In the MSYS shell, run:
./autogen.sh # only needed if building from git repo
LIBCURL="-lcurldll" ./configure CFLAGS="-O3"
make
Doesn't really get more detailed than that.