Compilation problems with rev: 1013
Moderator: Community Managers
Compilation problems with rev: 1013
Hello,
I use Debian7.5 system with mysql5.1 server and GCC 4.4.7
I take svn source but !
I can't compil this version , and i don't understand this error.
Someone can help me ?
I use Debian7.5 system with mysql5.1 server and GCC 4.4.7
I take svn source but !
I can't compil this version , and i don't understand this error.
Code: Select all
ks21817:/home/vanguard/vgoemu/trunk/src/world# make
g++ -c `mysql_config --cflags` -march=native -pipe -O -pthread -std=c++0x -Wall -g -Wno-reorder -DVG_WORLD -DVG_DEBUG -D_GNU_SOURCE ../common/Database.cpp -o ../common/Database.o
In file included from ../common/Database.cpp:36:
../common/Util.h:48:18: error: atomic: Aucun fichier ou dossier de ce type
make: *** [../common/Database.o] Error 1
Re: Compilation problems with rev: 1013
My french is quite rusty but it can't find atomic which is a c++11 feature, and the Vanguard server emulator require c++11.
GCC 4.4.7 does not have c++11 support, that was added in version 4.7.
GCC 4.4.7 does not have c++11 support, that was added in version 4.7.
- John Adams
- Retired
- Posts: 4581
- Joined: Wed Aug 28, 2013 9:40 am
- Location: Phoenix, AZ.
- Contact:
Re: Compilation problems with rev: 1013
Hello Belfedia, my old EQ2Emu tester friend
Yes, Kandra is correct - must use gcc 4.8+ for VGOEmulator. Looks like I need to make some updates to the Linux Wiki. Thanks for the reminder.
Yes, Kandra is correct - must use gcc 4.8+ for VGOEmulator. Looks like I need to make some updates to the Linux Wiki. Thanks for the reminder.
vgodev@vgodev:~$ gcc --version gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Re: Compilation problems with rev: 1013
Your french is perhaps rusty, but not your Gcc skill
I upgrade gcc to 4.7 and error is gone
I found a new error but a ' apt-get install libreadline-dev' repair it
and 'Finished building world.' coming !
Thanks to help
I upgrade gcc to 4.7 and error is gone
I found a new error but a ' apt-get install libreadline-dev' repair it
and 'Finished building world.' coming !
Thanks to help
Re: Compilation problems with rev: 1013
[quote="John Adams"]Hello Belfedia, my old EQ2Emu tester friend [/quote]
hello John Adams, i follow you on all your server emulation
I'm a very big vanguard's fan, i played long time on european server.
Another time, running on telorn's kingdom is my new dream
hello John Adams, i follow you on all your server emulation
I'm a very big vanguard's fan, i played long time on european server.
Another time, running on telorn's kingdom is my new dream
- John Adams
- Retired
- Posts: 4581
- Joined: Wed Aug 28, 2013 9:40 am
- Location: Phoenix, AZ.
- Contact:
Re: Compilation problems with rev: 1013
Very good. The server called "Apocalypse" is run from France, too! I hope to get the public code/db updated this weekend, but it will likely be next. Looking forward to seeing your server on the list.
Re: Compilation problems with rev: 1013
[quote="John Adams"]Very good. The server called "Apocalypse" is run from France, too! I hope to get the public code/db updated this weekend, but it will likely be next. Looking forward to seeing your server on the list.[/quote]
I know "apocalypse" it was a hardcore gamer guild on my server
Where i can find current emulator version, i see they are in 0.3 ?
Wiki is'nt up to date, i Have problems to send player on my world...
Create char fill my database, but client can't read it, all ports are correct in wiki ? I can't log in.
I know "apocalypse" it was a hardcore gamer guild on my server
Where i can find current emulator version, i see they are in 0.3 ?
Wiki is'nt up to date, i Have problems to send player on my world...
Create char fill my database, but client can't read it, all ports are correct in wiki ? I can't log in.
- John Adams
- Retired
- Posts: 4581
- Joined: Wed Aug 28, 2013 9:40 am
- Location: Phoenix, AZ.
- Contact:
Re: Compilation problems with rev: 1013
The Wiki should be correct, and the code on Public SVN should be 0.2 release and stable. Check your firewalls and ports again. I just tried to make a toon on your server, and am Waiting on Data. Post your vgemu-world.xml (minus passwords) for us to see, too.
Could just be the externalIp setting as well.
Could just be the externalIp setting as well.
Re: Compilation problems with rev: 1013
Code: Select all
<vgoemu>
<!-- World Server config
host: This is your internal IP (e.g. localhost, 127.0.0.1, 192.168.x.x, etc).
This may be your external IP address if you are not using a router or your router
will resolve your external IP address from within your network.
externalIp: This is your external IP. This may be left blank if you do not care about outside
connections or if 'host' is set to your external IP.
port: The port your world will listen on. This shouldn't change until we know if this is dynamic.
name: The world name you registered with on the website.
account: The world account name you registered with on the website.
password: The world account's password you registered with on the webste.
-->
<worldserver
host="localhost"
externalIp="86.70.151.84"
port="10100"
name="Froggy French Server Test"
account="xxxxx"
password="xxxxx"
/>
<!-- This is the host and port world will connect to the login server on -->
<loginserver host="login.vgoemulator.net" port="10102" />
<!-- Patch Server config
host : This is the IP/FQDN of the PatchServer service
port : The port used to connect to the PatchServer service
updatetables : Table Updates are changes to the DB Schema (non-data)
: "ask" will ask before applying each update
: "always" will apply each update without asking
: "false" turns off auto updates
updatedata : Data Updates are the content of tables (non-schema)
verbose : "true" shows full SQL query being applied
Note: For now, patching is disabled because the patchserver is incomplete!
-->
<patchserver host="login.vgoemulator.net" port="10110" updatetables="never" updatedata="false" verbose="false" />
<!-- Credentials to use to connect to the MySQL server -->
<database host="localhost" port="3306" user="xxxxx" password="xxxxx" database="vanguard" />
<!-- Logging -->
Code: Select all
Website : http://vgoemulator.net
SVN : http://svn.vgoemulator.net/svn/vgoemulator
22:31:51.008 I General Starting VGOEmulator WorldServer v0.2 Alpha
22:31:51.010 I Database MySQL database connected to localhost:3306
22:31:51.026 I Config Successfully loaded 602 packet structs.
22:31:51.027 D Rules Loaded 1 Rule Sets
22:31:51.042 I Database Successfully loaded 259 attributes.
22:31:51.043 I Database Successfully loaded 360 skill pools.
22:31:51.045 I Database Successfully loaded 388 character titles.
22:31:51.079 I Database Successfully loaded 601 factions.
22:31:57.925 I Database Successfully loaded 35431 items.
22:31:57.930 I Database Successfully loaded 4 variables.
22:31:57.930 D Spawn Loading All Spawns
22:31:58.205 D Spawn Loaded 23629 NPCs/Actors.
22:31:58.890 D Spawn Loaded 180755 Placements.
22:31:59.720 D Spawn Loaded 181152 NPC Entries.
22:31:59.732 D Spawn Loaded 1365 Music.
22:31:59.748 D Spawn Loaded 1991 Sounds.
22:31:59.809 D Spawn Loaded 14168 PPOs.
22:31:59.810 D Spawn Loaded 15 Movers.
22:31:59.810 D Spawn Loaded 0 Vehicles [Not Implemented - Fill in Stubs].
22:31:59.810 I Database Successfully loaded 56 commands.
22:31:59.811 I LUA Successfully loaded 2 spawn scripts.
22:31:59.811 I LUA Successfully loaded 0 chunk scripts.
22:31:59.811 D Char Setting all players offline
22:31:59.910 I Database Successfully loaded 123 emotes.
22:32:00.217 I Database Successfully loaded 3086 character abilities.
22:32:00.218 I Database Successfully loaded 119 combat forms.
22:32:00.219 I Net Server listening on 127.0.0.1:10100
22:32:00.458 I Net Connected to login server login.vgoemulator.net:10102
Char is write to mysql database, but client can't read data ???
Code: Select all
ACCEPT all $FW udp 10100:10101
ACCEPT all $FW udp 10194:10300
ACCEPT all $FW tcp 10102
- John Adams
- Retired
- Posts: 4581
- Joined: Wed Aug 28, 2013 9:40 am
- Location: Phoenix, AZ.
- Contact:
Re: Compilation problems with rev: 1013
WorldServer: host="localhost"
This is incorrect. Must be the LAN IP if you want outside connections to bind to it.
Database can stay localhost.
This is incorrect. Must be the LAN IP if you want outside connections to bind to it.
Database can stay localhost.