CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 1, 2008, 15:07
Default Hi there, I tried running a
  #1
unoder
Guest
 
Posts: n/a
Hi there,

I tried running allwmake in latest OpenFOAM-1.4.1-dev with WM_COMPILE_OPTION=debug environment variable set but get errors and I don't really know what should be wrong here because AFAIR I succeeded in doing this in OpenFOAM 1.2 or 1.3 (long time ago).

I actually think the problem is not big. I think the linker cannot find some things because it says:

Making dependency list for source file xxxxxxxx.C
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume


../../../../i586-suse-linux/bin/ld: cannot find -linterfaceProperties


Hopefully there is a quick and easy answer to this problem?


Regards,
Martin

------------
............. blabla........
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Pe] Error 1
make[2]: *** [Pe] Error 2
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/thermophysicalModels/pdfs/lnInclu de -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/pdfPlot.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lpdf -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/pdfPlo t
make[4]: Nothing to be done for `application'.
Making dependency list for source file Mach.C
SOURCE=Mach.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/thermophysicalModels/basic/lnIncl ude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/Mach.o
Making dependency list for source file postChannel.C
Making dependency list for source file channelIndex.C
SOURCE=postChannel.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/sampling/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/postChannel.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/thermophysicalModels/basic/lnIncl ude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/Mach.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lbasicThermophysicalModels -lspecie -lmeshTools -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Mach
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Mach] Error 1
make[2]: *** [Mach] Error 2
Making dependency list for source file divU.C
SOURCE=divU.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/divU.o
SOURCE=channelIndex.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/sampling/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/channelIndex.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/divU.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/divU
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/divU] Error 1
make[2]: *** [divU] Error 2
Making dependency list for source file magU.C
SOURCE=magU.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/magU.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/sampling/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/postChannel.o Make/linuxGccDPDebug/channelIndex.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lsampling -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/postCh annel
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/postC hannel] Error 1
make[2]: *** [postChannel] Error 2
make[2]: Target `application' not remade because of errors.
make[1]: *** [miscellaneous] Error 2
Making dependency list for source file magGradU.C
SOURCE=magGradU.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/magGradU.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/magU.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/magU
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/magU] Error 1
make[2]: *** [magU] Error 2
Making dependency list for source file Ucomponents.C
SOURCE=Ucomponents.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/Ucomponents.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/magGradU.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/magGra dU
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/magGr adU] Error 1
make[2]: *** [magGradU] Error 2
Making dependency list for source file Lambda2.C
SOURCE=Lambda2.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/Lambda2.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/Ucomponents.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Ucompo nents
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Ucomp onents] Error 1
make[2]: *** [Ucomponents] Error 2
Making dependency list for source file streamFunction.C
SOURCE=streamFunction.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/streamFunction.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/Lambda2.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Lambda 2
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Lambd a2] Error 1
make[2]: *** [Lambda2] Error 2
Making dependency list for source file enstrophy.C
SOURCE=enstrophy.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/enstrophy.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/streamFunction.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/stream Function
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/strea mFunction] Error 1
make[2]: *** [streamFunction] Error 2
Making dependency list for source file uprime.C
SOURCE=uprime.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/uprime.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/enstrophy.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/enstro phy
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/uprime.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/uprime
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/enstr ophy] Error 1
make[2]: *** [enstrophy] Error 2
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/uprim e] Error 1
make[2]: *** [uprime] Error 2
Making dependency list for source file flowType.C
Making dependency list for source file vorticity.C
SOURCE=flowType.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/flowType.o
SOURCE=vorticity.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/vorticity.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/vorticity.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/vortic ity
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/vorti city] Error 1
make[2]: *** [vorticity] Error 2
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/flowType.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/flowTy pe
Making dependency list for source file pPrime2.C
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/flowT ype] Error 1
make[2]: *** [flowType] Error 2
make[2]: Target `application' not remade because of errors.
make[1]: *** [velocityField] Error 2
SOURCE=pPrime2.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/pPrime2.o
Making dependency list for source file R.C
SOURCE=R.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/turbulenceModels -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/R.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/pPrime2.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/pPrime 2
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/pPrim e2] Error 1
make[2]: *** [pPrime2] Error 2
make[2]: Target `application' not remade because of errors.
make[1]: *** [scalarField] Error 2
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
Making dependency list for source file stressComponents.C
SOURCE=stressComponents.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/turbulenceModels -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/stressComponents.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/turbulenceModels -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/R.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lincompressibleTurbulenceModels -lincompressibleTransportModels -lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/R
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/R] Error 1
make[2]: *** [R] Error 2
Making dependency list for source file Rcomponents.C
SOURCE=Rcomponents.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/Rcomponents.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/Rcomponents.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Rcompo nents
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Rcomp onents] Error 1
make[2]: *** [Rcomponents] Error 2
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/turbulenceModels -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/stressComponents.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lincompressibleTurbulenceModels -lincompressibleTransportModels -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/stress Components
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/stres sComponents] Error 1
make[2]: *** [stressComponents] Error 2
Making dependency list for source file sigmaComponents.C
Making dependency list for source file interFoamPressure.C
SOURCE=sigmaComponents.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/sigmaComponents.o
SOURCE=interFoamPressure.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels/incompressible/ln Include -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels/interfaceProperti es/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/interFoamPressure.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/sigmaComponents.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/sigmaC omponents
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/sigma Components] Error 1
make[2]: *** [sigmaComponents] Error 2
Making dependency list for source file solidStress.C
SOURCE=solidStress.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/solvers/stressAnalysis/s tressedFoam -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/solidStress.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels/incompressible/ln Include -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/transportModels/interfaceProperti es/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/interFoamPressure.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-linterfaceProperties -lincompressibleTransportModels -ldynamicFvMesh -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/interF oamPressure
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -linterfaceProperties
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/inter FoamPressure] Error 1
make[2]: *** [interFoamPressure] Error 2
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/solvers/stressAnalysis/s tressedFoam -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPDebug/solidStress.o -L/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug \
-lfiniteVolume -lOpenFOAM -ldl -ggdb3 -DFULLDEBUG -lm -o /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/solidS tress
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/solid Stress] Error 1
make[2]: *** [solidStress] Error 2
make[2]: Target `application' not remade because of errors.
make[1]: *** [stressField] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [postProcessing] Error 2
make: Target `application' not remade because of errors.
+ '[' 0 = 1 -a '' = doc ']'
------------
  Reply With Quote

Old   January 3, 2008, 07:51
Default hmm. I guess I'll have a bette
  #2
unoder
Guest
 
Posts: n/a
hmm. I guess I'll have a better change compiling and linking successfully if I update binutils from 2.16 to 2.18 and gcc/g++ from 4.1.1 to 4.2.2. I suppose this will solve the problem.
  Reply With Quote

Old   January 3, 2008, 17:51
Default hi, ive just been trying to do
  #3
New Member
 
Laurence Griffiths
Join Date: Mar 2009
Location: Bristol, UK
Posts: 18
Rep Power: 17
lgriffiths is on a distinguished road
hi, ive just been trying to do the same thing (compile a debug version), and get a similar error i.e. cannot find -lfiniteVolume

i have the latest O.F.1.4.1 (which worked without the debug) on OpenSuse 10.2

i'd be very interested to know how (or if) you managed to solve the problem, or from anybody else who could shed some light onto it.
lgriffiths is offline   Reply With Quote

Old   January 3, 2008, 18:24
Default Ok, I digged closer around for
  #4
unoder
Guest
 
Posts: n/a
Ok, I digged closer around for a solution in the forum and updated my suse 10.1 system so I now have:

binutils 3.18
bison 2.3
cmake 2.4.7
gcc/g++ 4.2.2
make 3.81
j2sdk1.4.2_16
gdb 6.7.1
qt 4.3.3

Is there anything important I forgot to upgrade, which I should look at?

I also downloaded and installed flex 2.5.34 but since that didnt work I found another post by Jens Klosterman here:

http://www.cfd-online.com/cgi-bin/OpenFOAM_Discus/show.cgi?tpc=126&post=18287#POST182 87

Suggesting to downgrade to flex 2.5.4, which did (this version is ancient - from 1997). This fixed a problem that looked like this with flex 2.5.34:

SOURCE=triSurface/interfaces/GTS/readGTS.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-ca
st -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/s
rc/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/readGTS.o
lex.yy.cc: In member function 'int STLLexer::lex()':
lex.yy.cc:5447: error: 'yy_current_buffer' was not declared in this scope


But now looks like this with flex 2.5.4a:

SOURCE=triSurface/interfaces/OFF/writeOFF.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-c
ast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/
src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/writeOFF.o
In file included from /home/martin/OpenFOAM/linux/gcc-4.2.2/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../. ./include/c++/4.2.2/backward/iostream.h:31,
from /usr/local/include/FlexLexer.h:47,
from Make/linuxGccDPDebug/readSTLASCII.C:234:
/home/martin/OpenFOAM/linux/gcc-4.2.2/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../. ./include/c++/4.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <x> header for the <x.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
lex.yy.cc: In member function 'int STLLexer::lex()':
lex.yy.cc:5468: warning: use of old-style cast

So: Warnings show that something that was deprecated in 1997 is still in the OF code?

Is that right? In general, I would prefer to have flex 2.5.34 installed...

Last problem: I'm not completely done yet. Allwmake stops here:

-----------
In file included from createLagrangianField.C:32:
dxFvMesh.H:141: error: 'DXArray' does not name a type
dxFvMesh.H:144: error: 'DXArray' does not name a type
dxFvMesh.H:147: error: 'DXArray' does not name a type
dxFvMesh.H:150: error: 'DXField' does not name a type
dxFvMesh.H:205: error: 'DXArray' does not name a type
dxFvMesh.H:206: error: 'DXArray' does not name a type
dxFvMesh.H:207: error: 'DXField' does not name a type
dxFvMesh.H:296: error: 'DXField' does not name a type
dxFvMesh.H:319: error: 'Error' does not name a type
createLagrangianField.C:39: error: 'DXField' does not name a type
make[3]: *** [Make/linuxGccDPDebug/foamShowConnections.o] Error 1
SOURCE=featureLines.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/lagrangian/basic/lnInclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/tetDecompositionFiniteElement/lnI nclude -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/meshTools/lnInclude -DFACE_DECOMP -D -I/home/martin/OpenFOAM/linux/dx-4.4.4/dx/include -I/usr/X11R6/include -IlnInclude -I. -I/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPDebug/featureLines.o
make[3]: *** [Make/linuxGccDPDebug/createLagrangianField.o] Error 1
<command-line>: error: macro names must be identifiers
make[3]: *** [Make/linuxGccDPDebug/featureLines.o] Error 1
make[3]: Target `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/dxFoa mExec' not remade because of errors.
make[2]: *** [dxFoamExec] Error 2
make[2]: Target `application' not remade because of errors.
make[1]: *** [graphics] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [postProcessing] Error 2
make: Target `application' not remade because of errors.
-----------
There are a lot of dx-errors but I also didn't download any dx-stuff, as I haven't really used that before. I got the impression that paraview and VTK was just as good (or better) than dx, so what should I do to avoid terminating this allwmake script due to something dx-error-related ?


Regards,
M.
  Reply With Quote

Old   January 3, 2008, 18:30
Default BTW: Laurence, I don't thin
  #5
unoder
Guest
 
Posts: n/a
BTW: Laurence,

I don't think you have to update everything like I did. I think you can get past the libfinitevolume-problem by downgrading flex to 2.5.4a. However, I think its strange that some people seem to be able to compile with a never version?

To me it looks like something is deprecated in src/triSurface and that breaks linking libfinitevolume-library...

Easy solution: Try to downgrade flex. Worked for me I think, as I'm now stuck with a dx-related error I didn't see before...
  Reply With Quote

Old   January 3, 2008, 21:31
Default Hi, Martin, If you are able
  #6
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi, Martin,

If you are able to successfully install dx, could you please post your steps?

I gave up on dx stuffs. But, I am also stuck with paraview. Actually, I am not able to compile PVFoamReader.

Pei
hsieh is offline   Reply With Quote

Old   January 4, 2008, 13:17
Default Hi Pei-Y H, I downloaded op
  #7
unoder
Guest
 
Posts: n/a
Hi Pei-Y H,

I downloaded opendx. Then I found out I needed openmotif, which I then downloaded. I suppose it would be in the "openfoam"-spirit to install it in the same place as the $DXROOT environment variable points to. This is determined in ............OpenFOAM-1.4.1-dev/.OpenFOAM-1.4.1-dev/apps/bashrc (in my case). In my case I got:

martin@laptop:~> set | grep -i dxroot
DXROOT=/home/martin/OpenFOAM/linux/dx-4.4.4/dx

So after a few shots and reading I did (NB! Important: Didn't work without this line!):
setenv CXXFLAGS -fpermissive

./configure --prefix=/home/martin/OpenFOAM/linux/dx-4.4.4

Then make and make install. This works... However now I have a new problem - with paraview which is very old (I have paraview 2.4.4 which was uptodate around OF 1.3 or something like that, but the new paraview3 looks much neater).

----------------
+ cd PVFoamReader
+ mkdir -p Make/linuxGccDPDebug
+ cd Make/linuxGccDPDebug
+ cmake ../..
Warning: CMake is forcing CMAKE_CXX_COMPILER to "/home/martin/OpenFOAM/linux/gcc-4.1.1/bin/c++" to match that imported from VTK. This is required because C++ projects must use the same compiler. If this message appears for more than one imported project, you have conflicting C++ compilers and will have to re-build one of those projects. Was set to /home/martin/OpenFOAM/linux/gcc-4.2.2/bin/c++
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/utilities/postProcessing/g raphics/PVFoamReader/PVFoamReader/Make/linuxGccDPDebug
+ make
[ 14%] Building CXX object CMakeFiles/PVFoamReader.dir/vtkFoamReader.o
make[5]: /home/martin/OpenFOAM/linux/gcc-4.1.1/bin/c++: Command not found
make[5]: *** [CMakeFiles/PVFoamReader.dir/vtkFoamReader.o] Error 127
[ 28%] Building CXX object CMakeFiles/PVFoamReader.dir/vtkFoamData.o
make[5]: /home/martin/OpenFOAM/linux/gcc-4.1.1/bin/c++: Command not found
make[5]: *** [CMakeFiles/PVFoamReader.dir/vtkFoamData.o] Error 127
[ 42%] Building CXX object CMakeFiles/PVFoamReader.dir/vtkFoamReaderClientServer.o
make[5]: /home/martin/OpenFOAM/linux/gcc-4.1.1/bin/c++: Command not found
make[5]: *** [CMakeFiles/PVFoamReader.dir/vtkFoamReaderClientServer.o] Error 127
[ 57%] Building CXX object CMakeFiles/PVFoamReader.dir/vtkFoamDataClientServer.o
make[5]: /home/martin/OpenFOAM/linux/gcc-4.1.1/bin/c++: Command not found
make[5]: *** [CMakeFiles/PVFoamReader.dir/vtkFoamDataClientServer.o] Error 127
[ 71%] Building CXX object CMakeFiles/PVFoamReader.dir/PVFoamReaderInit.o
make[5]: /home/martin/OpenFOAM/linux/gcc-4.1.1/bin/c++: Command not found
make[5]: *** [CMakeFiles/PVFoamReader.dir/PVFoamReaderInit.o] Error 127
make[5]: Target `CMakeFiles/PVFoamReader.dir/build' not remade because of errors.
make[4]: *** [CMakeFiles/PVFoamReader.dir/all] Error 2
make[4]: Target `all' not remade because of errors.
make[3]: *** [all] Error 2
make[3]: Target `default_target' not remade because of errors.
make[2]: *** [PVFoamReader] Error 2
`/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug/libuserd-foam.so' is up to date.
make[2]: Target `application' not remade because of errors.
make[1]: *** [graphics] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [postProcessing] Error 2
make: Target `application' not remade because of errors.
+ '[' 0 = 1 -a '' = doc ']'
----------------

Now: I'm pretty sure I arrived at the moment where I should compile paraview 3. Right? I read something about that on the forums so obviously it complains about me having an old paraview compiled with an older compiler - while the rest of OF is compiled with the new gcc/g++ 4.2.2.

If nobody answers, I guess I'll try to compile paraview now. I'm very confident that this will solve my vtkfoam-reader problem, which is breaking the build now...

Comments / suggestions / hints from those who tried it?
  Reply With Quote

Old   January 4, 2008, 16:39
Default Hi, Martin, I use 64 bit Su
  #8
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi, Martin,

I use 64 bit SuSE 10.2. I was able to compile paraview-3.2.1 from source, but, PVFoamReader failed.

I went back to paraview-2.4.4 and recompiled from source. Installed paraview-2.4.4 without any problem. No complain from ./Allwmake. But, paraFoam failed - got segmentation default.

Pei
hsieh is offline   Reply With Quote

Old   January 4, 2008, 20:45
Default hi, thanks for that, the flex
  #9
New Member
 
Laurence Griffiths
Join Date: Mar 2009
Location: Bristol, UK
Posts: 18
Rep Power: 17
lgriffiths is on a distinguished road
hi,
thanks for that, the flex downgrade sorted out the -lfinitevolume thing.

the build stops at some problem with a foamToVTK error, although the solvers seem to have been compiled, they run okay.

does anyone know what gets compiled after foamToVTK by any chance?
lgriffiths is offline   Reply With Quote

Old   January 28, 2008, 19:28
Default Hi Laurence, --> First:
  #10
unoder
Guest
 
Posts: n/a
Hi Laurence,

--> First:

There are 2 reasons for a very very slow answer:

1) I had another project to do here in january, so I didn't got time.

2) I thought I could delete ~/OpenFOAM/linux/gcc-4.1.1 after I installed gcc-4.2.2 and needed space (DAMN)... Question to some experienced programmer: Apparantly this (deleting gcc-4.1.1) screwed up my system and I got a lot of "invalid ELF header"-errors whenever I typed in a system command. Why? To make things worser, I tried to recompile my kernel and thought it would just use the newer gcc I had installed in ~/OpenFOAM/linux/gcc-4.2.2, but then I couldn't boot my laptop at all... So I re-installed linux... Anyone know why I shouldn't delete ~/home/OpenFOAM/linux/gcc-4.1.1 when its replaced by a newer version?

--> Second:

I got pretty much everything running, including paraview 3.2.? with native openfoam-reader - and it seem to work. Though it is annoying that I think I have to copy the controldict file to controlDict.foam - is this true, anyone?

--> Third:

I want to ask somebody (more experienced than me) about: What is this java-thing Allwmake is complaining about below (see patchtool error message - this is the last small problem I got)?

How to fix the java / patchtool issue? I got:

martin@laptop:~/OpenFOAM/OpenFOAM-1.4.1-dev> which java
/home/martin/OpenFOAM/linux/jdk1.6.0_04/bin/java

But not sure if I need j2sdk or something else...


--> Fourth:

To answer your question:

Everything here is what comes after foamToVTK.... So you can judge for yourself if it is anything important....


-----------
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/foamT oVTK' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/ccm26 ToFoam' is up to date.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/foamD ataToFluent' is up to date.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/foamT oGMV' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/gambi tToFoam' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/smapT oFoam' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/polyD ualMesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/foamT oDX' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/plot3 dToFoam' is up to date.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/starT oFoam' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/tetge nToFoam' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/foamT oFieldview9' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/sammT oFoam' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/foamT oEnsight' is up to date.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/gmshT oFoam' is up to date.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/fluen t3DMeshToFoam' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/pPrim e2' is up to date.
make[3]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/mshTo Foam' is up to date.
make[3]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/write MeshObj' is up to date.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/cfxTo Foam' is up to date.
make[3]: Nothing to be done for `application'.
make[3]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/wallS hearStress' is up to date.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/liftD rag' is up to date.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/autoP atch' is up to date.
make[4]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/subse tMesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/wallG radU' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/flatt enMesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/wallH eatFlux' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/merge OrSplitBaffles' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/point Set' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/check YPlus' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/defor medGeom' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/yPlus LES' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/cellS et' is up to date.
`/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug/libuserd-foam.so' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/zipUp Mesh' is up to date.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/moveM esh' is up to date.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
+ '[' /home/martin/OpenFOAM/linux/ParaView3/lib/paraview-3.0 -a -r /home/martin/OpenFOAM/linux/ParaView3/lib/paraview-3.0 ']'
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/moveE ngineMesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/faceS et' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/dxFoa mExec' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/renum berMesh' is up to date.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/flowT ype' is up to date.
make[4]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Co' is up to date.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/uprim e' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/moveD ynamicMesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Q' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/moveD yEngineMesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/enstr ophy' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/check Mesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/strea mFunction' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/insid eCells' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/vorti city' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/tetDe composition' is up to date.
++ pwd
+ CURDIR=/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/utilities/mesh/mani pulation/setSet
+ export RL_ARCH_PATH=/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/utilities/mes h/manipulation/setSet/readline-5.0/platforms/linuxGccDPDebug
+ RL_ARCH_PATH=/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/utilities/mes h/manipulation/setSet/readline-5.0/platforms/linuxGccDPDebug
+ '[' '!' -r /home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/utilities/mesh/manipulatio n/setSet/readline-5.0/platforms/linuxGccDPDebug/lib/libreadline.so ']'
+ wmake setSet
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Mach' is up to date.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/setSe t' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/trans formPoints' is up to date.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/creat ePatch' is up to date.
+ cd Idl
+ make
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Pe' is up to date.
make[3]: Nothing to be done for `all'.
+ cd C++
+ ./Allwmake
+ case $WM_ARCH in
+ CMD='wmake libso'
+ cd FoamXServer
+ wmake libso
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Ucomp onents' is up to date.
`/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPDebug/libPatchToolServer .so' is up to date.
+ cd PatchToolServer
+ wmake
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/divU' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Patch ToolServer' is up to date.
+ cd Java
+ wmake jar
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/magU' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/Lambd a2' is up to date.
PatchTool/PatchTool.java:43: package com.sun.j3d.utils.applet does not exist
import com.sun.j3d.utils.applet.MainFrame;
^
PatchTool/PatchTool.java:44: package com.sun.j3d.utils.behaviors.vp does not exist
import com.sun.j3d.utils.behaviors.vp.*;
^
PatchTool/PatchTool.java:45: package com.sun.j3d.utils.behaviors.keyboard does not exist
import com.sun.j3d.utils.behaviors.keyboard.*;
^
PatchTool/PatchTool.java:46: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickTool;
^
PatchTool/PatchTool.java:47: package com.sun.j3d.utils.universe does not exist
import com.sun.j3d.utils.universe.*;
^
PatchTool/PatchTool.java:48: package com.sun.j3d.utils.behaviors.mouse does not exist
import com.sun.j3d.utils.behaviors.mouse.*;
^
PatchTool/PatchTool.java:49: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickResult;
^
PatchTool/PatchTool.java:51: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
PatchTool/PatchTool.java:52: package javax.vecmath does not exist
import javax.vecmath.*;
^
PatchTool/PatchTool.java:84: cannot find symbol
symbol : class SimpleUniverse
location: class PatchTool.PatchTool
private static SimpleUniverse u_ = null;
^
PatchTool/PatchTool.java:88: cannot find symbol
symbol : class Color3f
location: class PatchTool.PatchTool
public static Color3f black = new Color3f(Color.black);
^
PatchTool/PatchTool.java:89: cannot find symbol
symbol : class Color3f
location: class PatchTool.PatchTool
public static Color3f white = new Color3f(Color.white);
^
./PatchTool/Mesh/BoundaryMesh.java:37: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Mesh/BoundaryMesh.java:38: package javax.vecmath does not exist
import javax.vecmath.Point3f;
^
./PatchTool/Mesh/BoundaryMesh.java:39: package javax.vecmath does not exist
import javax.vecmath.Vector3f;
^
PatchTool/PatchTool.java:107: cannot find symbol
symbol : class BranchGroup
location: class PatchTool.PatchTool
BranchGroup scene_;
^
./PatchTool/Util/MyCanvas3D.java:32: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Util/MyCanvas3D.java:33: package javax.vecmath does not exist
import javax.vecmath.*;
^
./PatchTool/Util/MyCanvas3D.java:39: cannot find symbol
symbol: class Canvas3D
public class MyCanvas3D extends Canvas3D
^
./PatchTool/Util/PickDragBehavior.java:34: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Util/PickDragBehavior.java:35: package javax.vecmath does not exist
import javax.vecmath.*;
^
./PatchTool/Util/PickDragBehavior.java:36: package com.sun.j3d.utils.geometry does not exist
import com.sun.j3d.utils.geometry.Sphere;
^
./PatchTool/Util/PickDragBehavior.java:37: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickTool;
^
./PatchTool/Util/PickDragBehavior.java:38: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickCanvas;
^
./PatchTool/Util/PickDragBehavior.java:39: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickResult;
^
./PatchTool/Util/PickDragBehavior.java:40: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickIntersection;
^
./PatchTool/Util/PickDragBehavior.java:46: cannot find symbol
symbol: class Behavior
public class PickDragBehavior extends Behavior
^
./PatchTool/Panels/PreProcDlg.java:44: package com.sun.j3d.utils.universe does not exist
import com.sun.j3d.utils.universe.*;
^
./PatchTool/Panels/PreProcDlg.java:45: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Panels/PreProcDlg.java:46: package javax.vecmath does not exist
import javax.vecmath.*;
^
./PatchTool/Util/Colorizer.java:36: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Util/Colorizer.java:37: package javax.vecmath does not exist
import javax.vecmath.Color3f;
^
./PatchTool/Util/Colorizer.java:38: package javax.vecmath does not exist
import javax.vecmath.Point3f;
^
PatchTool/PatchTool.java:122: cannot find symbol
symbol : class Color3f
location: class PatchTool.PatchTool
Color3f bgColor3f_;
^
PatchTool/PatchTool.java:125: cannot find symbol
symbol : class Color3f
location: class PatchTool.PatchTool
Color3f fgColor3f_;
^
PatchTool/PatchTool.java:128: cannot find symbol
symbol : class Appearance
location: class PatchTool.PatchTool
Appearance polyAppearance_;
^
./PatchTool/InteractiveNodes/PatchFacesNode.java:29: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickResult;
^
./PatchTool/InteractiveNodes/PatchFacesNode.java:31: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/InteractiveNodes/PatchFacesNode.java:32: package javax.vecmath does not exist
import javax.vecmath.Color3f;
^
./PatchTool/InteractiveNodes/InteractiveNode.java:35: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/InteractiveNodes/InteractiveNode.java:36: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickResult;
^
./PatchTool/InteractiveNodes/PickLinesNode.java:29: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/InteractiveNodes/PickLinesNode.java:30: package javax.vecmath does not exist
import javax.vecmath.*;
^
./PatchTool/InteractiveNodes/PickLinesNode.java:31: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickResult;
^
./PatchTool/InteractiveNodes/PickLinesNode.java:32: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickIntersection;
^
PatchTool/PatchTool.java:137: cannot find symbol
symbol : class TransformGroup
location: class PatchTool.PatchTool
TransformGroup transformGroup_;
^
PatchTool/PatchTool.java:139: cannot find symbol
symbol : class SimpleUniverse
location: class PatchTool.PatchTool
public BranchGroup createSceneGraph(SimpleUniverse u)
^
PatchTool/PatchTool.java:139: cannot find symbol
symbol : class BranchGroup
location: class PatchTool.PatchTool
public BranchGroup createSceneGraph(SimpleUniverse u)
^
PatchTool/PatchTool.java:443: cannot find symbol
symbol : class TransformGroup
location: class PatchTool.PatchTool
public TransformGroup getScene()
^
PatchTool/PatchTool.java:451: cannot find symbol
symbol : class SimpleUniverse
location: class PatchTool.PatchTool
public SimpleUniverse getUniverse()
^
PatchTool/PatchTool.java:472: cannot find symbol
symbol : class Color3f
location: class PatchTool.PatchTool
public Color3f getBackgroundColor3f()
^
PatchTool/PatchTool.java:486: cannot find symbol
symbol : class Color3f
location: class PatchTool.PatchTool
public Color3f getForegroundColor3f()
^
PatchTool/PatchTool.java:493: cannot find symbol
symbol : class Appearance
location: class PatchTool.PatchTool
public Appearance getPolyAppearance()
^
./PatchTool/Shapes/PickableShape.java:35: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Shapes/PickableShape.java:36: package com.sun.j3d.utils.picking does not exist
import com.sun.j3d.utils.picking.PickResult;
^
PatchTool/PatchTool.java:877: cannot find symbol
symbol : class PickResult
location: class PatchTool.PatchTool
PickResult pickResult,
^
PatchTool/PatchTool.java:881: cannot find symbol
symbol : class Point3d
location: class PatchTool.PatchTool
Point3d point
^
PatchTool/PatchTool.java:914: cannot find symbol
symbol : class PickResult
location: class PatchTool.PatchTool
PickResult pickResult,
^
PatchTool/PatchTool.java:918: cannot find symbol
symbol : class Point3d
location: class PatchTool.PatchTool
Point3d point
^
PatchTool/PatchTool.java:1361: cannot find symbol
symbol : class Appearance
location: class PatchTool.PatchTool
public static Appearance createMaterialAppearance(boolean allowAll)
^
PatchTool/PatchTool.java:1450: cannot find symbol
symbol : class Appearance
location: class PatchTool.PatchTool
public static Appearance createLineAppearance(boolean allowAll)
^
PatchTool/PatchTool.java:1508: cannot find symbol
symbol : class View
location: class PatchTool.PatchTool
public static Transform3D viewAll(View view, BoundingSphere bounds)
^
PatchTool/PatchTool.java:1508: cannot find symbol
symbol : class BoundingSphere
location: class PatchTool.PatchTool
public static Transform3D viewAll(View view, BoundingSphere bounds)
^
PatchTool/PatchTool.java:1508: cannot find symbol
symbol : class Transform3D
location: class PatchTool.PatchTool
public static Transform3D viewAll(View view, BoundingSphere bounds)
^
./PatchTool/Mesh/SurfacePatch.java:34: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Mesh/SurfacePatch.java:35: package javax.vecmath does not exist
import javax.vecmath.Point3f;
^
./PatchTool/Mesh/BoundaryMesh.java:61: cannot find symbol
symbol : class Point3f
location: class PatchTool.Mesh.BoundaryMesh
Point3f[] points_;
^
./PatchTool/Mesh/BoundaryMesh.java:70: cannot find symbol
symbol : class Point3f
location: class PatchTool.Mesh.BoundaryMesh
Point3f[] featPoints_;
^
./PatchTool/Mesh/EdgeSet.java:38: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Mesh/SelectedSet.java:38: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Mesh/FaceSet.java:38: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Mesh/BoundaryMesh.java:263: cannot find symbol
symbol : class Point3f
location: class PatchTool.Mesh.BoundaryMesh
public Point3f[] getPoints()
^
./PatchTool/Mesh/BoundaryMesh.java:413: cannot find symbol
symbol : class Point3f
location: class PatchTool.Mesh.BoundaryMesh
public Point3f[] getFeaturePoints()
^
./PatchTool/Util/PickDragBehavior.java:48: cannot find symbol
symbol : class WakeupCriterion
location: class PatchTool.Util.PickDragBehavior
WakeupCriterion[] mouseEvents_;
^
./PatchTool/Util/PickDragBehavior.java:49: cannot find symbol
symbol : class WakeupOr
location: class PatchTool.Util.PickDragBehavior
WakeupOr mouseCriterion_;
^
./PatchTool/Util/PickDragBehavior.java:55: cannot find symbol
symbol : class Transform3D
location: class PatchTool.Util.PickDragBehavior
Transform3D modelTrans_ = new Transform3D();
^
./PatchTool/Util/PickDragBehavior.java:56: cannot find symbol
symbol : class Transform3D
location: class PatchTool.Util.PickDragBehavior
Transform3D transformX_ = new Transform3D();
^
./PatchTool/Util/PickDragBehavior.java:57: cannot find symbol
symbol : class Transform3D
location: class PatchTool.Util.PickDragBehavior
Transform3D transformY_ = new Transform3D();
^
./PatchTool/Util/PickDragBehavior.java:59: cannot find symbol
symbol : class Canvas3D
location: class PatchTool.Util.PickDragBehavior
Canvas3D canvas3D_;
^
./PatchTool/Util/PickDragBehavior.java:60: cannot find symbol
symbol : class BranchGroup
location: class PatchTool.Util.PickDragBehavior
BranchGroup branchGroup_;
^
./PatchTool/Util/PickDragBehavior.java:61: cannot find symbol
symbol : class TransformGroup
location: class PatchTool.Util.PickDragBehavior
TransformGroup transformGroup_;
^
./PatchTool/Util/PickDragBehavior.java:63: cannot find symbol
symbol : class PickCanvas
location: class PatchTool.Util.PickDragBehavior
PickCanvas pickCanvas_;
^
./PatchTool/Util/PickDragBehavior.java:65: cannot find symbol
symbol : class Vector3d
location: class PatchTool.Util.PickDragBehavior
Vector3d transVector_ = new Vector3d(0.0, 0.0, 0.0);
^
./PatchTool/Util/PickDragBehavior.java:69: cannot find symbol
symbol : class Canvas3D
location: class PatchTool.Util.PickDragBehavior
Canvas3D canvas3D,
^
./PatchTool/Util/PickDragBehavior.java:70: cannot find symbol
symbol : class BranchGroup
location: class PatchTool.Util.PickDragBehavior
BranchGroup branchGroup,
^
./PatchTool/Util/PickDragBehavior.java:71: cannot find symbol
symbol : class TransformGroup
location: class PatchTool.Util.PickDragBehavior
TransformGroup transformGroup
^
./PatchTool/Util/PickDragBehavior.java:318: cannot find symbol
symbol : class PickResult
location: class PatchTool.Util.PickDragBehavior
PickResult pickResult
^
./PatchTool/Util/PickDragBehavior.java:350: cannot find symbol
symbol : class PickResult
location: class PatchTool.Util.PickDragBehavior
public static int getNearestIndex(PickResult pickResult)
^
./PatchTool/Panels/PreProcPanel.java:47: package com.sun.j3d.utils.universe does not exist
import com.sun.j3d.utils.universe.*;
^
./PatchTool/Panels/PreProcPanel.java:48: package javax.media.j3d does not exist
import javax.media.j3d.*;
^
./PatchTool/Panels/PreProcPanel.java:49: package javax.vecmath does not exist
import javax.vecmath.*;
^
./PatchTool/Util/Colorizer.java:47: cannot find symbol
symbol : class Color3f
location: class PatchTool.Util.Colorizer
Color3f minColor_;
^
./PatchTool/Util/Colorizer.java:48: cannot find symbol
symbol : class Color3f
location: class PatchTool.Util.Colorizer
Color3f maxColor_;
^
./PatchTool/Util/Colorizer.java:49: cannot find symbol
symbol : class Color3f
location: class PatchTool.Util.Colorizer
Color3f[] colorMap_;
^
./PatchTool/Util/Colorizer.java:176: cannot find symbol
symbol : class Color3f
location: class PatchTool.Util.Colorizer
public void color(final float scaledValue, Color3f color)
^
./PatchTool/Util/Colorizer.java:225: cannot find symbol
symbol : class TriangleArray
location: class PatchTool.Util.Colorizer
public TriangleArray colorBar(final float min, final float max)
^
./PatchTool/InteractiveNodes/PatchFacesNode.java:42: cannot find symbol
symbol : class Switch
location: class PatchTool.InteractiveNodes.PatchFacesNode
Switch switch_;
^
./PatchTool/InteractiveNodes/PatchFacesNode.java:43: cannot find symbol
symbol : class BranchGroup
location: class PatchTool.InteractiveNodes.PatchFacesNode
BranchGroup branchGroup_;
^
./PatchTool/Shapes/PatchFaces.java:31: package com.sun.j3d.utils.geometry does not exist
import com.sun.j3d.utils.geometry.GeometryInfo;
^
./PatchTool/Shapes/PatchFaces.java:32: package com.sun.j3d.utils.geometry does not exist
import com.sun.j3d.utils.geometry.NormalGenerator;
^
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/magGr adU' is up to date.
100 errors
jar cfm ../lib/PatchTool.jar META-INF/MANIFEST.MF -C Make/classes .
make[2]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/equil ibriumFlameT' is up to date.
make[3]: Nothing to be done for `application'.
make[3]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
`../lib/PatchTool.jar' is up to date.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/rotat eMesh' is up to date.
make[2]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/equil ibriumCO' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/merge Meshes' is up to date.
make[2]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/chemk inToFoam' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/refin eMesh' is up to date.
make[2]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/adiab aticFlameT' is up to date.
make[2]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/mixtu reAdiabaticFlameT' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/stitc hMesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/creat eBaffles' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/attac hMesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/mirro rMesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/split Mesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/coupl ePatches' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/setsT oZones' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/objTo VTK' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/split MeshRegions' is up to date.
make[4]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/extru deMesh' is up to date.
make[5]: Nothing to be done for `application'.
make[5]: Nothing to be done for `application'.
make[4]: Nothing to be done for `application'.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/block Mesh' is up to date.
make[3]: `/home/martin/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPDebug/makeF aMesh' is up to date.
+ '[' 0 = 1 -a '' = doc ']'
martin@laptop:~/OpenFOAM/OpenFOAM-1.4.1-dev>

------------
  Reply With Quote

Old   January 28, 2008, 20:00
Default Yeah i think that might have b
  #11
New Member
 
Laurence Griffiths
Join Date: Mar 2009
Location: Bristol, UK
Posts: 18
Rep Power: 17
lgriffiths is on a distinguished road
Yeah i think that might have been where i went wrong too. i started deleting stuff after installing new stuff... still not sure why i cant do this either...

I will have to come back to the Debug Foam install once ive finished my research project, only 4 weeks remaining now.

You probably already have the following, but just in case:
http://openfoamwiki.net/index.php/Ti...raview3_Plugin
lgriffiths is offline   Reply With Quote

Old   January 30, 2008, 21:30
Default Ok, my java-error went away af
  #12
unoder
Guest
 
Posts: n/a
Ok, my java-error went away after getting https://java3d.dev.java.net/, which apparantly wasn't included in the original download pack from sun.

Everything works, including paraview3.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing OpenFoam141dev vtk errors cvv OpenFOAM Installation 0 February 11, 2009 03:54
Errors with surfactantFoam While Compiling OpenFOAM141dev from extends chegdan OpenFOAM Installation 1 July 3, 2008 22:10
Errors in running a icoFsiFoam case jin_xu OpenFOAM Pre-Processing 0 June 9, 2008 07:48
[OpenFOAM] Allwmake without old ParaView kar ParaView 3 May 20, 2008 13:43
Errors in allwmake kumar2 OpenFOAM Installation 10 April 3, 2006 09:15


All times are GMT -4. The time now is 22:04.