VineCopulaMatlab icon indicating copy to clipboard operation
VineCopulaMatlab copied to clipboard

make error: 'PathSeed' was not declared in this scope

Open magnific0 opened this issue 9 years ago • 1 comments

I get the following error when I run make. I got the source by cloning the github repository.

make -C src
make[1]: Entering directory 'VineCopulaMatlab/src'
g++ -I/usr/lib/include -I/usr/lib SetSeed.cpp -o SetSeed
SetSeed.cpp: In function 'int main()':
SetSeed.cpp:8:20: error: 'PathSeed' was not declared in this scope
   std::ofstream fo(PathSeed, 
                    ^
Makefile:58: recipe for target 'SetSeed' failed
make[1]: *** [SetSeed] Error 1
make[1]: Leaving directory 'VineCopulaMatlab/src'
Makefile:71: recipe for target 'CompileLibrary' failed
make: *** [CompileLibrary] Error 2

I have installed the boost and nlopt libraries. Some more info on my system

  • boost 1.58.0-2
  • nlopt 2.4.2-1
  • gcc version 5.1.0 (GCC)
  • Linux 4.0.5-1-ARCH

I'm looking forward to using your package, it seems very capable!

Thanks!

magnific0 avatar Jun 25 '15 08:06 magnific0

Hi,

thanks for the feedback!

I just updated several thinks in the last days (in the repo as well as in the submodule it depends on). Especially I removed the dependency on the absolute path saved in PathSeed, which caused trouble for you. Maybe there was some time where the two parts (VineCopulaMatlab and VineCopulaCPP) haven't been coordinated appropriately. So please give it another try after the updates.

Note, that the folder src is the submodule hosted in the GitHub repo https://github.com/MalteKurz/VineCopulaCPP. So please don't forget to update/pull both the VineCopulaMatlab repo itself and the submodule VineCopulaCPP in /src.

Please let me know whether the make file is now working for you after the updates, such that I know whether I can close this issue.

Thanks, Malte

MalteKurz avatar Jun 28 '15 10:06 MalteKurz