balashiha
02-28-2008, 04:15 PM
Hello,
I am having difficulty compiling the off-the CD program vegas in C++.
I have the includes
#include "nr3.h"
#include "vegas.h"
but the compiler complains bitterly. Any advice on necessary modifications is appreciated.
Ilia
[C++ Error] vegas.h(12): E2141 Declaration syntax error
[C++ Error] vegas.h(49): E2268 Call to undefined function 'rebin'
[C++ Warning] vegas.h(49): W8074 Structure passed by value
[C++ Warning] vegas.h(49): W8074 Structure passed by value
[C++ Warning] vegas.h(49): W8074 Structure passed by value
[C++ Error] vegas.h(81): E2451 Undefined symbol 'ran_vegas'
[C++ Warning] vegas.h(170): W8074 Structure passed by value
[C++ Warning] vegas.h(170): W8074 Structure passed by value
[C++ Warning] vegas.h(170): W8074 Structure passed by value
[C++ Warning] vegas.h(173): W8004 'Ran' is assigned a value that is never used
[C++ Warning] vegas.h(173): W8004 'RANSEED' is assigned a value that is never used
[C++ Warning] main.cpp(20): W8057 Parameter 'wgt' is never used
I am having difficulty compiling the off-the CD program vegas in C++.
I have the includes
#include "nr3.h"
#include "vegas.h"
but the compiler complains bitterly. Any advice on necessary modifications is appreciated.
Ilia
[C++ Error] vegas.h(12): E2141 Declaration syntax error
[C++ Error] vegas.h(49): E2268 Call to undefined function 'rebin'
[C++ Warning] vegas.h(49): W8074 Structure passed by value
[C++ Warning] vegas.h(49): W8074 Structure passed by value
[C++ Warning] vegas.h(49): W8074 Structure passed by value
[C++ Error] vegas.h(81): E2451 Undefined symbol 'ran_vegas'
[C++ Warning] vegas.h(170): W8074 Structure passed by value
[C++ Warning] vegas.h(170): W8074 Structure passed by value
[C++ Warning] vegas.h(170): W8074 Structure passed by value
[C++ Warning] vegas.h(173): W8004 'Ran' is assigned a value that is never used
[C++ Warning] vegas.h(173): W8004 'RANSEED' is assigned a value that is never used
[C++ Warning] main.cpp(20): W8057 Parameter 'wgt' is never used