由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - g++ compilation problem in linux
相关主题
Python problem on 64 bit LinuxCompiler
C array*** help needed! on MATLAB GUI ***
A C++ compiler related interview questionHow to tell gcc stop compiling.
IDL一问inheritence problem
[合集] C 编程error求教!A tech question (转载)
问个小问题:MAC下的intel fortran compiler命令是啥An interesting C++ compile error
perl eval and if谁来解释一下这个是compiler问题吗?
Qt Creator关于Makefile的一个问题
相关话题的讨论汇总
话题: when话题: fs4话题: gpfs话题: ctf话题: linux
进入Programming版参与讨论
1 (共1页)
j****i
发帖数: 305
1
When I compile using g++, it does not report any errors, but no target is
generated either.
When I ran the following command in my Mac, it compiles and everything is
good:
g++ -O3 -L/usr/local/lib -L/gpfs/fs4/home/lcgonzal/boost/lib -L../../../ -I
../../.. -I/gpfs/fs4/home/lcgonzal/boost/include test_ctf.cpp -o bin/test_
ctf -lgonzal
But the same command does not generate the bin/test_ctf executable at all in
linux.
When I put the -v option like this:
g++ -O3 -L/usr/local/lib -L/gpfs/fs4/home
r****t
发帖数: 10904
2
This line says your problem:
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../..
/../../x86_64-redhat-linux/include"
and it tried to look for your include files and failed.
1 (共1页)
进入Programming版参与讨论
相关主题
关于Makefile的一个问题[合集] C 编程error求教!
这句话是为什么呢?问个小问题:MAC下的intel fortran compiler命令是啥
spent a lot of time try to compile boostperl eval and if
一个qt3在Windows上的问题Qt Creator
Python problem on 64 bit LinuxCompiler
C array*** help needed! on MATLAB GUI ***
A C++ compiler related interview questionHow to tell gcc stop compiling.
IDL一问inheritence problem
相关话题的讨论汇总
话题: when话题: fs4话题: gpfs话题: ctf话题: linux