Error Linking....

Questions or HOWTOs about the above? Post 'em here...
Post Reply
Teeed
Private First Class
Private First Class
Posts: 9
Joined: Sat Jul 30, 2005 4:36 pm
Location: Poland

Error Linking....

Post by Teeed » Sun Jan 06, 2008 2:19 pm

I tried to compile bzlag 2.0.10 with the newest Dev-c++ (gcc) on windows..
I have downloaded many librares, to make it compilable...
Everything goes good, but...

Code: Select all

g++.exe ../Dev-C++/ActionBinding.o ../Dev-C++/BackgroundRenderer.o ../Dev-C++/bzflag.o ../Dev-C++/callbacks.o ../Dev-C++/ControlPanel.o ../Dev-C++/daylight.o ../Dev-C++/HUDRenderer.o ../Dev-C++/HUDui.o ../Dev-C++/LocalPlayer.o ../Dev-C++/MainWindow.o ../Dev-C++/Player.o ../Dev-C++/playing.o ../Dev-C++/RadarRenderer.o ../Dev-C++/Region.o ../Dev-C++/RemotePlayer.o ../Dev-C++/RobotPlayer.o ../Dev-C++/SceneBuilder.o ../Dev-C++/SceneRenderer.o ../Dev-C++/ServerLink.o ../Dev-C++/ShotPath.o ../Dev-C++/ShotStrategy.o ../Dev-C++/sound.o ../Dev-C++/TargetingUtils.o ../Dev-C++/World.o ../Dev-C++/WorldPlayer.o ../Dev-C++/WordFilter.o ../Dev-C++/Bundle.o ../Dev-C++/BundleMgr.o ../Dev-C++/BZDBCache.o ../Dev-C++/bzfio.o ../Dev-C++/bzsignal.o ../Dev-C++/CommandManager.o ../Dev-C++/ConfigFileManager.o ../Dev-C++/ErrorHandler.o ../Dev-C++/FileManager.o ../Dev-C++/Flag.o ../Dev-C++/global.o ../Dev-C++/KeyManager.o ../Dev-C++/md5.o ../Dev-C++/PlayerState.o ../Dev-C++/ShotUpdate.o ../Dev-C++/StateDatabase.o ../Dev-C++/Team.o ../Dev-C++/TimeBomb.o ../Dev-C++/TimeKeeper.o ../Dev-C++/VotingBooth.o ../Dev-C++/Ping.o ../Dev-C++/Address.o ../Dev-C++/multicast.o ../Dev-C++/network.o ../Dev-C++/Pack.o ../Dev-C++/buildDate.o ../Dev-C++/ZSceneDatabase.o ../Dev-C++/BSPSceneDatabase.o ../Dev-C++/SceneDatabase.o ../Dev-C++/RenderNode.o ../Dev-C++/OpenGLDisplayList.o ../Dev-C++/OpenGLGState.o ../Dev-C++/OpenGLLight.o ../Dev-C++/OpenGLMaterial.o ../Dev-C++/OpenGLTexture.o ../Dev-C++/BaseBuilding.o ../Dev-C++/BoxBuilding.o ../Dev-C++/Obstacle.o ../Dev-C++/PyramidBuilding.o ../Dev-C++/Teleporter.o ../Dev-C++/WallObstacle.o ../Dev-C++/BzfDisplay.o ../Dev-C++/BzfMedia.o ../Dev-C++/BzfVisual.o ../Dev-C++/BzfWindow.o ../Dev-C++/WaveAudioFile.o ../Dev-C++/ImageFile.o ../Dev-C++/MediaFile.o ../Dev-C++/PNGImageFile.o ../Dev-C++/SGIImageFile.o ../Dev-C++/LaserSceneNode.o ../Dev-C++/FlagSceneNode.o ../Dev-C++/BillboardSceneNode.o ../Dev-C++/BoltSceneNode.o ../Dev-C++/uncompr.o ../Dev-C++/zutil.o ../Dev-C++/adler32.o ../Dev-C++/compress.o ../Dev-C++/crc32.o ../Dev-C++/deflate.o ../Dev-C++/gzio.o ../Dev-C++/inffast.o ../Dev-C++/inflate.o ../Dev-C++/inftrees.o ../Dev-C++/trees.o ../Dev-C++/WallSceneNode.o ../Dev-C++/TankSceneNode.o ../Dev-C++/wave.o ../Dev-C++/EighthDBaseSceneNode.o ../Dev-C++/EighthDBoxSceneNode.o ../Dev-C++/EighthDimSceneNode.o ../Dev-C++/EighthDPyrSceneNode.o ../Dev-C++/FlagWarpSceneNode.o ../Dev-C++/PolyWallSceneNode.o ../Dev-C++/PTSceneNode.o ../Dev-C++/QuadWallSceneNode.o ../Dev-C++/SceneNode.o ../Dev-C++/ShellSceneNode.o ../Dev-C++/SphereSceneNode.o ../Dev-C++/TracerSceneNode.o ../Dev-C++/TriWallSceneNode.o ../Dev-C++/ViewFrustum.o ../Dev-C++/PlatformFactory.o ../Dev-C++/medium_turret.o ../Dev-C++/high_barrel.o ../Dev-C++/high_body.o ../Dev-C++/high_ltread.o ../Dev-C++/high_rtread.o ../Dev-C++/high_turret.o ../Dev-C++/low_barrel.o ../Dev-C++/low_body.o ../Dev-C++/low_ltread.o ../Dev-C++/low_rtread.o ../Dev-C++/low_turret.o ../Dev-C++/medium_barrel.o ../Dev-C++/medium_body.o ../Dev-C++/medium_ltread.o ../Dev-C++/medium_rtread.o ../Dev-C++/AudioMenu.o ../Dev-C++/AutoPilot.o ../Dev-C++/BaseLocalPlayer.o ../Dev-C++/clientCommands.o ../Dev-C++/ComposeDefaultKey.o ../Dev-C++/DisplayMenu.o ../Dev-C++/FlashClock.o ../Dev-C++/FormatMenu.o ../Dev-C++/GuidedMissleStrategy.o ../Dev-C++/GUIOptionsMenu.o ../Dev-C++/HelpMenu.o ../Dev-C++/HUDDialogStack.o ../Dev-C++/InputMenu.o ../Dev-C++/JoinMenu.o ../Dev-C++/KeyboardMapMenu.o ../Dev-C++/MainMenu.o ../Dev-C++/MenuDefaultKey.o ../Dev-C++/OptionsMenu.o ../Dev-C++/QuickKeysMenu.o ../Dev-C++/QuitMenu.o ../Dev-C++/RegionPriorityQueue.o ../Dev-C++/Roster.o ../Dev-C++/SaveWorldMenu.o ../Dev-C++/SegmentedShotStrategy.o ../Dev-C++/ServerCommandKey.o ../Dev-C++/ServerMenu.o ../Dev-C++/ServerStartMenu.o ../Dev-C++/ShockWaveStrategy.o ../Dev-C++/ShotPathSegment.o ../Dev-C++/SilenceDefaultKey.o ../Dev-C++/stars.o ../Dev-C++/WorldBuilder.o ../Dev-C++/TextureManager.o ../Dev-C++/DirectoryNames.o ../Dev-C++/CommandsStandard.o ../Dev-C++/WallSceneNodeGenerator.o ../Dev-C++/BaseSceneNodeGenerator.o ../Dev-C++/BoxSceneNodeGenerator.o ../Dev-C++/EmptySceneNodeGenerator.o ../Dev-C++/ObstacleSceneNodeGenerator.o ../Dev-C++/PyramidSceneNodeGenerator.o ../Dev-C++/TeleporterSceneNodeGenerator.o ../Dev-C++/AudioFile.o ../Dev-C++/BzfJoystick.o ../Dev-C++/HUDDialog.o ../Dev-C++/FontManager.o ../Dev-C++/TextureFont.o ../Dev-C++/OSFile.o ../Dev-C++/HUDuiTypeIn.o ../Dev-C++/HUDuiControl.o ../Dev-C++/HUDuiDefaultKey.o ../Dev-C++/HUDuiLabel.o ../Dev-C++/HUDuiList.o ../Dev-C++/HUDuiTextureLabel.o ../Dev-C++/CollisionManager.o ../Dev-C++/Ray.o ../Dev-C++/Octree.o ../Dev-C++/VotingArbiter.o ../Dev-C++/Frustum.o ../Dev-C++/Intersect.o ../Dev-C++/LagInfo.o ../Dev-C++/NetHandler.o ../Dev-C++/PlayerInfo.o ../Dev-C++/regcomp.o ../Dev-C++/regerror.o ../Dev-C++/regexec.o ../Dev-C++/regfree.o ../Dev-C++/Occluder.o ../Dev-C++/SDLPlatformFactory.o ../Dev-C++/SDLDisplay.o ../Dev-C++/SDLJoystick.o ../Dev-C++/SDLMedia.o ../Dev-C++/TetraBuilding.o ../Dev-C++/ShotStats.o ../Dev-C++/ShotStatsDefaultKey.o ../Dev-C++/ShotStatistics.o ../Dev-C++/MeshPolySceneNode.o ../Dev-C++/MeshFace.o ../Dev-C++/MeshObstacle.o ../Dev-C++/MeshSceneNodeGenerator.o ../Dev-C++/DynamicColor.o ../Dev-C++/TextureMatrix.o ../Dev-C++/ForceFeedback.o ../Dev-C++/motd.o ../Dev-C++/ClientAuthentication.o ../Dev-C++/LoginMenu.o ../Dev-C++/AnimatedTreads.o ../Dev-C++/TankGeometryMgr.o ../Dev-C++/TextUtils.o ../Dev-C++/AutoCompleter.o ../Dev-C++/BzMaterial.o ../Dev-C++/SphereObstacle.o ../Dev-C++/ArcObstacle.o ../Dev-C++/ConeObstacle.o ../Dev-C++/MeshFragSceneNode.o ../Dev-C++/PhysicsDriver.o ../Dev-C++/WeatherRenderer.o ../Dev-C++/ParseColor.o ../Dev-C++/TrackMarks.o ../Dev-C++/RoofTops.o ../Dev-C++/EighthDimShellNode.o ../Dev-C++/EffectsMenu.o ../Dev-C++/MeshTransform.o ../Dev-C++/ObstacleList.o ../Dev-C++/ObstacleMgr.o ../Dev-C++/ObstacleModifier.o ../Dev-C++/ServerListCache.o ../Dev-C++/ServerList.o ../Dev-C++/StartupInfo.o ../Dev-C++/ServerItem.o ../Dev-C++/EntryZone.o ../Dev-C++/Weapon.o ../Dev-C++/LinkManager.o ../Dev-C++/Plan.o ../Dev-C++/ImageFont.o ../Dev-C++/BitmapFont.o ../Dev-C++/Downloads.o ../Dev-C++/AccessList.o ../Dev-C++/bzglob.o ../Dev-C++/CacheMenu.o ../Dev-C++/CacheManager.o ../Dev-C++/ares_init.o ../Dev-C++/ares_mkquery.o ../Dev-C++/ares_parse_a_reply.o ../Dev-C++/ares_parse_ptr_reply.o ../Dev-C++/ares_query.o ../Dev-C++/ares_search.o ../Dev-C++/ares_send.o ../Dev-C++/ares_strerror.o ../Dev-C++/ares_timeout.o ../Dev-C++/ares_version.o ../Dev-C++/windows_port.o ../Dev-C++/ares__close_sockets.o ../Dev-C++/ares__get_hostent.o ../Dev-C++/ares__read_line.o ../Dev-C++/ares_cancel.o ../Dev-C++/ares_destroy.o ../Dev-C++/ares_expand_name.o ../Dev-C++/ares_expand_string.o ../Dev-C++/ares_fds.o ../Dev-C++/ares_free_hostent.o ../Dev-C++/ares_free_string.o ../Dev-C++/ares_gethostbyaddr.o ../Dev-C++/ares_gethostbyname.o ../Dev-C++/AresHandler.o ../Dev-C++/cURLManager.o ../Dev-C++/MsgStrings.o ../Dev-C++/ares_process.o ../Dev-C++/ScoreboardRenderer.o ../Dev-C++/effectsRenderer.o ../Dev-C++/LocalCommand.o ../Dev-C++/clientConfig.o ../Dev-C++/Triangulate.o ../Dev-C++/MeshDrawInfo.o ../Dev-C++/GameTime.o ../Dev-C++/MeshSceneNode.o ../Dev-C++/MeshDrawMgr.o ../Dev-C++/MeshRenderNode.o ../Dev-C++/OccluderSceneNode.o ../Dev-C++/defaultBZDB.o ../Dev-C++/Roaming.o ../Dev-C++/NewVersionMenu.o ../Dev-C++/BZDBLocal.o ../Dev-C++/bzflag_private.res -o "..\src\bzflag\bzflag.exe" -L"C:/Dev-Cpp/lib" -mwindows -lmingw32 -lstdc++ -lsdlmain -lsdl -lcurl -lws2_32 -ldsound -lwinmm -lglu32 -lopengl32 -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32  -fmessage-length=0 -s 

../Dev-C++/cURLManager.o(.text+0x1dd):cURLManager.cxx: undefined reference to `_imp__curl_easy_init'
../Dev-C++/cURLManager.o(.text+0x235):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x280):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x2cb):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x316):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x369):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x3bb):cURLManager.cxx: more undefined references to `_imp__curl_easy_setopt' follow
../Dev-C++/cURLManager.o(.text+0x5c5):cURLManager.cxx: undefined reference to `_imp__curl_easy_init'
../Dev-C++/cURLManager.o(.text+0x61d):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x668):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x6b3):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x6fe):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x751):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x7a3):cURLManager.cxx: more undefined references to `_imp__curl_easy_setopt' follow
../Dev-C++/cURLManager.o(.text+0x950):cURLManager.cxx: undefined reference to `_imp__curl_easy_cleanup'
../Dev-C++/cURLManager.o(.text+0xb2c):cURLManager.cxx: undefined reference to `_imp__curl_easy_cleanup'
../Dev-C++/cURLManager.o(.text+0xd08):cURLManager.cxx: undefined reference to `_imp__curl_easy_cleanup'
../Dev-C++/cURLManager.o(.text+0xe6b):cURLManager.cxx: undefined reference to `_imp__curl_version'
../Dev-C++/cURLManager.o(.text+0xe91):cURLManager.cxx: undefined reference to `_imp__curl_global_init'
../Dev-C++/cURLManager.o(.text+0xec5):cURLManager.cxx: undefined reference to `_imp__curl_multi_init'
../Dev-C++/cURLManager.o(.text+0xf51):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0xf9d):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0xfe8):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x1042):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x109c):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x110f):cURLManager.cxx: more undefined references to `_imp__curl_easy_setopt' follow
../Dev-C++/cURLManager.o(.text+0x1493):cURLManager.cxx: undefined reference to `_imp__curl_multi_add_handle'
../Dev-C++/cURLManager.o(.text+0x14f2):cURLManager.cxx: undefined reference to `_imp__curl_multi_remove_handle'
../Dev-C++/cURLManager.o(.text+0x15c6):cURLManager.cxx: undefined reference to `_imp__curl_easy_perform'
../Dev-C++/cURLManager.o(.text+0x162c):cURLManager.cxx: undefined reference to `_imp__curl_multi_fdset'
../Dev-C++/cURLManager.o(.text+0x16a2):cURLManager.cxx: undefined reference to `_imp__curl_multi_perform'
../Dev-C++/cURLManager.o(.text+0x16ea):cURLManager.cxx: undefined reference to `_imp__curl_multi_info_read'
../Dev-C++/cURLManager.o(.text+0x1794):cURLManager.cxx: undefined reference to `_imp__curl_formfree'
../Dev-C++/cURLManager.o(.text+0x1837):cURLManager.cxx: undefined reference to `_imp__curl_easy_getinfo'
../Dev-C++/cURLManager.o(.text+0x18a5):cURLManager.cxx: undefined reference to `_imp__curl_easy_getinfo'

../Dev-C++/cURLManager.o(.text+0x1923):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x1978):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x19c5):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x1a39):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x1aad):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
../Dev-C++/cURLManager.o(.text+0x1b39):cURLManager.cxx: undefined reference to `_imp__curl_formadd'
../Dev-C++/cURLManager.o(.text+0x1b8d):cURLManager.cxx: undefined reference to `_imp__curl_easy_setopt'
collect2: ld returned 1 exit status

make.exe: *** [../src/bzflag/bzflag.exe] Error 1

Wykonanie zakończone
I have 'googled', i tried many posibilites, but nothing was perfect :/
Does anybody know, what is going on?

Code: Select all

<php>3;$l++) echo "e";
echo "d";
?>

User avatar
blast
General
General
Posts: 4751
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast » Sun Jan 06, 2008 4:51 pm

Dev-Cpp is no longer supported. I would recommend you use Microsoft Visual C++ Express.

But, from the look of your output, your curl library isn't being found.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Teeed
Private First Class
Private First Class
Posts: 9
Joined: Sat Jul 30, 2005 4:36 pm
Location: Poland

Post by Teeed » Sun Jan 06, 2008 5:53 pm

but i have installed it...
it is not supported? so why there is a "Dev-C++" dir with a project?

Code: Select all

<php>3;$l++) echo "e";
echo "d";
?>

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5182
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Sun Jan 06, 2008 6:05 pm

because someone added it but stoped updating it.

we removed it from the current source code (2.99.x), it was just still in the branch that 2.0.10 was built from.

you may have it "installed" but devC++ doesn't know where curl is.

User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak » Sun Jan 06, 2008 6:44 pm

The Dev-C++ project exists and is technically supported in 2.0.10. If you have everything set up correctly, it should work. But, you're not likely to get too much help, because none of the active developers have it set up.

Teeed
Private First Class
Private First Class
Posts: 9
Joined: Sat Jul 30, 2005 4:36 pm
Location: Poland

Post by Teeed » Sun Jan 06, 2008 7:23 pm

okay...
i have installed Microsoft Visual C++
can anybody give me instruction how compile it at MVC++??
(i used to Dev-C++) on this i'm, lost ;/

Code: Select all

<php>3;$l++) echo "e";
echo "d";
?>

User avatar
blast
General
General
Posts: 4751
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast » Sun Jan 06, 2008 7:37 pm

Teeed wrote:okay...
i have installed Microsoft Visual C++
can anybody give me instruction how compile it at MVC++??
(i used to Dev-C++) on this i'm, lost ;/
Read the README.Win32 file.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Teeed
Private First Class
Private First Class
Posts: 9
Joined: Sat Jul 30, 2005 4:36 pm
Location: Poland

Post by Teeed » Sun Jan 06, 2008 7:37 pm

okay i have but i dont have project file ;/

Code: Select all

<php>3;$l++) echo "e";
echo "d";
?>

User avatar
blast
General
General
Posts: 4751
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast » Sun Jan 06, 2008 7:50 pm

Teeed wrote:okay i have but i dont have project file ;/
Yes you do. ./win32/VC8/bzflag.sln
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5182
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Sun Jan 06, 2008 7:50 pm

in 2.0.10 the projects are located in the win32 dir, VC71 is for Visual C++ 2003, VC8 is for Visual C++ 2005/2008 ( you'll have to upgrade the project for 2008 ).

in trunk ( 2.99.x ) the projects are located in the MSVC dir ( there is now a VC9 dir with native 2008 projects).

you will need the windows platform SDK and the direct X SDK ( use the one from april, not november ).

2008 is very new, we have done very little testing on it. I would highly recommend using Visual C++ 2005 express edition.

Post Reply